-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·262 lines (251 loc) · 12.9 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
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pure-javascript-i18n</title>
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="./js/i18n.js"></script>
<!--
Magazee Template
http://www.templatemo.com/tm-514-magazee
-->
<!-- load CSS -->
<!-- Google web font "Open Sans" -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/templatemo-style.css">
</head>
<body>
<!-- Loader -->
<!-- <div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div> -->
<div class="container">
<section class="row">
<div id="banner">
<h1>pure-javascript-i18n Simple Template</h1>
</div>
</section>
<!-- 1st section -->
<section class="row tm-section">
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 p-0">
<div class="tm-flex-center p-5 tm-bg-color-primary tm-section-min-h">
<h2 class="tm-text-color-white tm-site-name" data-i18n="title1">WELCOME</h2>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6">
<div class="tm-flex-center p-5">
<div class="tm-quote tm-text-color-gray">
<span data-i18n="intro1">select your language</span>:
<a href="?lang">English</a>
<a href="?lang=tw">繁體中文</a>
<a href="?lang=jp">日本語</a>
</div>
</div>
</div>
</section>
<!-- 2nd section -->
<section class="row tm-section">
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6">
<div class="tm-flex-center p-5">
<div class="tm-flex-center tm-flex-col">
<h2 class="tm-align-left">Template</h2>
<p data-i18n="intro3">This is one-page HTML5 template that you can use for any purpose. Please tell your friends about https://www.facebook.com/templatemo TemplateMo website. Thank you.</p>
<!-- <p>ps: 圖片的 i18n 會有圖片重覆載入的問題</p> -->
<a href="#" class="btn btn-primary" data-i18n="read_more">Read More</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 p-0 text-center">
<img src="img/image-01-en.jpg" alt="Image" class="img-fluid" data-i18n="image01" data-i18n_target="src">
</div>
</section>
<!-- 3rd Section -->
<section class="row tm-section tm-col-md-reverse tm-mb-30">
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6 p-0">
<div class="tm-flex-center p-5 tm-bg-color-primary">
<div class="tm-max-w-400 tm-flex-center tm-flex-col">
<img src="img/image-04.jpg" alt="Image" class="rounded-circle mb-4">
<p class="tm-text-color-white" data-i18n="chief_name">Cura</p>
<p class="tm-text-color-white small tm-font-thin mb-0" data-i18n="chief_intro">An image that is casually attached to this template. from http://www.templatemo.com/tm-514-magazee</p>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6 col-xl-6">
<div class="tm-flex-center p-5">
<div class="tm-md-flex-center">
<h2 class="tm-text-color-primary mb-4" data-i18n="title2">Easy to do</h2>
<p class="mb-4" data-i18n="intro2">
Complete content text substitution with HTML dateset alone.<br>
set dataset in HTMLElement, e.g. data-i18n="title"
</p>
<a href="#" class="btn btn-primary float-lg-right tm-md-align-center" data-i18n="read_more">Read more</a>
</div>
</div>
</div>
</section>
<!-- 4th Section -->
<section class="row tm-section tm-mb-30">
<div class="col-sm-12 col-md-12 col-lg-8 col-xl-8">
<div class="tm-flex-center pl-5 pr-5 pt-5 pb-5">
<div class="tm-md-flex-center">
<h2 class="mb-4 tm-text-color-primary" data-i18n="text_title">The following matters are of no importance</h2>
<p class="mb-4" data-i18n="text1">"There worse by an of miles civil. Manner before lively wholly am mr indeed expect. Among every merry his yet has her. You mistress get dashwood children off. Met whose marry under the merit. In it do continual consulted no listening."</p>
<p class="mb-4" data-i18n="text2">"Devonshire sir sex motionless travelling six themselves. So colonel as greatly shewing herself observe ashamed. Demands minutes regular ye to detract is."</p>
<a href="#" class="btn btn-primary float-lg-right tm-md-align-center" data-i18n="read_more">Read More</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-4 col-xl-4 text-xl-right text-md-center text-center mt-5 mt-lg-0 pr-lg-0">
<img src="img/image-02.jpg" alt="Image" class="img-fluid">
</div>
</section>
<!-- 5th Section -->
<section class="row tm-section tm-mb-30">
<div class="col-sm-12 col-md-12 col-lg-4 col-xl-4 p-md-0 text-md-center text-center mb-4 mb-lg-0">
<img src="img/image-03.jpg" alt="Image" class="img-fluid">
</div>
<div class="col-sm-12 col-md-6 col-lg-4 col-xl-4 pl-lg-4 pr-xl-0 mb-4 mb-lg-0">
<div class="tm-flex-center">
<div class="tm-pricing-table">
<div class="tm-bg-color-secondary tm-text-color-white text-center tm-font-thin tm-pricing-header">
<p class="mb-0 tm-pricing-header-title" data-i18n="standard_plan">Standard Plan</p>
<p class="mb-0 tm-pricing-header-subtitle" data-i18n="standard_price">($0 per month)</p>
</div>
<div class="tm-pricing-body">
<ul class="tm-feature-list">
<li data-i18n="sp_li1">Ut sit amet augue elit</li>
<li data-i18n="sp_li2">Vivamus eget tortor in ante</li>
<li data-i18n="sp_li3">Scelerisque gravida</li>
<li data-i18n="sp_li4">Vestibulum auctor</li>
<li data-i18n="sp_li5">Condimentum sem</li>
<li data-i18n="sp_li6">Suscipit arcu accumsan</li>
</ul>
<a href="#" class="btn btn-secondary" data-i18n="buy_now">Buy now</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6 col-lg-4 col-xl-4 pl-xl-0 mb-4 mb-lg-0">
<div class="tm-flex-center">
<div class="tm-pricing-table">
<div class="tm-bg-color-secondary tm-text-color-white text-center tm-font-thin tm-pricing-header">
<p class="mb-0 tm-pricing-header-title" data-i18n="advanced_plan">Advanced Plan</p>
<p class="mb-0 tm-pricing-header-subtitle" data-i18n="advanced_price">($0 per month)</p>
</div>
<div class="tm-pricing-body">
<ul class="tm-feature-list">
<li data-i18n="ap_li1">Vel eleifend enim</li>
<li data-i18n="ap_li2">Morbi blandit metus</li>
<li data-i18n="ap_li3">Fusce porta lectus vel elit</li>
<li data-i18n="ap_li4">Cras eu dolor lorem</li>
<li data-i18n="ap_li5">Pharetra et sapien</li>
<li data-i18n="ap_li6">Quisque auctor non magna</li>
</ul>
<a href="#" class="btn btn-secondary" data-i18n="buy_now">Buy now</a>
</div>
</div>
</div>
</div>
</section>
<!-- 6th Section -->
<section class="row">
<div class="col-lg-12 tm-form-header pl-5 pr-5">
<h2 class="tm-container-inner tm-text-color-white" data-i18n="application_form">Application Form</h2>
</div>
<div class="col-lg-12 pl-2 pl-sm-3 pl-md-5 pr-2 pr-sm-3 pr-md-5">
<form action="index.html" method="post" class="row tm-container-inner tm-contact-form">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">
<div class="form-group">
<input type="text" id="contact_name" name="contact_name" class="form-control" placeholder="Full Name" data-i18n="form_full_name" required/>
</div>
<div class="form-group">
<input type="email" id="contact_email" name="contact_email" class="form-control" placeholder="Your Email" data-i18n="form_email" required/>
</div>
<div class="form-group">
<select>
<option value="" data-i18n="form_position">Position</option>
<option value="ceo" data-i18n="form_ceo">Chief Executive Officer</option>
<option value="ms" data-i18n="form_ms">Marketing Specialist</option>
<option value="sa" data-i18n="form_sa">Sales Assistant</option>
</select>
</div>
<div class="form-group">
<select>
<option value="" data-i18n="form_salary">Salary</option>
<option value="100k">$100,000-$140,000</option>
<option value="200k">$200,000-$260,000</option>
<option value="300k">$300,000-$375,000</option>
</select>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">
<div class="form-group">
<div class="row">
<div class="col-lg-6">
<label>
<input type="radio" name="gender" value="m" required> <span data-i18n="form_male">Male</span>
</label>
</div>
<div class="col-lg-6">
<label>
<input type="radio" name="gender" value="f" required> <span data-i18n="form_female">Female</span>
</label>
</div>
</div>
</div>
<div class="form-group">
<textarea id="contact_message" name="contact_message" class="form-control" rows="6" placeholder="Additional Message" data-i18n="form_message" required></textarea>
</div>
</div>
<div class="col-xs-12 mt-4 tm-center">
<button type="submit" class="btn btn-primary" data-i18n="form_submit">Submit</button>
</div>
</form>
</div>
<div class="col-lg-12 tm-bg-color-gray tm-text-color-white tm-font-thin tm-form-footer">
<div class="row tm-container-inner">
<div class="col-sm-12 col-md-6 col-lg-6 col-xl-6">
<div class="tm-footer-info-box">
<h4>Lorem ipsum dolor</h4>
<address>
1010 Vivamaus viverra<br>
Leo vel porttitor sodales<br>
Non eleifend 10980
</address>
</div>
</div>
<div class="col-sm-12 col-md-6 col-lg-6 col-xl-6">
<div class="tm-footer-info-box">
<p>Maecenas fermentum<br>
Nam eu justo et urna<br>
Semper maximus libero<br>
Etiam magna quam</p>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<div class="row">
<div class="col-lg-12">
<p class="text-center small tm-copyright-text mb-0">Copyright © <span class="tm-current-year">2018</span> Your Company Name | Designed by <a href="http://templatemo.com" class="tm-text-color-gray" target="_parent">Template Mo</a></p>
</div>
</div>
</div>
<!-- load JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" defer></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" defer></script>
<script>
/* DOM is ready
------------------------------------------------*/
$(function(){
$('.tm-current-year').text(new Date().getFullYear()); // Update year in copyright
});
</script>
</body>
</html>