liquid_feedback_frontend

changeset 371:74f768a162e1 v2.beta1

Minor style fixes
author bsw
date Thu Mar 01 22:56:35 2012 +0100 (2012-03-01)
parents d89ca4142dc5
children e7e3fc3df03d 76d7eafb3893
files app/main/_filter_view/30_navigation.lua app/main/admin/index.lua static/style.css
line diff
     1.1 --- a/app/main/_filter_view/30_navigation.lua	Thu Mar 01 12:27:59 2012 +0100
     1.2 +++ b/app/main/_filter_view/30_navigation.lua	Thu Mar 01 22:56:35 2012 +0100
     1.3 @@ -46,6 +46,7 @@
     1.4        }
     1.5      }
     1.6    end
     1.7 +
     1.8    if app.session.member == nil then
     1.9      ui.link{
    1.10        text   = _"Registration",
     2.1 --- a/app/main/admin/index.lua	Thu Mar 01 12:27:59 2012 +0100
     2.2 +++ b/app/main/admin/index.lua	Thu Mar 01 22:56:35 2012 +0100
     2.3 @@ -1,26 +1,26 @@
     2.4  slot.put_into("title", _"Admin menu")
     2.5  
     2.6  
     2.7 -ui.link{
     2.8 -  text = _"Policies",
     2.9 -  module = "admin",
    2.10 -  view = "policy_list",
    2.11 -}
    2.12 -
    2.13 -slot.put("<br /><br />")
    2.14 -
    2.15 -
    2.16 -ui.link{
    2.17 -  text = _"Units",
    2.18 -  module = "admin",
    2.19 -  view = "unit_list",
    2.20 -}
    2.21 -
    2.22 -  slot.put("<br /><br />")
    2.23 -
    2.24 -ui.link{
    2.25 -  text = _"Members",
    2.26 -  module = "admin",
    2.27 -  view = "member_list",
    2.28 -}
    2.29 -
    2.30 +ui.tag{ tag = "ul", content = function()
    2.31 +  ui.tag{ tag= "li", content = function()
    2.32 +    ui.link{
    2.33 +      text = _"Policies",
    2.34 +      module = "admin",
    2.35 +      view = "policy_list",
    2.36 +    }
    2.37 +  end }
    2.38 +  ui.tag{ tag= "li", content = function()
    2.39 +    ui.link{
    2.40 +      text = _"Units",
    2.41 +      module = "admin",
    2.42 +      view = "unit_list",
    2.43 +    }
    2.44 +  end }
    2.45 +  ui.tag{ tag= "li", content = function()
    2.46 +    ui.link{
    2.47 +      text = _"Members",
    2.48 +      module = "admin",
    2.49 +      view = "member_list",
    2.50 +    }
    2.51 +  end }
    2.52 +end }
    2.53 \ No newline at end of file
     3.1 --- a/static/style.css	Thu Mar 01 12:27:59 2012 +0100
     3.2 +++ b/static/style.css	Thu Mar 01 22:56:35 2012 +0100
     3.3 @@ -25,7 +25,9 @@
     3.4    color: black;
     3.5    background: white;
     3.6  }
     3.7 -
     3.8 +li {
     3.9 +  line-height: 133%;
    3.10 +}
    3.11  p {
    3.12    margin-top: 2ex;
    3.13    margin-bottom: 2ex;
    3.14 @@ -46,6 +48,7 @@
    3.15  
    3.16  body {
    3.17    background: #fff;
    3.18 +  line-height: 120%:
    3.19  }
    3.20  
    3.21  body, th, td {
    3.22 @@ -56,6 +59,10 @@
    3.23    margin: 0;
    3.24  }
    3.25  
    3.26 +table {
    3.27 +  margin-top: 1ex;
    3.28 +}
    3.29 +
    3.30  .area_list {
    3.31    line-height: 140%;
    3.32  }
    3.33 @@ -671,6 +678,10 @@
    3.34   * vertical ui.form
    3.35   */
    3.36  
    3.37 +.vertical {
    3.38 +  margin-top: 2ex;
    3.39 +}
    3.40 +
    3.41  .login input[type=text],
    3.42  .vertical input[type=text],
    3.43  .login input[type=password],

Impressum / About Us