Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/29/16 17:02:16 (8 years ago)
Author:
jlodewyc
Message:

#2582 Overhaul Login service, done

Location:
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views
Files:
5 edited

Legend:

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

    r13735 r13739  
    11@using HeuristicLab.Clients.Hive.WebJobManager.ViewModels
    22@model JobViewModel
    3 
     3<div id="userId" style="display:none">@ViewBag.SessionId</div>
    44<div>
    55    @Html.Partial("Navbar", new NavbarViewModel("Job"))
     
    165165                    }
    166166                </div>
     167               
    167168
    168169        }
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml

    r13735 r13739  
    1 @model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel
     1@using Microsoft.AspNet.Http;
     2
     3@model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel
    24
    35
     
    911      onscroll="showScrolly()"
    1012      style="margin-bottom:500px;margin-left:1px;margin-right:1px;">
    11 
     13    <div id="userId" style="display:none">@ViewBag.SessionId</div>
    1214    @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("Job"))
    1315
     
    181183        </ul>
    182184    </nav>
     185   
    183186    <script src="~/js/scripts/hubber.js"></script>
    184187    <script>
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/UploaderPartial/_UploaderPartial.cshtml

    r13733 r13739  
    2525        <div class="row" style="margin:10px">
    2626
    27             <div id="selectedfiles"></div>
     27            <div id="selectedfiles">
     28            <h3>Files</h3>
     29            <p>No files selected: press the above button to choose files</p>
     30            </div>
    2831
    29             <div style="display:none; 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            <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);
    3033                            text-shadow:2px 2px black;"
     34                 type="button"
     35                    disabled
    3136                 id="del"
    3237                 class='btn btn-danger'
     
    3439                <span class='glyphicon glyphicon-trash' aria-hidden='true'></span>
    3540                Remove files
    36             </div>
     41            </button>
    3742
    38             <div id="dir"
    39                  style="display:none; margin-top:20px;margin-bottom:20px">
     43            <div
     44                 style="margin-top:20px;margin-bottom:20px">
    4045
    4146                <label for="basic-url">Directory name</label>
     
    4550                        .../uploads/@ViewBag.Name
    4651                    </span>
    47                     <input type="text"
     52                    <input
     53                           type="text"
     54                           disabled
    4855                           class="form-control"
    4956                           id="directory"
     
    5360                </div>
    5461            </div>
    55             <button style="display:none; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     62            <button style=" box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    5663                            text-shadow:2px 2px black;"
    57                    id="upl"
     64                   disabled
     65                    id="upl"
    5866                   class="btn btn-lg btn-block btn-success"
    5967                   type="submit"
     
    7078        var div = document.getElementById("selectedfiles");
    7179        var files = document.getElementById("files").files;
    72         div.innerHTML = "";
     80        div.innerHTML = "<h3>Files</h3>";
    7381        if (files.length > 0) {
    74             document.getElementById("upl").style.display = "";
    75             document.getElementById("del").style.display = "";
    76             document.getElementById("dir").style.display = "";
     82            document.getElementById("upl").disabled = false;
     83            document.getElementById("del").disabled = false;
     84            document.getElementById("directory").disabled = false;
    7785
    78             div.innerHTML += "<h3>Files</h3>";
     86           
    7987            for (var i = 0; i < files.length; i++) {
    8088                div.innerHTML += "<p>File " + (i + 1) + ":" + files[i].name +
     
    8492        }
    8593        else {
    86             document.getElementById("upl").style.display = "none";
    87             document.getElementById("del").style.display = "none";
    88             document.getElementById("dir").style.display = "none";
     94            div.innerHTML += "<p>No files selected</p>";
     95            document.getElementById("upl").disabled = true;
     96            document.getElementById("del").disabled = true;
     97            document.getElementById("directory").disabled = true;
    8998        }
    9099
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Uploads.cshtml

    r13733 r13739  
    4545            <div class="col-sm-4">
    4646                <div class="btn-group-vertical btn-block">
    47                     <a class="btn btn-success btn-lg btn-block
     47                    <a class="btn btn-info btn-lg btn-block disabled"
     48                       style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     49                            text-shadow:2px 2px black;">
     50                        <i class="fa fa-cloud"></i> Uploads
     51                    </a>
     52                    <a class="btn btn-success btn-block
    4853                       @(Model.SelectedIndex == -1 ? "active" : "")
    4954                       "
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Shared/_Layout.cshtml

    r13733 r13739  
    1212    </environment>
    1313    <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.0/css/bootstrap-toggle.min.css" rel="stylesheet">
     14    <link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico" />
    1415    <link rel="stylesheet" href="//rawgithub.com/Caged/d3-tip/master/examples/example-styles.css">
    1516</head>
     
    2829        <script src="~/js/jquery.signalr-2.1.2.js"></script>
    2930        <script src='~/signalr/js'></script>
    30         <script src="~/js/morris.js"></script>
    31         <script src="~/js/npm.js"></script>
    32         <script src="~/js/raphael.js"></script>
    3331        <script src="~/js/plotly.js"></script>
    34         <script src="~/js/moment.js"></script>
    35         <script src="~/js/moment-timezone-with-data.js"></script>
    3632        <script src="~/js/d3.js"></script>
    3733        <script src="~/js/d3.v3.min.js"></script>
Note: See TracChangeset for help on using the changeset viewer.