mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
🎨 Minor imprvments to code structure
This commit is contained in:
parent
2190b6eb84
commit
4b291808f2
@ -3,26 +3,31 @@
|
||||
:name="modalName" @closed="close"
|
||||
:resizable="true" width="40%" height="40%" classes="dashy-modal">
|
||||
<div class="move-menu-inner">
|
||||
<!-- Title and item ID -->
|
||||
<h3 class="move-title">Move or Copy Item</h3>
|
||||
<p class="item-id">Editing {{ itemId }}</p>
|
||||
<!-- Radio, for move or copy -->
|
||||
<Radio
|
||||
v-model="operation"
|
||||
:options="['Move', 'Copy']"
|
||||
label="Operation Type"
|
||||
:initialOption="operation"
|
||||
/>
|
||||
<!-- Select destionation section -->
|
||||
<Select
|
||||
v-model="selectedSection"
|
||||
:options="sectionList"
|
||||
:initialOption="selectedSection"
|
||||
label="Destination"
|
||||
/>
|
||||
<!-- Radio, for choosing append to beginning or end -->
|
||||
<Radio
|
||||
v-model="appendTo"
|
||||
:options="['Begining', 'End']"
|
||||
label="Append To"
|
||||
:initialOption="appendTo"
|
||||
/>
|
||||
<!-- Save and cancel buttons -->
|
||||
<SaveCancelButtons :saveClick="save" :cancelClick="close" />
|
||||
</div>
|
||||
</modal>
|
||||
|
@ -42,6 +42,7 @@
|
||||
:statusCheckAllowInsecure="item.statusCheckAllowInsecure"
|
||||
@itemClicked="$emit('itemClicked')"
|
||||
@triggerModal="triggerModal"
|
||||
:isAddNew="false"
|
||||
/>
|
||||
<!-- When in edit mode, show additional item, for Add New item -->
|
||||
<Item v-if="isEditMode"
|
||||
|
@ -63,7 +63,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
<style scoped lang="scss">
|
||||
|
||||
div.context-menu {
|
||||
position: absolute;
|
||||
|
Loading…
x
Reference in New Issue
Block a user