/Docs/07-Implementacion/Source/trunk/EDUAR_Regular/EDUAR/EDUAR_UI/Login.aspx

http://blpm.googlecode.com/ · ASP.NET · 166 lines · 163 code · 1 blank · 2 comment · 0 complexity · 16215fef2f3d9b66220a718dc673a3cf MD5 · raw file

  1. <%@ Page Title="Iniciar sesión" Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs"
  2. Inherits="EDUAR_UI.Login" %>
  3. <%@ Register Src="~/UserControls/VentanaInfo.ascx" TagName="VentanaInfo" TagPrefix="uc1" %>
  4. <!doctype html>
  5. <html lang="es">
  6. <head id="Head1" runat="server">
  7. <title title="Iniciar Sesión"></title>
  8. <link rel="icon" type="image/png" href="~/favicon.ico" />
  9. <link href="~/App_Themes/Tema/Estilo.css" rel="stylesheet" type="text/css" />
  10. </head>
  11. <body style="background-color: White">
  12. <form id="Form1" runat="server">
  13. <asp:ScriptManager ID="scmManager" runat="server" AsyncPostBackTimeout="9000" EnablePartialRendering="true"
  14. ScriptMode="Release" LoadScriptsBeforeUI="false" EnableScriptLocalization="true"
  15. EnableScriptGlobalization="true" />
  16. <div class="page">
  17. <div class="header">
  18. <table border="0" cellpadding="1" cellspacing="5" style="width: 100%;">
  19. <tr>
  20. <td style="width: 50%">
  21. <div class="title">
  22. <img src="/EDUAR_UI/Images/Logo_chico.png" alt="EDU@R 2.0" style="vertical-align: middle" />
  23. </div>
  24. </td>
  25. <td style="width: 50%">
  26. <div class="loginDisplay">
  27. <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
  28. <AnonymousTemplate>
  29. <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; text-align: right">
  30. <tr>
  31. <td style="width: 80%">
  32. </td>
  33. <td align="center" style="width: 20%">
  34. <a href="~/Login.aspx" id="A1" runat="server" style="text-decoration: none">
  35. <asp:Image ID="Image1" ImageUrl="~/Images/web/user-offline.png" runat="server" AlternateText="Iniciar Sesión"
  36. ToolTip="Iniciar Sesión" /></a>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td style="width: 80%">
  41. </td>
  42. <td align="center" style="width: 20%">
  43. [ <a href="~/Login.aspx" id="HeadLoginStatus" runat="server">Iniciar Sesión</a>
  44. ]
  45. </td>
  46. </tr>
  47. </table>
  48. </AnonymousTemplate>
  49. </asp:LoginView>
  50. </div>
  51. </td>
  52. </tr>
  53. </table>
  54. <div class="clear hideSkiplink">
  55. <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false"
  56. IncludeStyleBlock="true" Orientation="Horizontal">
  57. </asp:Menu>
  58. <asp:SiteMapDataSource ID="SiteMapAnonymusEDUAR" runat="server" ShowStartingNode="false"
  59. SiteMapProvider="AnonymusXmlSiteMapProvider" />
  60. </div>
  61. </div>
  62. <table>
  63. <tr>
  64. <td class="contenedormenu">
  65. </td>
  66. <td style="width: 85%; min-height: 800px; height: auto; vertical-align: top">
  67. <div class="main">
  68. <table width="100%" cellpadding="1" cellspacing="5" border="0">
  69. <tr>
  70. <td style="width: 80%; vertical-align: text-top">
  71. <h2>
  72. Iniciar Sesión<hr />
  73. </h2>
  74. </td>
  75. <td style="width: 20%; text-align: right" rowspan="2">
  76. <asp:Image ID="Image1" ImageUrl="~/Images/web/login.png" runat="server" AlternateText="Iniciar Sesión"
  77. ToolTip="Iniciar Sesión" />
  78. </td>
  79. </tr>
  80. <tr>
  81. <td style="width: 80%">
  82. <p class="ui-widget">
  83. Especifique su nombre de usuario y contraseńa.
  84. <asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="false">Registrarse</asp:HyperLink>
  85. si no tiene una cuenta.
  86. </p>
  87. </td>
  88. </tr>
  89. </table>
  90. <table width="100%" cellpadding="1" cellspacing="5" border="0">
  91. <tr>
  92. <td style="width: 100%">
  93. <p class="ui-widget">
  94. Si ha olvidado su clave de ingreso haga click
  95. <asp:HyperLink ID="ForgotPasswordHyperLink" runat="server" EnableViewState="false">Aquí</asp:HyperLink>
  96. </p>
  97. <asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false"
  98. OnAuthenticate="LoginUsuario_Authenticate">
  99. <LayoutTemplate>
  100. <span class="failureNotification">
  101. <asp:Literal ID="FailureText" runat="server"></asp:Literal>
  102. </span>
  103. <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification"
  104. ValidationGroup="LoginUserValidationGroup" />
  105. <div class="accountInfo">
  106. <fieldset class="login">
  107. <legend>Información de cuenta</legend>
  108. <p class="ui-widget">
  109. <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Nombre de usuario:</asp:Label>
  110. <asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
  111. <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
  112. CssClass="failureNotification" ErrorMessage="El nombre de usuario es obligatorio."
  113. ToolTip="El nombre de usuario es obligatorio." ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
  114. </p>
  115. <p class="ui-widget">
  116. <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Contraseńa:</asp:Label>
  117. <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
  118. <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
  119. CssClass="failureNotification" ErrorMessage="La contraseńa es obligatoria." ToolTip="La contraseńa es obligatoria."
  120. ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
  121. </p>
  122. </fieldset>
  123. <p class="submitButton">
  124. <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Iniciar sesión"
  125. ValidationGroup="LoginUserValidationGroup" />
  126. </p>
  127. </div>
  128. </LayoutTemplate>
  129. </asp:Login>
  130. </td>
  131. </tr>
  132. </table>
  133. </div>
  134. </td>
  135. </tr>
  136. </table>
  137. <div class="clear">
  138. <table style="width: 100%">
  139. <tr>
  140. <td style="width: 100%; text-align: center">
  141. Copyright (c)
  142. <%=DateTime.Now.Year.ToString() %>
  143. - BLPM - <a href="http://www.gnu.org/licenses/gpl-3.0.html" title="Licencia GNU - GPLv3"
  144. target="_blank">GPLv3</a>
  145. <br />
  146. Sitio web compatible con Mozilla Firefox<br />
  147. <a href="http://www.mozilla.org/es-ES/firefox/" target="_blank">
  148. <img src="/EDUAR_UI/Images/firefox.png" alt="Compatible con Mozilla Firefox" title="Compatible con Mozilla Firefox"
  149. style="border: 0" /></a>
  150. </td>
  151. </tr>
  152. </table>
  153. </div>
  154. <!--******** INICIO FUNCIONALIDAD VENTANA MENSAJES ********-->
  155. <asp:UpdatePanel ID="updVentaneMensajes" runat="server" UpdateMode="Conditional"
  156. RenderMode="Inline">
  157. <ContentTemplate>
  158. <uc1:VentanaInfo ID="ventanaInfoLogin" runat="server" />
  159. </ContentTemplate>
  160. </asp:UpdatePanel>
  161. <!--******** FIN FUNCIONALIDAD VENTANA MENSAJES ********-->
  162. </div>
  163. </form>
  164. </body>
  165. </html>