-
Notifications
You must be signed in to change notification settings - Fork 22
/
index_id.html
176 lines (123 loc) · 4.79 KB
/
index_id.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
<!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">
.Secara otomatis memformat gaya tulis anda agar konsisten dan mudah dibaca
</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">Tuliskan CSS yang belum diformat</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()'>spasi 4</li>
</div>
<div class="col-md-3">
<li class=" list-inline"><input type="radio" name="indent" id="twospaces" value="twospaces"
onChange='format()'>spasi 2</li>
</div>
<div class="col-md-3">
<li class=" list-inline"><input type="radio" name="indent" id="tab" value="tab" onChange='format()'>tab
</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<h5 class="options-title">Indentasi
</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()'>end of line (akhir baris)</li>
</div>
<div class="col-md-3">
<li class="list-inline"><input type="radio" name="openbrace" id="openbrace-separate-line"
onChange='format()'>separate line (pisahkan baris)</li>
</div>
<div class="col-md-3">
<li class="list-inline"><input checked type="checkbox" name="autosemicolon" id="autosemicolon"
onChange='format()'>Titik koma otomatis</li>
</div>
<div class="col-md-3">
<li class="list-inline">
<h5 class="options-title">Kurung buka kurawal</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 Terformat & dipercantik
</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> is an open-source project <a
href="https://github.com/senchalabs/cssbeautify">Main repo</a> - <a
href="https://github.com/AmirMehrabi/cssstyler">Forked one</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>