macros button io

This commit is contained in:
sanjayk03-dev
2024-06-04 02:24:29 +05:30
parent 6cf9cb6861
commit 7304937f1c
2 changed files with 7 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ script#macros-template(type="text/x-template")
button.pure-button.button-error(@click="delete_all_macros") button.pure-button.button-error(@click="delete_all_macros")
| Reset | Reset
button.config-button.button-blue(title="Add a Macros", @click="addMacros=true", style="margin-left:5px") New Macro button.config-button.button-blue(title="Add a Macros", @click="addMacros=true") New Macro
message(:show.sync="addMacros") message(:show.sync="addMacros")
div(slot="header") div(slot="header")
@@ -61,7 +61,7 @@ script#macros-template(type="text/x-template")
button.pure-button(@click="addMacros = false") Cancel button.pure-button(@click="addMacros = false") Cancel
button.pure-button.button-submit(@click="add_new_macro") Add button.pure-button.button-submit(@click="add_new_macro") Add
button.config-button.button-blue(title="Delete a Macros", @click="deleteSelected=true", style="margin-left:5px;width:40%") Delete Selected Macro button.config-button.button-blue(title="Delete a Macros", @click="deleteSelected=true", style="width:210px") Delete Selected Macro
message(:show.sync="deleteSelected") message(:show.sync="deleteSelected")
div(slot="header") div(slot="header")
@@ -74,7 +74,7 @@ script#macros-template(type="text/x-template")
|  Yes |  Yes
a(download, title="Download Macros", :href="downloadMacrosUrl", style="text-decoration: none;") a(download, title="Download Macros", :href="downloadMacrosUrl", style="text-decoration: none;")
button.config-button.button-blue(style="margin-left:5px;") Download Macros button.config-button.button-blue(style="width:160px;") Download Macros
.warning-box .warning-box
p p
@@ -101,7 +101,7 @@ script#macros-template(type="text/x-template")
.flex-row-container .flex-row-container
select(id="gcode-select",title="Select previously uploaded GCode programs.",selected select(id="gcode-select",title="Select previously uploaded GCode programs.",selected
v-model="fileName",@change="load", :disabled="!is_ready", v-model="fileName",@change="load", :disabled="!is_ready",
style="max-width:100%;height:40px;border-radius:5px") style="max-width:100%;height:40px;border-radius:5px;margin-right:10px")
option( selected='' value='default') Create G-Code option( selected='' value='default') Create G-Code
option(v-for="file in macros_gcode_list", :value="file") {{file}} option(v-for="file in macros_gcode_list", :value="file") {{file}}

View File

@@ -691,7 +691,7 @@ span.unit
border-radius 5px border-radius 5px
border 0 border 0
margin-bottom 10px margin-bottom 10px
margin-right 200px margin-right 130px
margin-top 10px margin-top 10px
align-items center align-items center
justify-content center justify-content center
@@ -708,7 +708,7 @@ span.unit
.flex-row-container .flex-row-container
display flex display flex
flex-direction row flex-direction row
width 75% width 700px
margin-bottom 1rem margin-bottom 1rem
.tabs .tabs
@@ -733,7 +733,7 @@ span.unit
font-weight normal font-weight normal
border-radius 3px border-radius 3px
border 0 border 0
margin-left 1rem margin-right 10px
display flex display flex
align-items center align-items center
justify-content space-around justify-content space-around