liquid_feedback_frontend

view app/main/index/login.lua @ 6:8d91bccab0bf

Version beta2

Possibility to browse voters of a closed issue

Registration with invite code

Email confirmation and password recovery

Download function (for database dumps) added

Critical bug solved, which made it impossible to select your opinion on other peoples suggestions

Catching error, when trying to set an opinion on a suggestion which has been meanwhile deleted

Fixed wrong sorting order for "supporters" or "potential supporters"

Added format info for birthday (Error when entering dates in wrong format is NOT fixed in this release)

Strip space characters from certain fields and ensure they contain at least 3 characters

Showing grade in opinion/list as clear text instead of integer value

More information on initiative is displayed while voting

Colored notification box shown on pages of issues or initiatives which are currently in voting state

Changed default filter for issues to "Open"

Back link on suggestion page

Some optical changes

Removed wrong space character in LICENSE file
author bsw/jbe
date Sat Jan 02 12:00:00 2010 +0100 (2010-01-02)
parents afd9f769c7ae
children 77d58efe99fd
line source
1 local warning_text = _"Some JavaScript based functions (voting in particular) will not work.\nFor this beta, please use a current version of Firefox, Safari, Opera(?), Konqueror or another (more) standard compliant browser.\nAlternative access without JavaScript will be available soon."
3 ui.script{ static = "js/browser_warning.js" }
4 ui.script{ script = "checkBrowser(" .. encode.json(_"Your web browser is not fully supported yet." .. " " .. warning_text:gsub("\n", "\n\n")) .. ");" }
6 ui.tag{
7 tag = "noscript",
8 content = function()
9 slot.put(_"JavaScript is disabled or not available." .. " " .. encode.html_newlines(warning_text))
10 end
11 }
13 slot.put_into("title", encode.html(config.app_title))
15 ui.tag{
16 tag = 'p',
17 content = _'You need to be logged in, to use this system.'
18 }
20 ui.form{
21 attr = { class = "login" },
22 module = 'index',
23 action = 'login',
24 routing = {
25 ok = {
26 mode = 'redirect',
27 module = 'index',
28 view = 'index'
29 },
30 error = {
31 mode = 'forward',
32 module = 'index',
33 view = 'login',
34 }
35 },
36 content = function()
37 ui.field.text{
38 attr = { id = "username_field" },
39 label = _'login name',
40 html_name = 'login',
41 value = ''
42 }
43 ui.script{ script = 'document.getElementById("username_field").focus();' }
44 ui.field.password{
45 label = _'Password',
46 html_name = 'password',
47 value = ''
48 }
49 ui.submit{
50 text = _'Login'
51 }
52 end
53 }

Impressum / About Us