-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
88 lines (75 loc) · 4.42 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kirara Fantasia Timers</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.26/moment-timezone-with-data-2012-2022.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script type="text/javascript" src="data.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.min.js"></script>
<script type="text/javascript" src="components.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="favicon.png">
</head>
<body>
<div class="container-fluid" id="app">
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Contact Information</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<a href='https://www.reddit.com/message/compose/?to=RiceKirby&subject=About KiraFan Timer' target='_blank'>By sending a PM to RiceKirby in Reddit</a><br>
<ul>
<li>To report information errors (names, dates, etc).</li>
<li>For general feedback and opinions.</li>
<li>If you just want to have a chat.</li>
</ul>
<a href='https://github.com/IceKirby/kirafan-timer/issues' target='_blank'>By creating an issue on GitHub</a>
<ul>
<li>To report some feature not working (wrong timezone, timer not updating, display error, etc). Please specify the browser and device you are using and attach a screenshot if possible.</li>
<li>To suggest new features.</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="header" v-show="showHeader">
<h1>Kirara Fantasia Timers</h1>
<div class="btn-group btn-group-toggle w-100 time-buttons">
<label class="btn btn-primary" :class="{active: currentZone == 'japan' }" id="japan-time">
<input type="radio" name="options" value="japan" v-model="currentZone" @change="changeTimezone"> <h3>Japan Time</h3>
<span v-text="japanTime"></span>
</label>
<label class="btn btn-primary" :class="{active: currentZone == 'local' }" id="local-time">
<input type="radio" name="options" value="local" v-model="currentZone" @change="changeTimezone">
<h3>Local Time</h3>
<span v-text="localTime"></span>
</label>
</div>
<span class='contact-button bg-warning text-dark' data-toggle="modal" data-target="#exampleModal">Found an error or have a suggestion?</span>
<div class='alert-container' :class='{ alertsshow: alerts.length > 0 }'>
<div v-for='(item, index) in alerts' class="alert" :class="'alert-'+alertTypes[0]" role="alert" v-html="item"></div>
</div>
</div>
<div class="row" id="columns-holder">
<div v-for="col in timersData" class="col-md-6 col-xl">
<event-group v-for="(t, index) in col" v-bind:ev="t" :key='index'></event-group>
</div>
</div>
</div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>