diff options
Diffstat (limited to 'Project-Unite/Views')
| -rw-r--r-- | Project-Unite/Views/Admin/Index.cshtml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Project-Unite/Views/Admin/Index.cshtml b/Project-Unite/Views/Admin/Index.cshtml index 9ec5202..5037ba3 100644 --- a/Project-Unite/Views/Admin/Index.cshtml +++ b/Project-Unite/Views/Admin/Index.cshtml @@ -207,7 +207,27 @@ git clone https://github.com/MichaelTheShifter/Project-Unite - + @foreach (var user in db.Users.ToArray()) + { + <div class="modal fade" id="[email protected]"> + <div class="modal-dialog" role="document"> + <div class="modal-content"> + <div class="modal-header"> + <h5 class="modal-title">Users</h5> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"> + <span aria-hidden="true">×</span> + </button> + </div> + <div class="modal-body"> + @Html.Partial("~/Views/Moderator/UserDetails.cshtml", user) + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-primary" data-dismiss="modal" data-target="#[email protected]">Close</button> + </div> + </div> + </div> + </div> + } @*USERS*@ @@ -251,7 +271,7 @@ git clone https://github.com/MichaelTheShifter/Project-Unite </td> <td> <a href="@Url.Action("ViewProfile", "Profiles", new { id = user.DisplayName })" class="btn btn-default"><span class="glyphicon glyphicon-user"></span> View Profile</a> - <a href="@Url.Action("UserDetails", "Moderator", new {id=user.DisplayName})" class="btn btn-warning"><span class="glyphicon glyphicon-wrench"></span> Moderate</a> + <a data-toggle="modal" href="#[email protected]" class="btn btn-warning"><span class="glyphicon glyphicon-wrench"></span> Moderate</a> </td> </tr> } |
