summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Wsat/pages/TWsatLogin.page
blob: 6b9d8456b4e34f834bb60455feb43d4c7662fdc5 (plain)
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
<%@ MasterClass="" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <com:THead Title="PRADO - WSAT">
        <com:TMetaTag HttpEquiv="Content-Type" Content="text/html; charset=utf-8" />
        <com:TMetaTag HttpEquiv="Content-Language" Content="en" />
    </com:THead>

    <body>
        <com:TForm>

            <div id="header">
                <a href="<%= $this->Service->DefaultPageUrl %>">
                    <div class="logo"></div>
                    <div style="float: left; margin-top: 17px">PRADO <br /> Web Site Administration Tool</div>
                </a>
                <div class="mantisbg"></div>
                <div style="clear: both"></div>
            </div>

            <div class="mainmenu">
                <div style="float: right"><com:THyperLink NavigateUrl="https://github.com/pradosoft/prado" Text="Prado framework" Target="_blank" />&nbsp;|&nbsp;</div>
                <div style="float: right"><com:THyperLink NavigateUrl="<%= $this->Service->DefaultPageUrl %>" Text="Web App" Target="_blank" />&nbsp;|&nbsp;</div>
                <div style="clear: both"></div>
            </div> 

            <div class="login_form">
                <com:TLabel Text="Please enter your password:" ForControl="password"/><br/>  
                <com:TTextBox ID="password" TextMode="Password" style="margin: 5px" /><br/>  
                <com:TRequiredFieldValidator ControlToValidate="password" ValidationGroup="loginGroup" Text="Password cannot be blank." Display="Dynamic"  /><br/>  
                <com:TCustomValidator ControlToValidate="password" ValidationGroup="loginGroup" OnServerValidate="validatePassword" Text="Incorrect password." Display="Dynamic" />
                
                <div><com:TButton Text="Enter" ValidationGroup="loginGroup" OnClick="login" /></div>  
            </div>                       

            <div id="footer">
                Copyright &copy; 2005-<%= date('Y') %> <a href="https://github.com/pradosoft">The PRADO Group</a>.
                <br/><br/>
                <%= Prado::poweredByPrado() %>
            </div>
        </com:TForm>   
    </body>
</html>