Changeset 13735 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml
- Timestamp:
- 03/25/16 12:47:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml
r13733 r13735 2 2 3 3 4 <body class="row" 4 <body id="top" 5 class="row" 5 6 data-spy="scroll" 6 7 data-target="#scrolly" … … 96 97 <input type="text" 97 98 class="form-control" 98 name=" resource"99 id=" resource"100 placeholder="Resource ( default: HEAL)">99 name="jresource" 100 id="jresource" 101 placeholder="Resource (optional)"> 101 102 </div> 102 103 </div> … … 164 165 data-offset-top="0"> 165 166 166 <li><a href="#top"> Top</a></li>167 <li><a href="#top"><i class="fa fa-angle-up"></i> Top</a></li> 167 168 @if (Model.SelectedAlgorithm != null) 168 169 { … … 172 173 else 173 174 { 174 <li><a href="#tasks">Child tasks</a></li> 175 175 <li><a id="ctasks" href="#tasks">Child tasks </a></li> 176 <li><a onclick="shower()"><i class="fa fa-eye"></i> Show all tasks</a></li> 177 <li><a onclick="collapser()"><i class="fa fa-eye-slash"></i> Hide all tasks</a></li> 178 176 179 } 177 <li><a href="#finish"> Job info and upload</a></li>180 <li><a href="#finish"><i class="fa fa-flag-checkered"></i> Job info and upload</a></li> 178 181 </ul> 179 182 </nav> … … 197 200 } 198 201 }); 202 $('body').click(function () { 203 if ($("#ctasks").length > 0) 204 $("#ctasks").html("<i class='fa fa-sitemap'></i> Tasks (" + $('a[href^="#collapseExample"]').length + ")"); 205 }); 206 $('body').click(); 207 199 208 }); 209 collapser = function () { 210 $('.collapse').collapse('hide'); 211 212 } 213 shower = function () { 214 $('.collapse').collapse('show'); 215 216 } 200 217 </script> 201 218 </body>
Note: See TracChangeset
for help on using the changeset viewer.