Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/25/16 12:47:31 (9 years ago)
Author:
jlodewyc
Message:

#2582 finish Job manager functionality. Start overhaul client connections (login, hiveclient and fileopening)

File:
1 edited

Legend:

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

    r13733 r13735  
    22
    33
    4 <body class="row"
     4<body id="top"
     5      class="row"
    56      data-spy="scroll"
    67      data-target="#scrolly"
     
    9697                            <input type="text"
    9798                                   class="form-control"
    98                                    name="resource"
    99                                    id="resource"
    100                                    placeholder="Resource (default: HEAL)">
     99                                   name="jresource"
     100                                   id="jresource"
     101                                   placeholder="Resource (optional)">
    101102                        </div>
    102103                    </div>
     
    164165            data-offset-top="0">
    165166
    166             <li><a href="#top">Top</a></li>
     167            <li><a href="#top"><i class="fa fa-angle-up"></i> Top</a></li>
    167168            @if (Model.SelectedAlgorithm != null)
    168169            {
     
    172173            else
    173174            {
    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               
    176179            }
    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>
    178181        </ul>
    179182    </nav>
     
    197200                }
    198201            });
     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           
    199208        });
     209        collapser = function () {
     210            $('.collapse').collapse('hide');
     211
     212        }
     213        shower = function () {
     214            $('.collapse').collapse('show');
     215
     216        }
    200217    </script>
    201218</body>
Note: See TracChangeset for help on using the changeset viewer.