merge from Yavsc
This commit is contained in:
commit
53325b7e6c
30 changed files with 243 additions and 546 deletions
|
|
@ -20,7 +20,7 @@
|
|||
<input type="submit"/>
|
||||
<% } %></div>
|
||||
<div class="panel">
|
||||
<%= Html.ActionLink("S'enregistrer","Register",new {returnUrl=ViewData["returnUrl"]}, new { @class="actionlink" }) %>
|
||||
<%= Html.ActionLink("S'enregistrer","RegisterForm",new {returnUrl=ViewData["returnUrl"]}, new { @class="actionlink" }) %>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority + "/Google/Login"%>?returnUrl=<%=ViewData["returnUrl"]==null?Request.Url.PathAndQuery:(string)ViewData["returnUrl"]%>" class="actionlink">
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ Avatar : <img src="<%=Html.AvatarUrl(HttpContext.Current.User.Identity.Name)%>"
|
|||
<% } %>
|
||||
<aside>
|
||||
<%= Html.ActionLink("Changer de mot de passe","ChangePassword", "Account",null, new { @class="actionlink" })%>
|
||||
<%= Html.ActionLink("Désincription","Unregister", "Account",null, new { @class="actionlink" })%>
|
||||
<%= Html.ActionLink("Désincription","Unregister", "Account", new { id=ViewData["UserName"] } , new { @class="actionlink" })%>
|
||||
</aside>
|
||||
<aside>
|
||||
<% if (Roles.IsUserInRole((string)ViewData ["UserName"],"Admin")) { %>
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@ Warning: This will delete all of your data here, your profile, your posts and ot
|
|||
<label for="confirmed">Unregister</label>
|
||||
<%=Html.CheckBox("confirmed")%>
|
||||
<input type="submit"/>
|
||||
<%= Html.Hidden("UserName") %>
|
||||
<% } %>
|
||||
</asp:Content>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
<%= Html.LabelFor(model => model.Port) %>:
|
||||
<%= Html.TextBox( "Port" ) %>
|
||||
<%= Html.ValidationMessage("Port", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbname) %>:
|
||||
<%= Html.TextBox( "Dbname" ) %>
|
||||
<%= Html.ValidationMessage("Dbname", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbuser) %>:
|
||||
<%= Html.TextBox( "Dbuser" ) %>
|
||||
<%= Html.ValidationMessage("Dbuser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbName) %>:
|
||||
<%= Html.TextBox( "DbName" ) %>
|
||||
<%= Html.ValidationMessage("DbName", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbUser) %>:
|
||||
<%= Html.TextBox( "DbUser" ) %>
|
||||
<%= Html.ValidationMessage("DbUser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Password) %>:
|
||||
<%= Html.Password( "Password" ) %>
|
||||
<%= Html.ValidationMessage("Password", "*") %><br/>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
<div><h2>Message </h2> <%= Html.Encode(Model.Message) %></div>
|
||||
<div><h2>Exit Code</h2> <%= Html.Encode(Model.ExitCode) %></div>
|
||||
<form><fieldset><legend>Acces à la base de donnée</legend>
|
||||
<label>db Name:</label><%= Html.Encode(Model.Dbname) %><br/>
|
||||
<label>db User:</label><%= Html.Encode(Model.Dbuser) %><br/>
|
||||
<Label>Pass:</label><%= Html.Encode(Model.Password[0]) %> ... You should already know it.<br/>
|
||||
<label>Hôte:</label><%= Html.Encode(Model.Host) %>:<%= Model.Port %></filedset>
|
||||
<label>db Name:</label><%= Html.Encode(ViewData["DbName"]) %><br/>
|
||||
<label>db User:</label><%= Html.Encode(ViewData["DbUser"]) %><br/>
|
||||
<label>Hôte:</label><%= Html.Encode(ViewData["Host"]) %></fieldset>
|
||||
</form>
|
||||
</asp:Content>
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@
|
|||
<%= Html.LabelFor(model => model.Port) %>:
|
||||
<%= Html.TextBox( "Port" ) %>
|
||||
<%= Html.ValidationMessage("Port", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbname) %>:
|
||||
<%= Html.TextBox( "Dbname" ) %>
|
||||
<%= Html.ValidationMessage("Dbname", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbuser) %>:
|
||||
<%= Html.TextBox( "Dbuser" ) %>
|
||||
<%= Html.ValidationMessage("Dbuser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbName) %>:
|
||||
<%= Html.TextBox( "DbName" ) %>
|
||||
<%= Html.ValidationMessage("DbName", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbUser) %>:
|
||||
<%= Html.TextBox( "DbUser" ) %>
|
||||
<%= Html.ValidationMessage("DbUser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Password) %>:
|
||||
<%= Html.Password( "Password" ) %>
|
||||
<%= Html.ValidationMessage("Password", "*") %><br/>
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
<%= Html.LabelFor(model => model.Port) %>:
|
||||
<%= Html.TextBox( "Port" ) %>
|
||||
<%= Html.ValidationMessage("Port", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbname) %>:
|
||||
<%= Html.TextBox( "Dbname" ) %>
|
||||
<%= Html.ValidationMessage("Dbname", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Dbuser) %>:
|
||||
<%= Html.TextBox( "Dbuser" ) %>
|
||||
<%= Html.ValidationMessage("Dbuser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbName) %>:
|
||||
<%= Html.TextBox( "DbName" ) %>
|
||||
<%= Html.ValidationMessage("DbName", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.DbUser) %>:
|
||||
<%= Html.TextBox( "DbUser" ) %>
|
||||
<%= Html.ValidationMessage("DbUser", "*") %><br/>
|
||||
<%= Html.LabelFor(model => model.Password) %>:
|
||||
<%= Html.Password( "Password" ) %>
|
||||
<%= Html.ValidationMessage("Password", "*") %><br/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue