-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
171 lines (158 loc) · 10.6 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Turtle Time Calc</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link href="css/polyglot-language-switcher-2.css" rel="stylesheet">
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<link href='https://fonts.googleapis.com/css?family=Squada+One|Lora' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.4/jstz.min.js"></script>
<script src="app/lib/moment.min.js"></script>
<script src="app/lib/angular-local-storage.min.js"></script>
<script src="app/lib/angular-translate.min.js"></script>
<script src="app/lib/angular-timer.min.js"></script>
<script src="app/lib/humanize-duration.js"></script>
<script src="app/lib/ng-table.min.js"></script>
<script src="app/lib/ui-bootstrap-tpls-0.13.0.min.js"></script>
<script src="app/lib/angular-polyglot.language.switcher.js"></script>
<script src="app/lib/ics.js"></script>
<script src="app/lib/FileSaver.js"></script>
<script src="app/lib/Blob.js"></script>
<script src="app/lib/bower_components/momentjs/locale/de.js"></script>
<script src="app/lib/bower_components/momentjs/locale/es.js"></script>
<script src="app/lib/bower_components/momentjs/locale/fr.js"></script>
<script src="app/lib/bower_components/angular-animate/angular-animate.min.js"></script>
<script src="app/app.js"></script>
<script src="app/controllers/turtleCtrlBeta.js"></script>
<script src="app/controllers/localeCtrl.js"></script>
<script src="app/controllers/navbarCtrl.js"></script>
<script src="app/controllers/modalCtrl.js"></script>
<script src="app/directives/collapseDirective.js"></script>
<script src="app/directives/turtleBetaDirective.js"></script>
<script src="app/services/turtleFact.js"></script>
<script src="app/config/localizeConfig.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62547536-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body ng-app="app" ng-controller="LocaleCtrl as locale" ng-cloak ng-click="collapse=false">
<nav class="navbar navbar-default" ng-controller="NavbarCtrl" ng-click="$event.stopPropagation()">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" ng-click="isCollapsed=!isCollapsed">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse init" collapse="isCollapsed">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">{{ 'NAV_TURTLE' | translate }}</a></li>
<li><a href="barrel.html">{{ 'NAV_BARREL' | translate }}</a></li>
<li><a href="event.html">{{ 'NAV_EVENT' | translate }}</a></li>
<li><a href="contact.html">{{'NAV_CONTACT' | translate}}</a></li>
<li id="settings"><a href="settings.html">{{ 'NAV_SETTINGS' | translate }}</a></li>
</ul>
<div class="language-picker nav pull-right">
<pls id="pls1" items="plsModel.languages" open-mode="click" show-flag="true" selected-lang="{{locale.flag}}" language-changed-callback="onLanguageChanged(lang)"></pls>
</div>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container" ng-controller="TurtleCtrlBeta as turtle">
<div class="alert alert-info alert-site">
Please check out the new site at <a href="https://optctimer.com">https://optctimer.com</a>.
Click <a href="https://www.reddit.com/r/OnePieceTC/comments/42z3m0/turtle_time_calculator_updated/">here</a> for more information.</div>
<h1 class="page-title">{{'TT_TITLE' | translate}}</h1>
<div>
<div class="id">
<span>{{'TT_DIGIT' | translate}}</span>
<input type="number" min="0" max="9" ng-model="turtle.id" class="input-id" select-on-click>
<input class="digit" type="checkbox" name="militaryTime" ng-model="turtle.military"><span>{{'TT_FORMAT' | translate}}</span>
</div>
<p>{{'TT_TIMEZONE' | translate}} {{turtle.timezone}}</p>
<div class="btn-group game-version ttc-version">
<label class="btn btn-default" ng-model="turtle.version" btn-radio="'global'">GLOBAL</label>
<label class="btn btn-default" ng-model="turtle.version" btn-radio="'jpn'">JPN</label>
</div>
<div class="ttime-global">
<turtle-beta
class="ttime-day"
military="turtle.military"
index="$index"
numid="turtle.id"
ng-repeat="t in turtle.range(4) track by $index"
locale="locale.locale"
version="'turtle.version'"
ng-show="turtle.version === 'global'"
>
</turtle-beta>
<div>
<turtle-beta
class="ttime-day"
military="turtle.military"
index="$index"
numid="turtle.id"
ng-repeat="t in turtle.range(4) track by $index"
locale="locale.locale"
version="turtle.version"
ng-show="turtle.version !== 'global'"
>
</turtle-beta>
<!-- <p ng-show="turtle.version !== 'global'">JPN: Fixed! Sorry for the inconvenience. The last two dates are incorrect and will be updated once I know the correct times.</p> -->
</div>
<div class="add-to-calendar" ng-show="!turtle.iOS">
<a class="btn btn-default" ng-click="turtle.get_cal()">
{{'TT_ADD_CALENDAR' | translate}}
</a>
</div>
</div>
<button class="btn btn-info btn-notif" ng-click="isCollapsed1 = !isCollapsed1" ng-show="turtle.notif_support" ng-init="isCollapsed1 = true">{{'TT_NOTIFICATION' | translate}}</button>
<div collapse="isCollapsed1" ng-show="turtle.notif_support" class="settings-notif init">
<div>
<span>{{'TT_NOTIF_MINUTES' | translate}}: </span>
<input type="number" min="0" max="999" class="input-id" ng-model="turtle.notif_time" select-on-click>
</div>
<div>
<input type="checkbox" name="sound" ng-model="turtle.notif_sound"> <span>{{'TT_NOTIF_SOUND' | translate}}</span>
<button class="btn btn-sm btn-default" ng-click="turtle.example_notification()">{{'TT_NOTIF_EXAMPLE' | translate}}</button>
</div>
</div>
<h2>Incorrect? <a href="contact.html">Let me know.</a></h2>
<h2>FAQ:</h2>
<h3>Will you keep updating it?</h3>
<p>This site <strong>automatically updates</strong> itself. Source code <a href="https://github.com/cyung/optc">here</a>.</p>
<button class="btn btn-info" ng-click="isCollapsed2 = !isCollapsed2" ng-init="isCollapsed2 = true">Notifications/Calendar Information</button>
<div collapse="isCollapsed2" class="init">
<h2>Do I need to leave the page open?</h2>
<p>Yes.</p>
<h2>Notifications not supported?</h2>
<p>Notifications do not work via browser on iOS/Android. I will need to release a native app for that.</p>
<h2>Calendar not working on iOS?</h2>
<p>Calendars cannot be directly imported from a browser on iOS. You can get around this by downloading it on your computer and emailing it to yourself.</p>
<h2>Your translations in German/Spanish are wrong.</h2>
<p>Please tell me the corrections since I'm using Google Translate for these.</p>
</div>
<hr>
<!-- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZI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Se/qa/F9+RS0HxEnB83O64yB+SNK5R/tDRVWNI=-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form> -->
</div>
</div>
</body>
</html>