Skip to content

Commit

Permalink
Merge pull request #15 from dinfcll/dv_AjoutDesRestrictionsChampsPhotos
Browse files Browse the repository at this point in the history
le champs accepte seulement les.jpg .png et .jpeg
  • Loading branch information
xxdomxx committed Oct 31, 2014
2 parents a3e1ba4 + 14c542b commit 9305ba4
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PhotoFun/Views/Home/Importer.cshtml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@{
ViewBag.Title = "Importer";
}
@using (Html.BeginForm("Upload", "Importer", FormMethod.Post, new { enctype = "multipart/form-data" }))
@using (Html.BeginForm("Upload", "Importer", FormMethod.Post, new { enctype = "multipart/form-data"}))
{
<div class="page-header">
<h1>Importer des photos</h1>
</div>
<input class="btnchoisirfich" type="file" name="file" />
<input class="btnchoisirfich" type="file" name="file" accept=".jpg,.png,.jpeg"/>
<input type="submit" name="SubImporter" value="Importer"/>

<h3 class="sub-header">Cat&eacute;gorie</h3>
Expand Down
2 changes: 1 addition & 1 deletion PhotoFun/Views/Importer/TransfertEchoue.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<br /><br />
<span>-Vous n'avez pas sélectionné de fichier</span>
<br />
<span>-Le fichier choisi n'est pas supporté (.jpg ou .png uniquement)</span>
<span>-Le fichier choisi n'est pas supporté (.jpg ou .png ou .jpeg uniquement)</span>
<br/>
<span>Cliquez ici pour retourner à la page @Html.ActionLink("importer", "Importer", "Home")</span>
<br /><br />
Expand Down
Binary file modified PhotoFun/bin/PhotoFun.dll
Binary file not shown.
Binary file modified PhotoFun/bin/PhotoFun.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PhotoFun/obj/Debug/PhotoFun.dll
Binary file not shown.
Binary file modified PhotoFun/obj/Debug/PhotoFun.pdb
Binary file not shown.
Binary file modified TestPhotoFun/bin/Debug/PhotoFun.dll
Binary file not shown.
Binary file modified TestPhotoFun/bin/Debug/PhotoFun.pdb
Binary file not shown.
Binary file modified TestPhotoFun/bin/Debug/TestPhotoFun.dll
Binary file not shown.
Binary file modified TestPhotoFun/bin/Debug/TestPhotoFun.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified TestPhotoFun/obj/Debug/TestPhotoFun.dll
Binary file not shown.
Binary file modified TestPhotoFun/obj/Debug/TestPhotoFun.pdb
Binary file not shown.

0 comments on commit 9305ba4

Please sign in to comment.