1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
| <%@ Page Language="C#" MasterPageFile="~/Default.master" CodeFile="Login.aspx.cs" Inherits="LoginPage" Title="<%$ Resources:Globals, TitlePageLogin %>" %>
<asp:Content ContentPlaceHolderID="PageHead" runat="server">
<style type="text/css">
@media screen {
#<%= LoginControls.ClientID %> {
width: 761px;
height: 550px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -380px;
margin-top: -275px;
}
.footer { width: 761px; margin: 0; }
h1 {
background: url('Images/accueil.png') no-repeat center center;
width: 761px;
height: 245px;
}
h1 span {
display: none;
visibility: hidden;
}
.loginControls, .loginButton {
text-align: right;
}
.loginControls, .loginButton, .loginControls p {
margin: 20px 0;
}
.loginControls input {
width: 120px;
}
.failureText, .instructions {
text-align: center;
font-weight: bold;
color: red;
background: white;
}
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderID="HeaderPlaceHolder" runat="server"/>
<asp:Content ContentPlaceHolderID="MainContent" Runat="Server">
<p>
<asp:Label ID="Label1" runat="server" AssociatedControlID="PasswordBis" Enabled="<%# IsActive %>">Mot de passe*:</asp:Label>
<asp:TextBox ID="PasswordBis" runat="server" TextMode="Password" Columns="13" MaxLength="50" Enabled="<%# IsActive %>"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="PasswordBis"
ErrorMessage="Veuillez saisir un mot de passe !" ToolTip="Veuillez saisir un mot de passe !"
ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</p>
<asp:Login ID="LoginControls" runat="server" FailureText="L'identifiant ou le mot de passe sont incorrects !"
LoginButtonText="Valider" PasswordLabelText="Mot de passe :" PasswordRequiredErrorMessage="Veuillez saisir un mot de passe !"
TitleText="" UserNameLabelText="Identifiant :" UserNameRequiredErrorMessage="Veuillez saisir un nom d'utilisateur !" DisplayRememberMe="False" Width="761px" InstructionText="Toto">
<LayoutTemplate>
<table>
<tr>
<td>
<h1><span>Connexion</span></h1>
<div class="loginControls">
<p>
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Enabled="<%# IsActive %>">Identifiant*:</asp:Label>
<asp:TextBox ID="UserName" runat="server" MaxLength="50" Columns="13" Enabled="<%# IsActive %>"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
ErrorMessage="Veuillez saisir un nom d'utilisateur !" ToolTip="Veuillez saisir un nom d'utilisateur !"
ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</p>
<p>
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Enabled="<%# IsActive %>">Mot de passe*:</asp:Label>
<asp:TextBox ID="Password" runat="server" TextMode="Password" Columns="13" MaxLength="50" Enabled="<%# IsActive %>"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="Veuillez saisir un mot de passe !" ToolTip="Veuillez saisir un mot de passe !"
ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</p>
</div>
<p class="failureText"><asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal></p>
<img alt="" src="Images/hr.png" width="761" height="14" />
<p class="instructions"><asp:Literal runat="server" Text='<%# Instructions %>' Mode="Encode" /></p>
<p class="loginButton"><asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Valider" ValidationGroup="Login1" Enabled="<%# IsActive %>" /></p>
</td>
</tr>
</table>
<div id="Footer" runat="server" class="footer">
<p class="version">
Orbis Restauration V<%= ApplicationInstance.SettingsService.GetParameter('X', "V_SCHEMA").String %>
<%= ApplicationInstance.SettingsService.GetParameter('G', "NOM_SITE").String %>
</p>
<p class="copyright">
Copyright © Agfa HealthCare Enterprise Solutions, 2007</p>
</div>
</LayoutTemplate>
</asp:Login>
</asp:Content> |