Mercurial > gemma
changeset 4199:8509d80b85a1 stylesconfig
style-config: implement waterway profiles style-field
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 08 Aug 2019 17:16:20 +0200 |
parents | e3210c87f497 |
children | 5cee71c929d1 |
files | client/src/components/systemconfiguration/ColorSettings.vue |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/ColorSettings.vue Thu Aug 08 16:23:17 2019 +0200 +++ b/client/src/components/systemconfiguration/ColorSettings.vue Thu Aug 08 17:16:20 2019 +0200 @@ -4,7 +4,7 @@ <div class="row"> <div v-for="f in features" :key="f.key" class="column n ml-4"> <div class="row-sm-2 mt-1"> - <div class="card"> + <div v-if="f.fillColor" class="card"> <div class="card-header small text-left"> <translate>{{ f.name }} Fill Color</translate> </div> @@ -14,7 +14,7 @@ </div> </div> <div class="row-sm-2 mt-1"> - <div class="card"> + <div v-if="f.strokeColor" class="card"> <div class="card-header small font-weight text-left"> <translate>{{ f.name }} Border Color</translate> </div> @@ -118,6 +118,10 @@ name: "LOS_3", fillColor: initFColor, strokeColor: initSColor + }, + { + name: "Waterway profiles", + strokeColor: initSColor } ] }; @@ -165,6 +169,11 @@ defaults.feature_colours_fairwaydimensionslos3_fill; break; } + case "Waterway profiles": { + feature.strokeColor = + defaults.feature_colours_waterwayprofiles_stroke; + break; + } } }, submit(feature) {