Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/12/16 17:09:12 (9 years ago)
Author:
jlodewyc
Message:

#2582 Security access implemented, directory renaming and choosing, adding more partials

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

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/User/Groups.cshtml

    r13827 r13847  
    55<div>
    66
    7     @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User"))
     7    @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User", Model.currentUser))
    88
    99    <ul class="nav nav-pills nav-justified">
     
    3030        </li>
    3131    </ul>
    32     <div class="row"
    33          style="text-align:center">
    34         @Model.message
    35     </div>
     32    @Html.Partial("_ErrorMessage", Model.message)
     33
    3634    <div class="row"
    3735         style="padding:10px; margin-right:0px!important">
     
    5957            <div class="btn-group-vertical btn-block">
    6058               
    61                 @foreach (var group in Model.ugroups)
     59                @foreach (var group in Model.ugroups.OrderBy(x => x.Name))
    6260                {
    6361                    <a class="btn  btn-default @( group.Id == Model.SelectedGroup.Id ? "active" : "" )"
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/User/Index.cshtml

    r13841 r13847  
    44<div>
    55
    6     @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User"))
     6    @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User", Model.currentUser))
    77
    88    <ul class="nav nav-pills nav-justified">
     
    2929        </li>
    3030    </ul>
    31     <div class="row"
    32          style="text-align:center">
    33         @Model.message
    34     </div>
     31    @Html.Partial("_ErrorMessage", Model.message)
     32
    3533    <div class="row"
    3634         style="padding:10px; margin-right:0px!important">
     
    7068
    7169
    72                     @foreach (var user in Model.users)
     70                    @foreach (var user in Model.users.OrderBy(x => x.UserName))
    7371                    {
    7472                        <a class="btn  btn-default @( user.Id == Model.SelectedUser.Id ? "active" : "" )"
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/User/Roles.cshtml

    r13827 r13847  
    55<div>
    66
    7     @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User"))
     7    @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("User", Model.currentUser))
    88
    99    <ul class="nav nav-pills nav-justified">
     
    3030        </li>
    3131    </ul>
    32     <div class="row"
    33          style="text-align:center">
    34         @Model.message
    35     </div>
     32    @Html.Partial("_ErrorMessage", Model.message)
    3633    <div class="row"
    3734         style="padding:10px; margin-right:0px!important">
     
    6057            <div class="btn-group-vertical btn-block">
    6158               
    62                 @foreach (var role in Model.roles)
     59                @foreach (var role in Model.roles.OrderBy(x => x.Name))
    6360                {
    6461                    <a class="btn  btn-default @( role.Name == Model.SelectedRole.Name ? "active" : "" )"
Note: See TracChangeset for help on using the changeset viewer.