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/Index.cshtml

    r13754 r13827  
    11@using HeuristicLab.Clients.Hive.WebJobManager.ViewModels
    22@model JobViewModel
     3
     4<!-- Displays the job manager overview -->
     5
    36<div id="userId" style="display:none">@ViewBag.SessionId</div>
    47<div>
     8    <!-- Main nav menu-->
    59    @Html.Partial("Navbar", new NavbarViewModel("Job"))
    610
     11    <!-- Job menu-->
    712    <ul class="nav nav-pills nav-justified">
    813        <li role="presentation"
     
    3843
    3944        }
    40         else {
     45        else
     46        {<!-- Display side menu containing jobs. -->
    4147            <div class="col-sm-4">
    4248                <div class="btn-group-vertical btn-block">
     
    7884                 style="padding:5px; padding-left:10px;">
    7985                @if (Model.selectedJob != null)
    80                 {
     86                { <!-- A job has been selected by the user, load info into view -->
    8187                    <div class="panel panel-default"
    8288                         style="border-width:2px!important;padding:17px;
     
    8490                        <div class="row">
    8591                            <h2 style="padding-left:20px">
     92                                <!-- Header of the job (title and delete button) -->
    8693                                @Model.selectedJob.Job.Name
    8794                                <a onclick="popUpDelete()"
     
    93100                                    Delete job
    94101                                </a>
    95                                 <a style="display:none; "
     102                                <!-- HIDDEN BUTTON FOR ASP ACTION -->
     103                                <a style="display:none; "
    96104                                   asp-action="Delete"
    97105                                   asp-route-id="@Model.selectedJob.Id"
     
    100108
    101109                                <script type="text/javascript">
    102                                     function popUpDelete() {
     110                                    function popUpDelete() {//Quick inline popup with hidden asp button
    103111                                        if (confirm("Are you sure you want to delete this job?") == true) {
    104112                                            document.getElementById("del").click();
     
    110118                            </h2>
    111119                            <div class="col-sm-6" style="padding-left:30px">
     120                                <!-- Information of the job -->
    112121                                <p>Description: @Model.selectedJob.Job.Description</p>
    113122                                <p>Resources: @Model.selectedJob.Job.ResourceNames</p>
     
    138147                        <div class="row" style="text-align:center">
    139148                            @Html.Partial("_Graphlegend")
     149                            <!-- Main graph giving overview of all the jobs-->
    140150                            <div id="graphMain" style="width:100%;height:0px">
    141151
     
    151161                            </h3>
    152162                            @foreach (var task in Model.selectedJob.HiveTasks)
    153                             {
     163                            {<!--Display all child jobs recursively -->
    154164                                @Html.Partial("SelectedJobPartials/_TaskPartial",
    155165                           new HeuristicLab.Clients.Hive.WebJobManager.Models.HiveTaskContainer(task))
     
    164174        }
    165175        <script type="text/javascript">
    166             function showLoader() {
     176            function showLoader() {//Shows load spinner
    167177                document.getElementById("content").style.display = "none";
    168178                document.getElementById("loader").style.display = "";
    169179
    170180            }
    171             function showDeleter() {
     181            function showDeleter() {//Shows delete spinner
    172182                document.getElementById("content").style.display = "none";
    173183                document.getElementById("loader").style.display = "";
Note: See TracChangeset for help on using the changeset viewer.