* style.css: black them for input controls

* Profile.aspx: inline css
This commit is contained in:
Paul Schneider
2015-01-30 12:51:11 +01:00
parent 206e16686b
commit e64d50e94a
2 changed files with 25 additions and 20 deletions

View File

@ -7,13 +7,15 @@ body {
font-family: 'Arial', cursive;
margin-bottom:3em;
}
textarea {
width:25em;
height:5em;
}
input {
width:25em;
}
input, textarea, checkbox {
color: #FFFFA0;
background: black;
}
main {
background-color: rgba(17,0,23,0.65);
float:left;
@ -128,10 +130,6 @@ padding-left: 20px;
white-space: pre-wrap;
}
.layout {
border-width: 0;
}
.avatar {
max-width: 64px;
max-height: 64px;

View File

@ -5,13 +5,18 @@
</asp:Content>
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
<style>
fieldset { float:left; }
table.layout { border-width: 0; }
table.layout TR TD { max-width:40%; }
</style>
<%= Html.ValidationSummary() %>
<% using(Html.BeginForm("Profile", "Account", FormMethod.Post, new { enctype = "multipart/form-data" })) %>
<% { %>
<h2>Informations générales</h2>
<fieldset><legend>Informations générales</legend>
<table class="layout">
<tr><td align="right">
<tr><td align="right" style="">
<%= Html.LabelFor(model => model.Name) %></td><td>
<%= Html.TextBox("Name") %>
<%= Html.ValidationMessage("Name", "*") %></td></tr>
@ -63,8 +68,10 @@ Avatar : "<%=Model.avatar%>" </td><td> <img class="avatar" src="<%=Model.avatar
</td>
</tr>
</table>
</fieldset>
<h2>Informations de facturation</h2>
<fieldset><legend>Informations de facturation</legend>
<table class="layout">
<tr>
<td align="right">
@ -124,20 +131,20 @@ Avatar : "<%=Model.avatar%>" </td><td> <img class="avatar" src="<%=Model.avatar
</table>
</fieldset>
<input type="submit"/>
<% } %>
</asp:Content>
<asp:Content ID="MASC1" ContentPlaceHolderID="MASContent" runat="server">
<aside>
<%= Html.ActionLink("Changer de mot de passe","ChangePassword", "Account",null, new { @class="actionlink" })%>
<%= Html.ActionLink("Désincription","Unregister", "Account",null, new { @class="actionlink" })%>
</aside>
<aside>
<% if (Roles.IsUserInRole((string)ViewData ["UserName"],"Admin")) { %>
This user is Admin.
<% } %>
HasBankAccount:<%= Model.HasBankAccount %>, IsBillable:<%=Model.IsBillable%>
<%= Html.ActionLink("Changer de mot de passe","ChangePassword", "Account",null, new { @class="actionlink" })%>
<%= Html.ActionLink("Désincription","Unregister", "Account",null, new { @class="actionlink" })%>
</aside>
</asp:Content>