liquid_feedback_frontend

annotate app/main/index/login.lua @ 3:768faea1096d

Version alpha4

Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.

Initiatives may provide a link to an external discussion platform

Direct link on every initiative page to create an alternative initiative

Bugfix: No error when clicking "neutral", when "neutral" is currently selected
author bsw
date Mon Nov 30 12:00:00 2009 +0100 (2009-11-30)
parents 3bfb2fcf7ab9
children afd9f769c7ae
rev   line source
bsw/jbe@0 1 slot.put_into("title", encode.html(config.app_title))
bsw/jbe@0 2
bsw/jbe@0 3 ui.tag{
bsw/jbe@0 4 tag = 'p',
bsw@3 5 content = _'You need to be logged in, to use this system.'
bsw/jbe@0 6 }
bsw/jbe@0 7
bsw/jbe@0 8 ui.form{
bsw/jbe@0 9 attr = { class = "login" },
bsw/jbe@0 10 module = 'index',
bsw/jbe@0 11 action = 'login',
bsw/jbe@0 12 routing = {
bsw/jbe@0 13 ok = {
bsw/jbe@0 14 mode = 'redirect',
bsw/jbe@0 15 module = 'index',
bsw/jbe@0 16 view = 'index'
bsw/jbe@0 17 },
bsw/jbe@0 18 error = {
bsw/jbe@0 19 mode = 'forward',
bsw/jbe@0 20 module = 'index',
bsw/jbe@0 21 view = 'login',
bsw/jbe@0 22 }
bsw/jbe@0 23 },
bsw/jbe@0 24 content = function()
bsw/jbe@0 25 ui.field.text{
bsw/jbe@0 26 attr = { id = "username_field" },
bsw/jbe@0 27 label = _'Username',
bsw/jbe@0 28 html_name = 'login',
bsw/jbe@0 29 value = ''
bsw/jbe@0 30 }
bsw/jbe@0 31 ui.script{ script = 'document.getElementById("username_field").focus();' }
bsw/jbe@0 32 ui.field.password{
bsw/jbe@0 33 label = _'Password',
bsw/jbe@0 34 html_name = 'password',
bsw/jbe@0 35 value = ''
bsw/jbe@0 36 }
bsw/jbe@0 37 ui.submit{
bsw/jbe@0 38 text = _'Login'
bsw/jbe@0 39 }
bsw/jbe@0 40 end
bsw/jbe@0 41 }

Impressum / About Us