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":[
{
"id" : 1,
"name" : "",
"color":"#d9d9d9",
"gcode":""
"name": "Macros 1"
},
{
"id" : 2,
"name" : "",
"color":"#d9d9d9",
"gcode":""
"name": "Macros 2"
},
{
"id" : 3,
"name" : "",
"color":"#d9d9d9",
"gcode":""
"name": "Macros 3"
},
{
"id" : 4,
"name" : "",
"color":"#d9d9d9",
"gcode":""
"name": "Macros 4"
},
{
"id" : 5,
"name" : "",
"color":"#d9d9d9",
"gcode":""
"name": "Macros 5"
},
{
"id" : 6,
"name" : "",
"color":"#d9d9d9",
"gcode":""
}
],
"template": {
"id": {
"type": "int"
},
"name": {
"type": "text",
"default": ""
},
"color": {
"type": "text",
"default":""
},
"gcode": {
"type": "text",
"default":""
}
"name": "Macros 6"
}
]
},
"admin": {

View File

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