# HG changeset patch # User Goffi # Date 1619704514 -7200 # Node ID 45499870bbf46cde6b5203be442b9ec2c790fe72 # Parent b7e5ce6bc82d22499d695553d5fab1ebb3888930 bulma: new `editor` templates: Those template design element needed for editing items such as blog posts. Elements for a "Tags Editor" are implemented. diff -r b7e5ce6bc82d -r 45499870bbf4 sat_templates/templates/bulma/editor/tag.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/editor/tag.html Thu Apr 29 15:55:14 2021 +0200 @@ -0,0 +1,10 @@ +{# display a tag element which can be removed + + if the locale differs from item language, it will be totally reduced, and will need a click to be displayed + + @variable label: +#} + + {{label}} + + diff -r b7e5ce6bc82d -r 45499870bbf4 sat_templates/templates/bulma/editor/tags_editor.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/editor/tags_editor.html Thu Apr 29 15:55:14 2021 +0200 @@ -0,0 +1,9 @@ +{# field to editor tags + + This field will hide and sync original form input field +#} + + +
+ +
diff -r b7e5ce6bc82d -r 45499870bbf4 sat_templates/templates/bulma/static/styles.css --- a/sat_templates/templates/bulma/static/styles.css Thu Apr 29 15:53:31 2021 +0200 +++ b/sat_templates/templates/bulma/static/styles.css Thu Apr 29 15:55:14 2021 +0200 @@ -171,6 +171,16 @@ transition: opacity 0.5s ease-out, transform 0.5s ease-out; } +/********** + * editor * + **********/ + +.tag_input { + flex-grow: 1; + margin-bottom: 0.5rem; + width: auto; +} + /*********** * dialogs *