msaltnet / T.Viewer

Cross Platform Tizen Log Viewer
https://blog.msalt.net/313
MIT License
15 stars 7 forks source link

[task] file loading 버튼 만들기 #64

Open msaltnet opened 3 years ago

msaltnet commented 3 years ago

power 버튼 옆에 from file 버튼 생성 power on 상태에서는 비활성화 되고, power off 상태에만 활성화 되기.

https://materialdesignicons.com/ open tag 에서 folder-open 아이콘 사용

msaltnet commented 3 years ago

app.vue

      <v-switch
        dense
        hide-details
        color="red"
        v-model="switchListen"
        v-on:change="onSwitchChange"
        prepend-icon="mdi-power"
        class="mx-1"
        :disabled="state!='connected'"
      ></v-switch>

참고

msaltnet commented 3 years ago

loading 기능은 버튼 없이 아래 동작으로 처리, main tab이 비어있을때 drag and drop or select a file https://rowanwins.github.io/vue-dropzone/docs/dist/#/custom-html https://dev-josh.tistory.com/6