diff --git a/src/components/EditItem.vue b/src/components/EditItem.vue index 1baf3a0..bfced4a 100644 --- a/src/components/EditItem.vue +++ b/src/components/EditItem.vue @@ -1,100 +1,46 @@ diff --git a/src/components/Modal.vue b/src/components/Modal.vue index b817f36..9888b1e 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -65,8 +65,8 @@ export default { } /* Hacky Fix, for this Issue: https://hannover.ccc.de/gitlab/c3lf/lffrontend/issues/26 */ - .modal-body { + /*.modal-body { max-height: calc(100vh - 200px); overflow-y: auto; - } + }*/ \ No newline at end of file diff --git a/src/components/inputs/Addon.vue b/src/components/inputs/Addon.vue new file mode 100644 index 0000000..a5a94cf --- /dev/null +++ b/src/components/inputs/Addon.vue @@ -0,0 +1,50 @@ + + + diff --git a/src/components/inputs/InputCombo.vue b/src/components/inputs/InputCombo.vue new file mode 100644 index 0000000..cab87bc --- /dev/null +++ b/src/components/inputs/InputCombo.vue @@ -0,0 +1,65 @@ + + + diff --git a/src/components/inputs/InputPhoto.vue b/src/components/inputs/InputPhoto.vue new file mode 100644 index 0000000..801c551 --- /dev/null +++ b/src/components/inputs/InputPhoto.vue @@ -0,0 +1,95 @@ + + + \ No newline at end of file diff --git a/src/components/inputs/InputString.vue b/src/components/inputs/InputString.vue new file mode 100644 index 0000000..28beae0 --- /dev/null +++ b/src/components/inputs/InputString.vue @@ -0,0 +1,29 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 75b5229..a9d0535 100644 --- a/src/main.js +++ b/src/main.js @@ -11,10 +11,10 @@ import 'bootstrap/dist/js/bootstrap.min.js'; // fontawesome import { library } from '@fortawesome/fontawesome-svg-core'; -import { faPlus, faCheckCircle, faEdit, faTrash, faCat, faSyncAlt, faSort, faSortUp, faSortDown, faTh, faList, faWindowClose, faCamera, faStop } from '@fortawesome/free-solid-svg-icons'; +import { faPlus, faCheckCircle, faEdit, faTrash, faCat, faSyncAlt, faSort, faSortUp, faSortDown, faTh, faList, faWindowClose, faCamera, faStop, faPen, faCheck, faTimes } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; -library.add(faPlus, faCheckCircle, faEdit, faTrash, faCat, faSyncAlt, faSort, faSortUp, faSortDown, faTh, faList, faWindowClose, faCamera, faStop); +library.add(faPlus, faCheckCircle, faEdit, faTrash, faCat, faSyncAlt, faSort, faSortUp, faSortDown, faTh, faList, faWindowClose, faCamera, faStop, faPen, faCheck, faTimes); Vue.component('font-awesome-icon', FontAwesomeIcon); diff --git a/src/store/index.js b/src/store/index.js index 603da70..c016af8 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -27,6 +27,7 @@ const store = new Vuex.Store({ getEventSlug: state => state.route && state.route.params.event? state.route.params.event : state.events.length ? state.events[0].slug : '36C3', getActiveView: state => state.route.name || 'items', getFilters: state => state.route.query, + getBoxes: state => state.loadedBoxes }, mutations: { replaceEvents(state, events) {