<?xml version="1.0" encoding="ISO-8859-1"?> <!-- - <COPYRIGHT> - Copyright 2003 Gerd Stolpmann - - <GPL> - This file is part of WTimer. - - WTimer is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - WTimer is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with WDialog; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - </> --> <!-- $Id: startpage.ui 23 2015-01-14 16:24:21Z gerd $ - ====================================================================== - --> <!-- This file defines the dialog "startpage". --> <ui:dialog name="startpage" start-page="home" lang-variable="session_lang"> <ui:variable name="entered-user"/> <ui:variable name="entered-password"/> <ui:variable name="session" type="dialog"/> <ui:variable name="session_lang"><ui:string-value>en</ui:string-value></ui:variable> <ui:variable name="bad-password"> <ui:string-value>no</ui:string-value> </ui:variable> <ui:variable name="version"/> <ui:page name="home"> <t:start-grid> <p:main-col> <ui:form action-suffix="/../auth"> <div class="app-title-pos"> <t:vspacer size="50"/> <div class="app-title-text">&application-name;</div> <t:vspacer size="20"/> <div class="app-author-text"> <q:start-text-wdialog-version/> </div> <t:vspacer size="20"/> <div> <q:start-text-no-warranty/> </div> <t:vspacer size="50"/> <table> <tr> <td> </td> <td> <ui:cond> <ui:if value1="&login-dialog;" value2="yes"> <table class="app-login-text"> <ui:if value1="$[bad-password]" value2="yes"> <tr> <td class="app-error">$[m(Error)]:</td> <td class="app-error">$[m(No_such_user_or_bad_password)]</td> <td> </td> </tr> </ui:if> <tr> <td>$[m(User_name)]:</td> <td><ui:text variable="entered-user" tabindex="1"/> </td> <td rowspan="2"> > <ui:button name="login" label="$[m(Login)]" tabindex="3"/> </td> </tr> <tr> <td>$[m(Password)]:</td> <td><ui:password variable="entered-password" tabindex="2"/> </td> </tr> </table> </ui:if> <ui:true><!-- else: --> <div class="app-login-text"> >>> <ui:button name="start" label="$[m(Start)]"/> </div> </ui:true> </ui:cond> </td> </tr> <tr><td><t:vspacer size="20"/></td></tr> <tr> <td> </td> <td>$[m(Browser_capabilities)]</td> </tr> <tr> <td align="right">$[m(Grid_style)]:</td> <td><ui:select variable="session.grid"/></td> </tr> <tr> <td align="right">$[m(Remember_style)]:</td> <td><ui:checkbox variable="session.grid-cookie" value="yes"/> (Selected style is stored in a cookie)</td> </tr> </table> </div> <input type="hidden" name="var_session.js-enabled" value="no"/> </ui:form> </p:main-col> <p:html-foot> <script language="javascript"> <ui:special> document.uiform.elements["var_session.js-enabled"].value = "yes"; </ui:special> </script> </p:html-foot> </t:start-grid> </ui:page> <ui:variable name="runtime-error"/> </ui:dialog> <ui:template name="start-text-wdialog-version" xml:lang="en"> WTimer Version $[version], Copyright 2003 by Gerd Stolpmann </ui:template> <ui:template name="start-text-no-warranty" xml:lang="en"> WTimer comes with <i>absolutely <a href="&static-url-prefix;gpl.html#nowarranty">no warranty</a></i>. This is free software,<br/>and you are welcome to redistribute it under certain <a href="&static-url-prefix;gpl.html#distribute">conditions</a>. </ui:template> <ui:template name="fatal-error"> <!-- This template is used when a fatal error occurs. --> <!-- Note: Because this template is instantiated outside the normal - wdialog processing environment, most of the form-based features - are not available. --> <t:start-grid> <p:main-col> <div class="fatal-error"> <h1>Fatal error of the WTimer application</h1> <t:error errid="$[runtime-error]"/> <!-- <ui:button name="cont-error" label="Continue"/> --> </div> </p:main-col> </t:start-grid> </ui:template> <!-- ******************* For Emacs: ********************* --> <!-- Local Variables: mode: xml sgml-parent-document: ("main.ui" "ui:application" "ui:dialog") End: -->