Skip to content

Commit

Permalink
#410 Clearer DrawTool Template Date Start/End Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Aug 14, 2023
1 parent 8343848 commit 9b60d97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/essence/Tools/Draw/DrawTool_Templater.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
#drawToolTemplater_setTime > div {
display: flex !important;
justify-content: center;;
justify-content: center;
text-align: center;
flex: 1;
background: var(--color-a1);
Expand Down Expand Up @@ -201,6 +201,11 @@
background: var(--color-a1-5);
color: var(--color-a7);
}
.drawToolTemplaterLiBody_slider_default,
.drawToolTemplaterLiBody_number_default,
.drawToolTemplaterLiBody_text_regex {
flex: 1;
}

.drawToolTemplaterLi {
list-style-type: none;
Expand Down
4 changes: 2 additions & 2 deletions src/essence/Tools/Draw/DrawTool_Templater.js
Original file line number Diff line number Diff line change
Expand Up @@ -834,11 +834,11 @@ const DrawTool_Templater = {
`<div id='drawToolTemplaterLiBody_${idx}_format' class='drawToolTemplaterLiBodyDropdown_format ui dropdown short' value='${opts.format != null ? opts.format : DrawTool_Templater._DATE_FORMATS[0]}'></div>`,
"</div>",
`<div class='drawToolTemplaterLiBody_${type}_isStart'>`,
`<div title="Use this field as the feature's Start Time">S: </div>`,
`<div title="Use this field as the feature's Start Time">S<i class='mdi mdi-clock-out mdi-18px'></i>: </div>`,
`<div class="mmgis-checkbox"><input type="checkbox" ${opts.isStart === true ? 'checked ' : ''}id="design-date-checkbox-${idx}-start"/><label for="design-date-checkbox-${idx}-start"></label></div>`,
"</div>",
`<div class='drawToolTemplaterLiBody_${type}_isEnd'>`,
`<div title="Use this field as the feature's End Time">E: </div>`,
`<div title="Use this field as the feature's End Time">E<i class='mdi mdi-clock-in mdi-18px'></i>: </div>`,
`<div class="mmgis-checkbox"><input type="checkbox" ${opts.isEnd === true ? 'checked ' : ''}id="design-date-checkbox-${idx}-end"/><label for="design-date-checkbox-${idx}-end"></label></div>`,
"</div>",
`<div class='drawToolTemplaterLiBody_${type}_required'>`,
Expand Down

0 comments on commit 9b60d97

Please sign in to comment.