Commit 3a2db7ed authored by christianrhansen's avatar christianrhansen

edit video: html clean up. styling.

parent 60515f21
Pipeline #11557 passed with stage
in 9 minutes and 17 seconds
<template lang="pug">
.shadow-6
div
q-datetime-picker.full-width(v-model="datetimeInternal", type="date", dark)
.text-center.q-px-md
q-btn.full-width.q-ma-md(@click="setNow", label="Today", no-caps)
q-btn.full-width.q-mt-md.q-mb-sm(@click="setNow", label="Today", no-caps)
</template>
<script>
......
<template lang="pug">
.row.col-12
.row.col-12.gutter-sm
// CALENDAR
//
q-collapsible.col-xs-12.col-lg-6.q-mb-lg(group="somegroup", icon="event_note", :label="dateString")
calendar(@update="onUpdateDate", :datetime="datetimeInternal")
.col-xs-12.col-lg-6
q-collapsible.border-darker(group="somegroup", icon="event_note", :label="dateString")
calendar(@update="onUpdateDate", :datetime="datetimeInternal")
// TIME
//
q-collapsible.col-xs-12.col-lg-6.q-mb-lg(group="somegroup", icon="access_time", :label="timeString")
slider-time(@update="onUpdateTime", :datetime="datetimeInternal")
.col-xs-12.col-lg-6
q-collapsible.border-darker(group="somegroup", icon="access_time", :label="timeString")
slider-time(@update="onUpdateTime", :datetime="datetimeInternal")
</template>
......
<template lang="pug">
q-list.no-border.shadow-6
slider-time-row.q-mx-lg(v-if="datetimeParsed", v-for="row in rows",
div
slider-time-row(v-if="datetimeParsed", v-for="row in rows",
@update="onSliderUpdate", :value="datetimeParsed[row.type]",
:key="row.type", :max="row.max", :suffix="row.suffix", :type="row.type")
q-item
q-item-main.text-center
q-btn.full-width(@click="setNow", label="Now", no-caps)
q-btn.full-width.q-mt-md.q-mb-sm(@click="setNow", label="Now", no-caps)
</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