removed all except id and name in config_file

This commit is contained in:
sanjayk03-dev
2024-01-02 15:22:16 +05:30
parent 7302c955de
commit 7cc1a4a023
2 changed files with 17 additions and 40 deletions

View File

@@ -590,58 +590,29 @@
"default":[ "default":[
{ {
"id" : 1, "id" : 1,
"name" : "", "name": "Macros 1"
"color":"#d9d9d9",
"gcode":""
}, },
{ {
"id" : 2, "id" : 2,
"name" : "", "name": "Macros 2"
"color":"#d9d9d9",
"gcode":""
}, },
{ {
"id" : 3, "id" : 3,
"name" : "", "name": "Macros 3"
"color":"#d9d9d9",
"gcode":""
}, },
{ {
"id" : 4, "id" : 4,
"name" : "", "name": "Macros 4"
"color":"#d9d9d9",
"gcode":""
}, },
{ {
"id" : 5, "id" : 5,
"name" : "", "name": "Macros 5"
"color":"#d9d9d9",
"gcode":""
}, },
{ {
"id" : 6, "id" : 6,
"name" : "", "name": "Macros 6"
"color":"#d9d9d9",
"gcode":""
} }
], ]
"template": {
"id": {
"type": "int"
},
"name": {
"type": "text",
"default": ""
},
"color": {
"type": "text",
"default":""
},
"gcode": {
"type": "text",
"default":""
}
}
}, },
"admin": { "admin": {

View File

@@ -621,6 +621,11 @@ span.unit
margin 10px margin 10px
margin-left 50px margin-left 50px
.macros
width 90%
.tabs
margin-top 5px
.submit-macros .submit-macros
height 50px height 50px
@@ -631,6 +636,7 @@ span.unit
border 0 border 0
.path-viewer .path-viewer
table table
margin 0.25em margin 0.25em
@@ -1059,8 +1065,8 @@ tt.save
width 95% width 95%
.macros-form .macros-form
padding-left 50px padding 30px
padding-top 50px
input.input-name input.input-name
width 300px width 300px