Commit f0fbca81 authored by christianrhansen's avatar christianrhansen

mobile: removed unused html (first edit-box version)

parent ab0b9182
......@@ -230,72 +230,6 @@
q-icon(v-if="carousel.visibility", name="keyboard_arrow_down")
q-icon(v-else, name="keyboard_arrow_up")
// ------------------------------
//----- not used at the moment
q-page-sticky.z-top.q-mb-md.backdrop-filter.shadow-1.q-mx-md.overflow-hidden.round-borders.hidden(
v-if="showEditingCells", position="bottom-right")
div.full-width
//----- "edit content"-buttons
div#edit-content-mobile(v-if="editMode === 'edit'")
grid-editor-editing-cells-mobile
//----- "move"-buttons
div(v-if="editMode === 'move'", :class="{'q-pa-md' : editMode}")
.text-center
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, 0, -1)", round, flat, size="md")
q-icon.rotate-90(name="keyboard_backspace")
.text-center
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, -1, 0)", round, flat, size="md")
q-icon(name="keyboard_backspace")
q-btn.invisible.text-dark(round, flat, size="md")
q-icon.flip-vertical(name="photo_size_select_small")
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, 1, 0)", round, flat, size="md")
q-icon.rotate-180(name="keyboard_backspace")
.text-center
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, 0, 1)", round, flat, size="md")
q-icon.rotate-270(name="keyboard_backspace")
//----- "resize"-buttons
div(v-if="editMode === 'resize'", :class="{'q-pa-md' : editMode}")
.text-center
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, 0, -1)", round, flat, size="md")
q-icon(name="remove")
.text-center
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, -1, 0)", round, flat, size="md")
q-icon(name="remove")
q-btn.invisible.text-dark(round, flat, size="md")
q-icon.rotate-45(name="zoom_out_map")
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, 1, 0)", round, flat, size="md")
q-icon(name="add")
.text-center
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, 0, 1)", round, flat, size="md")
q-icon(name="add")
//----- "delete"-button
div(v-if="editMode === 'delete'", :class="{'q-pa-md' : editMode}")
.text-center
.text-dark
| {{ $t('labels.delete_cell') }}
.q-mt-md
q-btn.edit-cell-button(@click="event => {handleCellContextMenuDelete(event, mobileSelectedCell)}",
flat, round, size="md")
q-icon(name="check")
div.row.text-center.text-dark.round-borders.full-width
.col
q-btn.full-width(@click="setEditMode('edit')", :class="{'edit-cell-button' : editMode === 'edit'}", flat, no-ripple)
q-icon(name="edit")
.col
q-btn.full-width(@click="setEditMode('resize')", :class="{'edit-cell-button' : editMode === 'resize'}", flat, no-ripple)
q-icon.flip-vertical(name="photo_size_select_small")
.col
q-btn.full-width(@click="setEditMode('move')", :class="{'edit-cell-button' : editMode === 'move'}", flat, no-ripple)
q-icon(name="open_with")
.col
q-btn.full-width(@click="setEditMode('delete')", :class="{'edit-cell-button' : editMode === 'delete'}", flat, no-ripple)
q-icon(name="delete")
</template>
<script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment