-
Notifications
You must be signed in to change notification settings - Fork 7
/
chooser.html
202 lines (192 loc) · 6.74 KB
/
chooser.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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-123485292-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-123485292-1');
</script>
<meta charset="utf-8"/>
<meta name="description" content="Free Solitaire Games in Material Design; Klondike, Freecell, Spider, Yukon"/>
<meta name="keywords" content="Solitaire, Patience, Klondike, Freecell, Yukon, Spider, Scorpion, Canfield, Forty Thieves"/>
<meta name="author" content="Gilbert Oddstream"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<title>Solitaire Card Games</title>
<link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="mask-icon" href="img/safari-pinned-tab.svg">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen"/>
<style>
.steelblue {
background-color: #4682b4 !important;
}
.steelblue-text {
color: #4682b4 !important;
}
</style>
</head>
<body>
<h1 style="display:none">Solitaire Card Games</h1>
<p style="display:none">Collection of authentic solitaire games,
implemented for modern web browsers,
following Material Design guidelines.
Includes
Agnes Bernauer,
Agnes Sorel,
Alaska,
Alternation,
American Toad,
Australian,
Baker's Dozen,
Baker's Game,
Beleaguered Castle,
Blockade,
Breeze,
Brigade,
Brisbane,
Canfield,
Castles in Spain,
Cruel,
Easthaven,
Eight Off,
Fan,
Flower Garden,
Fortress,
Forty and Eight,
Forty Thieves,
Forecell,
Freecell,
Golf,
Grandfather's Clock,
Indefatigable,
Indian,
Josephine,
Klondike,
La Belle Lucie,
Lady Jane,
Limited,
Lucas,
Maria,
Martha,
Napoleon's Square,
Number Ten,
Osmosis,
Peek,
Penguin,
Perseverance,
Portuguese,
Rainbow,
Ripple Fan,
Russian,
Scorpion,
Sea Towers,
Simple Simon,
Somerset,
Spanish Solitaire,
Spider,
Spiderette,
Squadron,
Stewart,
Storehouse,
Stronghold,
Trefoil,
Tuxedo,
Unusual,
Usk,
Wasp,
Westcliff,
Yukon
</p>
<nav>
<div class="nav-wrapper grey darken-3">
<div class="row">
<div class="col s12">
<ul class="left">
<li><a onclick="modalSearchFn.open()" class="tooltipped" data-position="bottom" data-tooltip="Search for a game"><i class="material-icons">search</i></a></li>
</ul>
<ul class="right">
<li><a id="lastgame" class="tooltipped" data-position="bottom" data-tooltip="Go to last game"><i class="material-icons">redo</i></a></li>
<li><a onclick="modalCloudFn.open()" class="tooltipped" data-position="bottom" data-tooltip="Connect to cloud"><i class="material-icons">cloud</i></a></li>
<li><a href="faq.html" class="tooltipped" data-position="bottom" data-tooltip="FAQ"><i class="material-icons">info</i></a></li>
</ul>
</div>
</div>
</div>
</nav>
<div id="content" class="grey lighten-3">
</div>
<div id="modalSearch" class="modal">
<div class="modal-content">
<div class="input-field">
<i class="material-icons prefix">search</i>
<input id="searchText" type="text" autofocus/>
</div>
<div id="searchResults"></div>
</div>
</div>
<div id="modalCloud" class="modal">
<div class="modal-content">
<h4 class="noselect"> <a class="modal-close right noselect hide-on-small-only"><i class="material-icons">close</i></a></h4>
<div class="row">
<div class="col s1">
<a href="https://www.dropbox.com/home/Apps/Oddstream%20Solitaire" target="_blank" rel="noopener"><img alt="Dropbox" src="img/Dropbox_Android.png" width="32" height="32"/></a>
</div>
<div class="col s10">
<label for="dropboxAccessToken">
<input id="dropboxAccessToken" type="text" class="steelblue-text" placeholder="Dropbox Access Token"/>
<span>Dropbox Access Token</span>
</label>
</div>
<div class="col s1">
<a onclick="document.getElementById('dropboxAccessToken').value=''"><i class="material-icons">delete</i></a>
</div>
</div>
<div id="modalCloudConnected">
<div class="row">
<div class="input-field col s4">
<a class="modal-close btn-small steelblue" onclick="doSyncDropbox()"><i class="material-icons left">sync</i>sync now</a>
</div>
<div class="input-field col s4">
<div class="switch">
<label>Manual<input type="checkbox" id="modalCloudAuto"><span class="lever steelblue"></span>Auto</label>
</div>
</div>
<div class="input-field col s4">
<div class="switch" id="modalLoadSavedDiv">
<label>Don't load<input type="checkbox" id="modalLoadSaved"><span class="lever steelblue"></span>Load</label>
</div>
</div>
</div>
</div>
<div id="modalCloudNotConnected">
<div class="input-field col s3">
<a class="modal-close btn-small steelblue" id="btnAuthenticate"><i class="material-icons left">cloud</i>Get Access Token</a>
</div>
</div>
<!--
<a class="btn" href="https://www.dropbox.com/oauth2/authorize?client_id=gpmr1d1u1j4h2d4&response_type=code" target="_blank" rel="noopener">Get Dropbox authorization code</a>
<input id="dropboxAuthCode" type="text" placeholder="Dropbox Authorization Code">
-->
</div>
<!--
<div class="modal-footer">
<a class="modal-close btn-small steelblue">Close</a>
</div>
-->
</div>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script>
<script type="text/javascript" src="./chooser.js"></script>
</body>
</html>