File modules/cms/ui/themes/default/html/views/login/login.tpl.src.xml
Last commit: Thu Mar 10 13:09:06 2022 +0100 dankert New: Remember some user inputs in the browser local storage.
1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> 3 <form cancel="false" label="${message:menu_login}" action="login" subaction="login" afterSuccess="reloadAll"> 4 <if true="${config:login/logo/enabled}"> 5 <if not="not" empty="${config:login/logo/url}"> 6 <link url="${config:login/logo/url}" target="_top"> 7 <image url="${config:login/logo/image}"/> 8 </link> 9 </if> 10 <else> 11 <image url="${config:login/logo/image}"/> 12 </else> 13 </if> 14 <if not="not" empty="${config:login/motd}"> 15 <part class="message info"> 16 <text value="${config:login/motd}"/> 17 </part> 18 </if> 19 <if true="${config:security/readonly}"> 20 <part class="message warn"> 21 <text value="${message:READONLY_DESC}"/> 22 </part> 23 </if> 24 25 <if false="${config:login/nologin}"> 26 27 <if true="${enableOpenIdConnect}"> 28 <group title="${message:login}"> 29 <list list="${provider}" key="name" value="label"> 30 <link class="btn" type="window" clickable="true" action="login" subaction="oidc" id="${name}"> 31 <text value="${label}"/> 32 </link> 33 </list> 34 </group> 35 </if> 36 37 <if true="${enableUserPasswordLogin}"> 38 <group title="${message:USER_USERNAME}"> 39 <fieldset label="${message:USER_USERNAME}"> 40 <if not="true" present="force_username"> 41 <input type="text" name="login_name" class="name" value="" hint="${message:USER_USERNAME}" 42 size="20" 43 maxlength="128" focus="true" required="true"/> 44 </if> 45 <else> 46 <hidden name="login_name"/> 47 <text value="${force_username}"/> 48 </else> 49 </fieldset> 50 <fieldset label="${message:USER_PASSWORD}"> 51 <password name="login_password" class="name" default="" size="20" 52 hint="${message:USER_PASSWORD}" 53 required="true"/> 54 <checkbox name="remember" default="false" label="${message:REMEMBER_ME}" remember="true"/> 55 </fieldset> 56 </group> 57 58 <group title="${message:USER_NEW_PASSWORD}" open="false" show="false"> 59 <fieldset label="${message:USER_NEW_PASSWORD}"> 60 <password name="password1" default="" size="25" 61 minlength="${config:security/password/min_length}" 62 hint="${message:USER_NEW_PASSWORD}"/> 63 <password name="password2" default="" size="25" 64 minlength="${config:security/password/min_length}" 65 hint="${message:USER_NEW_PASSWORD_REPEAT}"/> 66 </fieldset> 67 </group> 68 69 <group title="${message:USER_TOKEN}" open="false" show="false"> 70 <fieldset label="${message:USER_TOKEN}"> 71 <input name="user_token" default="" size="25" maxlength="30"/> 72 </fieldset> 73 </group> 74 75 <if value="${dbids}" greaterthan="1"> 76 <!-- More than 1 database available. --> 77 <group title="${message:DATABASE}" icon="database" open="true"> 78 <fieldset label="${message:DATABASE}"> 79 <selectbox name="dbid" list="dbids"/> 80 </fieldset> 81 </group> 82 </if> 83 <else> 84 <!-- Only 1 database is available. No input necessary. --> 85 <hidden name="dbid"/> 86 </else> 87 </if> 88 89 </if> 90 <else> 91 <part class="message error"> 92 <text value="${message:LOGIN_NOLOGIN_DESC}"/> 93 </part> 94 </else> 95 </form> 96 </output>
Downloadmodules/cms/ui/themes/default/html/views/login/login.tpl.src.xml
History Thu, 10 Mar 2022 13:09:06 +0100 dankert New: Remember some user inputs in the browser local storage. Sat, 31 Oct 2020 00:55:00 +0100 Jan Dankert Fix: OpenId-Connect-Buttons must be clickable; Fixed OpenId-Connect configuration. Sat, 31 Oct 2020 00:43:29 +0100 Jan Dankert New: Support for OpenId Connect; Removed: Support for LDAP. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Tue, 20 Oct 2020 22:10:15 +0200 Jan Dankert New form layout. Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Mon, 18 May 2020 00:09:14 +0200 Jan Dankert Fix: wellformed JSON-string in links. Sat, 16 May 2020 01:08:40 +0200 Jan Dankert Refactoring: Switching the ValueExpressions in the templates to the new VariableResolver for supporting nested variables like ${message:prefix_${key}}. Sun, 23 Feb 2020 23:21:22 +0100 Jan Dankert Fix: Path to template.xsd has changed on the last refactoring. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.