Apache-AppSamurai

 view release on metacpan or  search on metacpan

examples/htdocs/login.html  view on Meta::CPAN

    </style>
    <script language="JavaScript" type="text/javascript">
    //<![CDATA[
    <!-- // Escape from frames and load as the top page
    if (window != top) top.location.href = location.href;
    // -->
    //]]>
    </script>
  </head>
  <body onload="document.forms[0].credential_0.focus()">
    <table summary="" align="center" border="0" cellspacing="0" cellpadding="0" class="outertable">
      <tr>
        <td align="left" valign="bottom">
          <!-- Replace with your logo, whatever -->
	  <img src="/AppSamurai/images/AppSamurai-logo1-200x271-trans.png" alt="AppSamurai" />
        </td>
        <td valign="bottom">
          <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="center">
	        <!-- Enter your banner message here, shove in a logo, whatever -->
                <h1>Sample Form</h1>
              </td>
            </tr>
            <tr>
              <td align="left" valign="top" class="infobox">
                <table summary="" width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td class="infoboxtop">
                    </td>
                  </tr>
                  <tr>
                    <td class="infoboxmsg"><!-- This is replaced by the status message -->
                      __MESSAGE__
                    </td>
                  </tr>
                  <tr>
                    <td class="infoboxbot"></td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td align="right">
<!-- The action will be replaced by login.pl.  autocomplete="off" is not valix XHTML, but it is worth it: prevents the autocomplete feature in browsers from caching sensitive info -->
                <form method="post" action="__FORMACTION__" autocomplete="off">
                  <table summary="" align="right" border="0" cellspacing="10" cellpadding="3">
                    <tr>
                      <td align="right">
                        <span class="logintext">USERNAME</span>
                      </td>
                      <td>
                        <input type="text" name="credential_0" class="textbox" maxlength="256" value="__USERNAME__" />
                      </td>
                    </tr>
                    <tr>
                      <td align="right">
                        <span class="logintext">PASSWORD</span>
                      </td>
                      <td>
                        <input type="password" name="credential_2" class="textbox" maxlength="254" />
                      </td>
                    </tr>
                    <tr>
                      <td align="right">
                        <span class="logintext">PASSCODE</span>
                      </td>
                      <td>
                        <input type="password" name="credential_1" class="textbox" maxlength="32" />
                      </td>
                    </tr>
                    <tr align="right" valign="middle">
                      <td colspan="2">
		        <input type="hidden" name="destination" value="__URI__" />
			<input type="hidden" name="nonce" value="__NONCE__" />
			<input type="hidden" name="sig" value="__SIG__" />
			
                        <input type="submit" value="Log In" name="LOGIN" class="loginbutton" />
                      </td>
                    </tr>
                  </table>
                </form>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>



( run in 0.762 second using v1.01-cache-2.11-cpan-39bf76dae61 )