diff options
author | Zero~Informatique | 2019-12-22 07:40:55 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-22 07:40:55 +0100 |
commit | dc251fffc2998f1cf4f8e9631928c4b92ac0d90e (patch) | |
tree | 2d0fbf73d63ce2c1f02bde7385688c45eb2a260a /viewer/src/components | |
parent | 65465dd7d76b5729b62e39711004529e8d444241 (diff) | |
download | ldgallery-dc251fffc2998f1cf4f8e9631928c4b92ac0d90e.tar.gz |
viewer: Implemented the search by tags. Pushed the special urls to ENV.
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdModeRadio.vue | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/viewer/src/components/LdModeRadio.vue b/viewer/src/components/LdModeRadio.vue new file mode 100644 index 0000000..614bf33 --- /dev/null +++ b/viewer/src/components/LdModeRadio.vue | |||
@@ -0,0 +1,22 @@ | |||
1 | <template> | ||
2 | <div class="flex"> | ||
3 | <b-radio-button v-model="$uiStore.mode" native-value="navigation" type="is-green"> | ||
4 | <fa-icon icon="folder" /> | ||
5 | <span>{{$t('mode.navigation')}}</span> | ||
6 | </b-radio-button> | ||
7 | <b-radio-button v-model="$uiStore.mode" native-value="search" type="is-purple"> | ||
8 | <fa-icon icon="search" /> | ||
9 | <span>{{$t('mode.search')}}</span> | ||
10 | </b-radio-button> | ||
11 | </div> | ||
12 | </template> | ||
13 | |||
14 | <script lang="ts"> | ||
15 | import { Component, Vue } from "vue-property-decorator"; | ||
16 | |||
17 | @Component | ||
18 | export default class LdModeRadio extends Vue {} | ||
19 | </script> | ||
20 | |||
21 | <style lang="scss"> | ||
22 | </style> | ||