changed icons

This commit is contained in:
sanjayk03-dev
2024-05-04 03:45:41 +05:30
parent c24ce94f18
commit 10333888d5

View File

@@ -273,7 +273,7 @@ script#control-view-template(type="text/x-template")
.fa(:class="is_running ? 'fa-pause' : 'fa-play'")
button.pure-button(title="Stop program.", @click="stop", style="height:100px;width:100px;font-weight:normal")
img(src="images/stop.png")
img(src="images/stop.png" style="height: 22px;width: 22px;")
button.pure-button(title="Pause program at next optional stop (M1).",
@click="optional_pause", v-if="false", style="height:100px;width:100px;font-weight:normal")
@@ -295,7 +295,7 @@ script#control-view-template(type="text/x-template")
button.pure-button(title="Upload a new GCode folder.", @click="open_folder",
:disabled="!is_ready",style="height:100px;width:100px;font-weight:normal")
.fa.fa-folder
img(src="images/upload_folder.png" style="height: 22px;width: 22px;")
form.gcode-folder-input.file-upload
input#folderInput(type="file", @change="upload_folder", :disabled="!is_ready",
@@ -303,7 +303,7 @@ script#control-view-template(type="text/x-template")
button.pure-button(title="Upload a new GCode program.", @click="open_file",
:disabled="!is_ready",style="height:100px;width:100px;font-weight:normal")
.fa.fa-folder-open
img(src="images/upload_gcode.png" style="height: 22px;width: 22px;")
form.gcode-file-input.file-upload
input(type="file", @change="upload_file", :disabled="!is_ready",
@@ -313,12 +313,12 @@ script#control-view-template(type="text/x-template")
:href="'/api/file/' + state.selected",
title="Download the selected GCode program.")
button.pure-button(:disabled="!state.selected", style="height:100px;width:100px")
.fa.fa-download
img(src="images/download_gcode.png" style="height: 22px;width: 22px;")
button.pure-button(title="Delete current GCode program.",
@click="deleteGCode = true",
:disabled="!state.selected || !is_ready",style="height:100px;width:100px;font-weight:normal")
.fa.fa-trash
img(src="images/delete_gcode.png" style="height: 22px;width: 22px;")
message(:show.sync="deleteGCode")
h3(slot="header") Delete G-Code?