Merge from booking branch
This commit is contained in:
parent
8c5de206e1
commit
25906d0227
60 changed files with 6228 additions and 0 deletions
29
web/Views/Admin/AddUserToRole.ascx
Normal file
29
web/Views/Admin/AddUserToRole.ascx
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using(Html.BeginForm("AddUserToRole", "Admin"))
|
||||
{ %>
|
||||
<fieldset>
|
||||
<div id="roleaddedresult"></div>
|
||||
<% if (ViewData ["UserName"] != null) { %>
|
||||
<%= Html.Hidden("RoleName",ViewData ["RoleName"]) %>
|
||||
<% } else { %>
|
||||
<div>
|
||||
<label for="UserName" >Utilisateur : </label><input type="text" name="UserName" id="UserName">
|
||||
<%= Html.ValidationMessage("UserName", "*") %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (ViewData ["RoleName"] != null) { %>
|
||||
<%= Html.Hidden("RoleName",ViewData ["RoleName"]) %>
|
||||
<% } else { %>
|
||||
<div>
|
||||
<label for="RoleName" >Nom du rôle : </label>
|
||||
<input type="text" name="RoleName" id="RoleName">
|
||||
<%= Html.ValidationMessage("RoleName", "*") %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<%= Html.Hidden("ReturnUrl", Request.Url.PathAndQuery ) %>
|
||||
<input type="submit">
|
||||
</fieldset>
|
||||
<% } %>
|
||||
3
web/Views/Admin/UserCard.ascx
Normal file
3
web/Views/Admin/UserCard.ascx
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue