Advertisement
rprimrose

Untitled

Oct 22nd, 2013
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.03 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" Inherits="MyApp.Server.Web.TestSts._Default" ValidateRequest="false" Codebehind="Default.aspx.cs" %>
  2. <%@ OutputCache Location="None" %>
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5.  
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7.     <head id="Head1" runat="server">
  8.         <title>Login to the security token service (STS)</title>
  9.         <style type="text/css">
  10.             .style1 { width: 100%; }
  11.  
  12.             .style2 { width: 125px; }
  13.  
  14.             .style3 {
  15.                 font-size: large;
  16.                 font-weight: bold;
  17.             }
  18.         </style>
  19.     </head>
  20.     <body>
  21.         <form id="form1" runat="server">
  22.             <div class="style3">
  23.    
  24.                 Windows Identity Foundation - ASP.NET Security Token Service Web Site</div>
  25.             <p class="style3">
  26.                 &nbsp;</p>
  27.             <asp:Label ID="Label3" runat="server" style="font-weight: 700"
  28.                       Text="Login to the STS"></asp:Label>
  29.             &nbsp;<br />    
  30.    
  31.             <table class="style1">
  32.                 <tr>
  33.                     <td class="style2">
  34.                         <asp:Label ID="Label1" runat="server" Text="User name"></asp:Label>
  35.                     </td>
  36.                     <td>
  37.                         <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
  38.                     </td>
  39.                 </tr>
  40.             </table>
  41.             <p>
  42.                 <asp:CheckBox ID="chkIsAdmin" runat="server" Text="Is Administrator" />
  43.             </p>
  44.             <p>
  45.                 Additional roles (add a role name per line):</p>
  46.             <p>
  47.                 <asp:TextBox ID="txtRoles" runat="server" Height="172px" TextMode="MultiLine" Width="258px"></asp:TextBox>
  48.             </p>
  49.             <p>
  50.                 <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />
  51.             </p>
  52.         </form>
  53.     </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement