summaryrefslogtreecommitdiffstats
path: root/src/templates/date.template.html
blob: 72d9b3c131e2581785638f4bb070e26533e218f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<div class="container">
        <h2 class="my-5">
            <div class="row">
                <div class="col-1" onclick="date.hide()">
                    <i class="fas fa-chevron-left"></i>
                </div>
                <div class="col-11">
                    Date & Time
                </div>
            </div>
        </h2>
        <div clas="row">
            <div class="col-12 my-5">
                Date
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <form>
                    <div class="form-row">
                        <div class="col">
                            <select class="form-control">
                                {{ #date.months }}
                                    <option {{ #date.isMonth }}selected{{ /date.isMonth }} value="{{ . }}">
                                        {{ date.getMonthName }}
                                    </option>
                                {{ /date.months }}
                            </select>
                        </div>
                        <div class="col">
                            <select class="form-control">
                                {{ #date.days }}
                                    <option {{ #date.isDay }}selected{{ /date.isDay }} value="{{ . }}">
                                        {{ . }}
                                    </option>
                                {{ /date.days }}
                            </select>
                        </div>
                        <div class="col">
                            <select class="form-control">
                                {{ #date.years }}
                                    <option {{ #date.isYear }}selected{{ /date.isYear }} value="{{ . }}">
                                        {{ . }}
                                    </option>
                                {{ /date.years }}
                            </select>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div clas="row">
            <div class="col-12 my-5">
                Time
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <form>
                    <div class="form-row">
                        <div class="col">
                            <select class="form-control">
                                {{ #time.hours }}
                                    <option {{ #time.isHour }}selected{{ /time.isHour }} value="{{ . }}">
                                        {{ . }}
                                    </option>
                                {{ /time.hours}}
                            </select>
                        </div>
                        <div class="col">
                            <select class="form-control">
                                {{ #time.minutes }}
                                    <option {{ #time.isMinutes }}selected{{ /time.isMinutes }} value="{{ . }}">
                                        {{ . }}
                                    </option>
                                {{ /time.minutes}}
                            </select>
                        </div>
                        <div class="col">
                            <select class="form-control">
                                {{ #time.ampm }}
                                    <option {{ #time.isAmpm }}selected{{ /time.isAmpm }} value="{{ . }}">
                                        {{ . }}
                                    </option>
                                {{ /time.ampm}}
                            </select>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="row my-5">
            <div class="col-12">
                <button type="button" class="btn btn-primary btn-block" onclick="date.hide()">
                    OK
                </button>
            </div>
        </div>
    </div>