* Yavsc.sln:
* Web.csproj: * Edit.aspx: * MyClass.cs: * Restore.aspx: * SalesCatalog.csproj: * RemoveUserQuery.aspx: * RemoveRoleQuery.aspx: * AssemblyInfo.cs: * fortune.csproj: a test plugin * App.master: The site name as suffix in titles * AddRole.aspx: Form action fixed * CreateBackup.aspx:
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using(Html.BeginForm("DoAddRole"))
|
||||
<% using(Html.BeginForm("DoAddRole","Admin"))
|
||||
{ %>
|
||||
Nom du rôle :
|
||||
<%= Html.TextBox( "RoleName" ) %>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<%@ Page Title="Backup creation" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<DataAccess>" %>
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<%= Html.ValidationSummary("CreateBackup") %>
|
||||
<%= Html.ValidationSummary("CreateBackup","Admin") %>
|
||||
<% using (Html.BeginForm("CreateBackup")) { %>
|
||||
|
||||
<%= Html.LabelFor(model => model.Host) %>:
|
||||
|
@ -2,7 +2,7 @@
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<div>
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using ( Html.BeginForm("RemoveRole") ) { %>
|
||||
<% using ( Html.BeginForm("RemoveRole","Admin") ) { %>
|
||||
Supprimer le rôle
|
||||
<%= Html.Encode( ViewData["roletoremove"] ) %> ?
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<div>
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using ( Html.BeginForm("RemoveUser") ) { %>
|
||||
<% using ( Html.BeginForm("RemoveUser","Admin") ) { %>
|
||||
Supprimer l'utilisateur
|
||||
<%= Html.Encode( ViewData["usertoremove"] ) %> ?
|
||||
<br/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<DataAccess>" %>
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<%= Html.ValidationSummary("Restore a database backup") %>
|
||||
<% using (Html.BeginForm("Restore")) { %>
|
||||
<% using (Html.BeginForm("Restore","Admin")) { %>
|
||||
|
||||
<% string [] bcfiles = (string[]) ViewData["Backups"]; %>
|
||||
<select name="backupName">
|
||||
|
Reference in New Issue
Block a user