-
Notifications
You must be signed in to change notification settings - Fork 6
/
intro.html
177 lines (146 loc) · 8 KB
/
intro.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to The Wall.</title>
<!-- Linking Bulma UI kit CSS, Animate CSS and Font Awesome -->
<link rel="stylesheet" href="css/bulma.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/animations.css">
<link rel="stylesheet" href="css/main.css">
<script defer src="js/all.js"></script>
<script defer src="js/renderer.js"></script>
</head>
<body>
<div style="width:100%;text-align: right;padding: 10px">
<a id="close-btn" class="button is-small is-rounded">Close</a>
</div>
<!-- First time Welcome Screen -->
<div id="intro" class="scale-in-center" style="width: 100%;text-align: center;margin-top: 100px;display: ">
<p class="title" style="color: #000;font-size: 24px;font-family: Segoe UI Light">
Welcome to
</p>
<p class="title" style="font-family: Segoe UI;font-weight: bold; color: #000;font-size: 46px">
The Wall<span style="color: #00aff0">.</span>
</p>
<div class="cssload-container">
<div class="cssload-circle-1">
<div class="cssload-circle-2">
<div class="cssload-circle-3">
<div class="cssload-circle-4">
<div class="cssload-circle-5">
<div class="cssload-circle-6">
<div class="cssload-circle-7">
<div class="cssload-circle-8">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="title" style="color: #000;font-size: 16px;font-family: Segoe UI Light;margin-top: 30px">
Just the way you like it<br><br>
<button class="button" onclick="step(0)">Let's Start</button>
</p>
</div>
<!-- License Agreement -->
<div id="license" class="scale-in-center" style="width: 100%;text-align: center;margin-top: 0px;padding: 60px;display: none">
<p class="title" style="font-family: Segoe UI Light;font-weight: bold; color: #000;font-size: 34px">
Open Source License<span style="color: #00aff0"> (MIT)</span><br><br>
</p>
<div style="border: 1px #ccc solid;border-radius: 10px;padding: 20px;font-size: 14px;text-align: left" class="scrollbar" id="style-3">
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:<br><br>
<b>
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</b><br><br>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<br><br>
<span style="font-size: 12px">
Creator : Aakash Bhadana<br>
Email : [email protected]
</span>
</div>
<br><br>
<button class="button is-medium" onclick="step(1)">I Agree</button>
</div>
<!-- How it Works Section Starts -->
<!-- First Step -->
<div id="step1" class="scale-in-center" style="width: 100%;text-align: center;margin-top: 100px;display: none">
<p class="title" style="color: #000;font-size: 24px;font-family: Segoe UI Light">
So, how it works
</p>
<p class="title" style="font-family: Segoe UI;font-weight: bold; color: #000;font-size: 46px">
First<span style="color: #00aff0">.</span>
</p>
<p class="title" style="color: #000;font-size: 16px;line-height: 22px;font-family: Segoe UI Light;margin-top: 30px">
Choose your favourite Tags to tell us what kind of<br> Wallpapers would you like on your Desktop
</p>
<div style="width: 270px;margin: auto;text-align: center">
<div class="field is-grouped is-grouped-multiline">
<div class="control">
<div class="tags has-addons">
<a class="tag is-link">Mountains</a>
<a class="tag is-delete"></a>
</div>
</div>
<div class="control">
<div class="tags has-addons">
<a class="tag is-link">Beach</a>
<a class="tag is-delete"></a>
</div>
</div>
<div class="control">
<div class="tags has-addons">
<a class="tag is-link">Travel</a>
<a class="tag is-delete"></a>
</div>
</div>
</div>
</div>
<br><br>
<button class="button is-medium" onclick="step(2)">Next</button>
</div>
<!-- Second Step -->
<div id="step2" class="scale-in-center" style="width: 100%;text-align: center;margin-top: 100px;display: none">
<p class="title" style="color: #000;font-size: 24px;font-family: Segoe UI Light">
So, how it works
</p>
<p class="title" style="font-family: Segoe UI;font-weight: bold; color: #000;font-size: 46px">
Second<span style="color: #00aff0">.</span>
</p>
<p class="title" style="color: #000;font-size: 16px;line-height: 22px;font-family: Segoe UI Light;margin-top: 30px">
Set how often you want Wallpaper to change automatically<br>? By default it'll be every 6 hours.
<div class="cssload-clock"></div>
</p>
<br><br>
<button class="button is-medium" onclick="finish()">Get in</button>
</div>
<!-- Javscript for App Close button -->
<script type=text/javascript>
const { ipcRenderer } = require('electron');
const remote = require('electron').remote;
document.getElementById("close-btn").addEventListener("click", function (e) {
var window=remote.getCurrentWindow();
window.close();
});
function step(n){
if(n==0){
document.getElementById('intro').style.display = 'none';
document.getElementById('license').style.display = 'block';
}else if(n==1){
document.getElementById('license').style.display = 'none';
document.getElementById('step1').style.display = 'block';
}else{
document.getElementById('step1').style.display = 'none';
document.getElementById('step2').style.display = 'block';
}
}
function finish(){
ipcRenderer.send('finishSetup');
}
</script>
</body>
</html>