This commit is contained in:
sanjayk03-dev
2024-05-31 14:55:28 +05:30
parent b3692d2239
commit 99c833a106
2 changed files with 3 additions and 11 deletions

View File

@@ -323,11 +323,10 @@ script#control-view-template(type="text/x-template")
message.error-message(:show.sync="deleteGCode")
h3(slot="header") Select files to delete:
div(slot="body")
.search-bar
input(type="text" v-model="search_query" placeholder="Search Files...")
input.search-bar(type="text" v-model="search_query" placeholder="Search Files...")
.container
.folders
div(v-for="(folder, index) in state.gcode_list" :key="index" @click="populateFiles(index)" class="folder-item") {{ folder.name }}
div(v-for="(index, folder) in state.gcode_list" :key="index" @click="populateFiles(index)" class="folder-item") {{ folder.name }}
.files
label.file-item(v-for="item in gcode_filtered_files" :key="item")
input(type="checkbox" :value="item" v-model="selected_items_to_delete")

View File

@@ -301,7 +301,6 @@ span.unit
.container
display flex
width 100%
height 100vh
.folders
width 30%
@@ -314,15 +313,9 @@ span.unit
padding 10px
overflow-y auto
.folder-item, .file-item
padding: 5px
cursor: pointer
.folder-item:hover, .file-item:hover
background-color #f0f0f0
.search-bar
margin-bottom 10px
width 50%
table
border-collapse collapse