created tabs for macros and buttons in control-view

This commit is contained in:
sanjayk03-dev
2024-01-02 14:54:53 +05:30
parent 6aaf167d4e
commit 06b1cde647
6 changed files with 148 additions and 41 deletions

View File

@@ -207,11 +207,19 @@ script#control-view-template(type="text/x-template")
label {{(progress || 0) | percent}}
.bar(:style="'width:' + (progress || 0) * 100 + '%'")
.macros-div
.macros-buttons(class="present",v-if="isMacrosPresent")
p there is a active macro
.macros-buttons(class ="absent",v-if="!isMacrosPresent")
p there is No macro
.macros-div(class="present")
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(0)",style="height:100px;width:100px;font-weight:normal") Macros 1
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(1)",style="height:100px;width:100px;font-weight:normal") Macros 2
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(2)",style="height:100px;width:100px;font-weight:normal") Macros 3
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(3)",style="height:100px;width:100px;font-weight:normal") Macros 4
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(4)",style="height:100px;width:100px;font-weight:normal") Macros 5
button.macros-buttons(title="Edit Macros 1", @click="open",
:disabled="!isMacrosPresent(5)",style="height:100px;width:100px;font-weight:normal") Macros 6
.tabs