-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex_th.html
200 lines (185 loc) · 6.54 KB
/
index_th.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
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="utf-8" />
<title>CSSstyler</title>
<link rel="stylesheet" href="assets/bootstrap-rtl.css" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"
/>
<script src="assets/thirdparty/codemirror.js" charset="utf-8"></script>
<script src="assets/thirdparty/css.js" charset="utf-8"></script>
<link
rel="stylesheet"
type="text/css"
href="assets/thirdparty/codemirror.css"
/>
<link rel="stylesheet" type="text/css" href="assets/style.css" />
<link rel="stylesheet" type="text/css" href="assets/fonts/fonts.css" />
<script src="cssbeautify.js" charset="utf-8"></script>
<script src="assets/format.js" charset="utf-8"></script>
</head>
<body>
<section class="header">
<div class="container">
<div class="row">
<div class="description">
<h1 class="brand-name">CSSstyler</h1>
<div>
<p class="sub-brand-name">
จัดการฟอร์แมทโค้ด CSS
ให้มีความเป็นมาตรฐานและอ่านง่ายโดยอัตโนมัติ
</p>
</div>
</div>
</div>
</div>
</section>
<section class="content">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2 class="text-center textarea-title">
ใส่โค้ด CSS ที่ยังไม่ได้จัดฟอร์แมท
</h2>
<textarea
class="css-input"
id="raw"
autofocus="autofocus"
spellcheck="false"
onChange="format()"
onKeyDown="format()"
>
menu{color:red} navigation{background-color:#333 /* darkgrey */}</textarea
>
</div>
</div>
</div>
</section>
<section class="options">
<div class="container">
<div class="row">
<ul class="options list-inline">
<div class="top-options">
<div class="col-md-12">
<div class="col-md-3">
<li class=" list-inline">
<input
checked
type="radio"
name="indent"
id="fourspaces"
value="fourspaces"
onChange="format()"
/>เว้นวรรค 4 ครั้ง
</li>
</div>
<div class="col-md-3">
<li class=" list-inline">
<input
type="radio"
name="indent"
id="twospaces"
value="twospaces"
onChange="format()"
/>เว้นวรรค 2 ครั้ง
</li>
</div>
<div class="col-md-3">
<li class=" list-inline">
<input
type="radio"
name="indent"
id="tab"
value="tab"
onChange="format()"
/>แท็บ
</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<h5 class="options-title">ย่อหน้าด้วย</h5>
</li>
</div>
</div>
</div>
<div class="sub-options">
<div class="col-md-12">
<div class="col-md-3">
<li class="list-inline">
<input
checked
type="radio"
name="openbrace"
id="openbrace-end-of-line"
onChange="format()"
/>ท้ายบรรทัด
</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<input
type="radio"
name="openbrace"
id="openbrace-separate-line"
onChange="format()"
/>ขึ้นบรรทัดใหม่
</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<input
checked
type="checkbox"
name="autosemicolon"
id="autosemicolon"
onChange="format()"
/>ใส่เครื่องหมายอัตภาค
</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<h5 class="options-title">ตำแหน่งของวงเล็บปีกกาเปิด</h5>
</li>
</div>
</div>
</div>
</ul>
</div>
</div>
</section>
<section class="formatted">
<div class="container">
<div class="raw">
<div class="col-md-12"></div>
<div class="col-md-12">
<h2 class="text-center textarea-title">CSS ที่ถูกฟอร์แมทแล้ว</h2>
<div class="formatted">
<textarea id="beautified" rows="22" readonly></textarea>
</div>
</div>
</div>
<br clear="all" />
</div>
</section>
<section class="footer">
<div class="">
<p>
<strong>CSSstyler</strong> เป็นโปรเจคสาธารณะ
<a href="https://github.com/senchalabs/cssbeautify"
>Repository หลัก</a
>
-
<a href="https://github.com/AmirMehrabi/cssstyler"
>Repository ที่ถูก Forked</a
>
</p>
</div>
</section>
</body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</html>