Sectioning unsupported Toollist
This commit is contained in:
@@ -8,7 +8,7 @@ script#tool-view-template(type="text/x-template")
|
||||
label(for="tool-type") tool-type
|
||||
|
||||
select(v-model="config.tool['selected-tool']", name="tool-type", @change="change_selected_tool")
|
||||
option(v-for="tool in toolList", :value="tool.id", :disabled="tool.disabled") {{tool.name}}
|
||||
option(v-for="tool in toolList", :value="tool.id", :disabled="tool.disabled", :class="{ 'heading-option': tool.disabled }") {{tool.name}}
|
||||
|
||||
templated-input(v-for="templ in template.tool",
|
||||
:name="$key", v-if="show_tool_settings($key)"
|
||||
|
||||
@@ -1255,3 +1255,13 @@ tt.save
|
||||
.input-field
|
||||
margin-top 10px
|
||||
|
||||
select .heading-option
|
||||
font-weight bold
|
||||
font-style italic
|
||||
background-color #f0f0f0
|
||||
color #555
|
||||
padding 5px
|
||||
cursor default
|
||||
|
||||
select .heading-option + option
|
||||
margin-top 5px
|
||||
|
||||
Reference in New Issue
Block a user