liquid_feedback_frontend
diff app/main/index/login.lua @ 5:afd9f769c7ae
Version beta1
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
| author | bsw/jbe |
|---|---|
| date | Fri Dec 25 12:00:00 2009 +0100 (2009-12-25) |
| parents | 768faea1096d |
| children | 77d58efe99fd |
line diff
1.1 --- a/app/main/index/login.lua Thu Dec 10 12:00:00 2009 +0100 1.2 +++ b/app/main/index/login.lua Fri Dec 25 12:00:00 2009 +0100 1.3 @@ -1,3 +1,15 @@ 1.4 +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." 1.5 + 1.6 +ui.script{ static = "js/browser_warning.js" } 1.7 +ui.script{ script = "checkBrowser(" .. encode.json(_"Your web browser is not fully supported yet." .. " " .. warning_text:gsub("\n", "\n\n")) .. ");" } 1.8 + 1.9 +ui.tag{ 1.10 + tag = "noscript", 1.11 + content = function() 1.12 + slot.put(_"JavaScript is disabled or not available." .. " " .. encode.html_newlines(warning_text)) 1.13 + end 1.14 +} 1.15 + 1.16 slot.put_into("title", encode.html(config.app_title)) 1.17 1.18 ui.tag{ 1.19 @@ -24,7 +36,7 @@ 1.20 content = function() 1.21 ui.field.text{ 1.22 attr = { id = "username_field" }, 1.23 - label = _'Username', 1.24 + label = _'login name', 1.25 html_name = 'login', 1.26 value = '' 1.27 }