# HG changeset patch # User bsw # Date 1633941452 -7200 # Node ID b94cf0ea59426ef0494d6b3e3df52fcb7cbc4fd4 # Parent e39206c7c4eaba1e224c6dd074a5b5ef16ee81ce Changed layout of survey diff -r e39206c7c4ea -r b94cf0ea5942 app/main/survey/participate.lua --- a/app/main/survey/participate.lua Mon Oct 11 09:52:42 2021 +0200 +++ b/app/main/survey/participate.lua Mon Oct 11 10:37:32 2021 +0200 @@ -29,9 +29,10 @@ ui.grid{ content = function() ui.cell_main{ content = function() - ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() + ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp survey" }, content = function() ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function() ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = survey.title } +--[[ ui.container{ content = _( "This survey closes in #{closing}.", @@ -39,6 +40,7 @@ ) } end } +--]] ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function() if survey_member.finished then ui.container{ content = function() diff -r e39206c7c4ea -r b94cf0ea5942 static/lf4.css --- a/static/lf4.css Mon Oct 11 09:52:42 2021 +0200 +++ b/static/lf4.css Mon Oct 11 10:37:32 2021 +0200 @@ -741,6 +741,11 @@ margin-top: 0; } +.survey h2 { + font-size: 20px; + line-height: 24px; +} + .trace_list { margin-left: 10px; list-style-type: none;