liquid_feedback_frontend
changeset 1740:b94cf0ea5942
Changed layout of survey
author | bsw |
---|---|
date | Mon Oct 11 10:37:32 2021 +0200 (2021-10-11) |
parents | e39206c7c4ea |
children | 772c18d87b54 |
files | app/main/survey/participate.lua static/lf4.css |
line diff
1.1 --- a/app/main/survey/participate.lua Mon Oct 11 09:52:42 2021 +0200 1.2 +++ b/app/main/survey/participate.lua Mon Oct 11 10:37:32 2021 +0200 1.3 @@ -29,9 +29,10 @@ 1.4 ui.grid{ content = function() 1.5 ui.cell_main{ content = function() 1.6 1.7 - ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() 1.8 + ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp survey" }, content = function() 1.9 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function() 1.10 ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = survey.title } 1.11 +--[[ 1.12 ui.container{ 1.13 content = _( 1.14 "This survey closes in #{closing}.", 1.15 @@ -39,6 +40,7 @@ 1.16 ) 1.17 } 1.18 end } 1.19 +--]] 1.20 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function() 1.21 if survey_member.finished then 1.22 ui.container{ content = function()
2.1 --- a/static/lf4.css Mon Oct 11 09:52:42 2021 +0200 2.2 +++ b/static/lf4.css Mon Oct 11 10:37:32 2021 +0200 2.3 @@ -741,6 +741,11 @@ 2.4 margin-top: 0; 2.5 } 2.6 2.7 +.survey h2 { 2.8 + font-size: 20px; 2.9 + line-height: 24px; 2.10 +} 2.11 + 2.12 .trace_list { 2.13 margin-left: 10px; 2.14 list-style-type: none;