diff --git a/views/css/d.poi.css b/views/css/d.poi.css index b2b5974..cbb1634 100755 --- a/views/css/d.poi.css +++ b/views/css/d.poi.css @@ -45,7 +45,6 @@ html, body { form.form input, form.form textarea, form.form input[type=radio]:checked+label, #locale { background: #ddd; border-bottom: 2px solid #ccc; - display: block; padding: 10px; } @@ -82,6 +81,7 @@ form.form h1 { form.form input[type=submit] { width: auto; + display: block; margin: 10px auto; border-bottom: 2px solid blue; } @@ -103,26 +103,41 @@ form.form input[type=radio]+label img { height: 32px; } -form.form .threecb:before { +#specific_form .threecb:after { font-family: "Font Awesome 5 Free"; font-weight: 400; vertical-align: middle; padding: 3px 8px 2px 4px; - margin: 5px 10px 5px 0; + margin: 2px 10px; display: inline-block; width: 21px; background: #ddd; font-size: 25px; } -form.form .threecb.check:before { +#specific_form .threecb.check:after { content: "\f058"; /* check */ } -form.form .threecb.uncheck:before { +#specific_form .threecb.uncheck:after { content: "\f057"; /* cross */ } -form.form .threecb.intermediate:before { +#specific_form .threecb.intermediate:after { content: "\f059"; /* question */ } +#specific_form input { + margin: 2px 10px; +} +#specific_form textarea { + margin: 5px 0; + display: block; + width: calc(100% - 20px); + height: 100px; +} +#specific_form .flex_line { + align-items: center; +} +#specific_form .flex_line input { + flex: 1; +} #abstract { text-align: center; diff --git a/views/d.poi.edit.html b/views/d.poi.edit.html index 126a34f..c572742 100755 --- a/views/d.poi.edit.html +++ b/views/d.poi.edit.html @@ -74,13 +74,16 @@ $.each(this[type+'_jsonform'],function(index, value){ switch(index.charAt(0)) { case 'b': - html_form+='
' + html_form+='
' break; case 'n': + html_form+='
' break; case 't': + html_form+='' break; case 'l': + html_form+='
' break; default: console.log("ERROR: "+index+"'s type is not known");