Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/16 17:13:50 (8 years ago)
Author:
jlodewyc
Message:

#2582 Parameter changing busy, save file, download file and email on pass reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/UploaderPartial/_UploaderPartial.cshtml

    r13741 r13827  
    44                        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);">
    55
    6     <form method="post"
    7           asp-action="Uploader"
    8           asp-controller="Job" enctype="multipart/form-data">
    9         <input onchange="printFiles()"
    10                type="file"
    11                id="files"
    12                name="files"
    13                multiple accept=".hl"
    14                style="display:none" />
    156
    16         <div onclick="firefilebutton()"
    17              class="btn btn-info btn-lg btn-block"
    18              style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    19                             text-shadow:1px 1px black;">
    20             <i class="fa fa-folder-open-o"></i> Choose file(s) to upload to the server
    21         </div>
     7        <form method="post"
     8               asp-action="Uploader"
     9               asp-controller="Job" enctype="multipart/form-data">
     10             <input onchange="printFiles()"
     11                    type="file"
     12                    id="files"
     13                    name="files"
     14                    multiple accept=".hl"
     15                    style="display:none" />
    2216
    23         <div class="row" style="margin:10px">
     17             <div onclick="firefilebutton()"
     18                  class="btn btn-info btn-lg btn-block"
     19                  style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     20                                 text-shadow:1px 1px black;">
     21                 <i class="fa fa-folder-open-o"></i> Choose file(s) to upload to the server
     22             </div>
    2423
    25             <div id="selectedfiles">
    26             <h3>Files</h3>
    27             <p>No files selected: press the above button to choose files</p>
    28             </div>
     24             <div class="row" style="margin:10px">
    2925
    30             <button style="margin-bottom:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    31                             text-shadow:2px 2px black;"
    32                  type="button"
    33                     disabled
    34                  id="del"
    35                  class='btn btn-danger'
    36                  onclick='deletefiles()'>
    37                 <span class='glyphicon glyphicon-trash' aria-hidden='true'></span>
    38                 Remove files
    39             </button>
     26                 <div id="selectedfiles">
     27                 <h3>Files</h3>
     28                 <p>No files selected: press the above button to choose files</p>
     29                 </div>
    4030
    41             <div
    42                  style="margin-top:20px;margin-bottom:20px">
     31                 <button style="margin-bottom:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     32                                 text-shadow:2px 2px black;"
     33                      type="button"
     34                         disabled
     35                      id="del"
     36                      class='btn btn-danger'
     37                      onclick='deletefiles()'>
     38                     <span class='glyphicon glyphicon-trash' aria-hidden='true'></span>
     39                     Remove files
     40                 </button>
    4341
    44                 <label for="basic-url">Directory name</label>
    45                 <div class="input-group">
    46                     <span class="input-group-addon"
    47                           id="basic-addon3">
    48                         .../uploads/@ViewBag.Name
    49                     </span>
    50                     <input
    51                            type="text"
    52                            disabled
    53                            class="form-control"
    54                            id="directory"
    55                            name="directory"
    56                            aria-describedby="basic-addon3"
    57                            value="@(DateTime.Now.ToString("yyyy.MM.dd"))" />
    58                 </div>
    59             </div>
    60             <button style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    61                             text-shadow:2px 2px black;"
    62                    disabled
    63                     id="upl"
    64                    class="btn btn-lg btn-block btn-success"
    65                    type="submit"
    66                     >
    67                 <i class="fa fa-plus-square"></i> Add to uploads
    68                 </button>
    69         </div>
     42                 <div
     43                      style="margin-top:20px;margin-bottom:20px">
     44
     45                     <label for="basic-url">Directory name</label>
     46                     <div class="input-group">
     47                         <span class="input-group-addon"
     48                               id="basic-addon3">
     49                             .../uploads/@ViewBag.Name
     50                         </span>
     51                         <input
     52                                type="text"
     53                                disabled
     54                                class="form-control"
     55                                id="directory"
     56                                name="directory"
     57                                aria-describedby="basic-addon3"
     58                                value="@(DateTime.Now.ToString("yyyy.MM.dd"))" />
     59                     </div>
     60                 </div>
     61                 <button style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     62                                 text-shadow:2px 2px black;"
     63                        disabled
     64                         id="upl"
     65                        class="btn btn-lg btn-block btn-success"
     66                        type="submit"
     67                         >
     68                     <i class="fa fa-plus-square"></i> Add to uploads
     69                     </button>
     70             </div>
    7071
    7172    </form>
Note: See TracChangeset for help on using the changeset viewer.