This repository was archived by the owner on Oct 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
203 lines (163 loc) · 7.39 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
<!DOCTYPE HTML>
<html>
<!-- Header -->
<head>
<link rel="stylesheet" href="bin/styles.css">
<script type="text/javascript" src="bin/core.js"></script>
<title>Comment IV</title>
<script>
function ElectronCopy ( text ) {
}
</script>
</head>
<!-- Body -->
<body onload="UI.InitOnLoad( );">
<!-- Header -->
<header>
<!--div id="header-icon"></div-->
<div class="gerda-header-name">
<span style="font-size: 24.0px; color: #ccc;">
<span id="logoFont">
Comment IV
</span>
</span>
</div>
<div class="kary-header-logo" onclick="UI.OpenAboutPage( );" id="logoBox">
<img src="assets/kf-logo.png" width="200px;" draggable="false"/>
</div>
</header>
<!-- Body -->
<div id="container" >
<div id="control-bar" class="containerChildern">
<!-- Comment Model -->
<div class="controlBarTitle controlBarTitleTop">
Inspector
</div>
<div class="control-bar-spacer"></div>
<!-- Comment Kind Control -->
<div class="button-zone">
<!-- Kind Choose Box -->
Kind <select id="commentformatbox" onchange="UI.DisplayInputBoxes()" onclick="UI.DisplayInputBoxes()" onselect="UI.DisplayInputBoxes()" class="text-box-base choose-box-extention">
<option disabled>──────────</option>
<option value="class">Class Comment</option>
<option value="flag">Flag Comment</option>
<option disabled>──────────</option>
<option value="section" selected="selected">Section Comment</option>
<option value="subsection">Subsection Comment</option>
<option value="line">Line Comment</option>
<option value="subline">SubLine Comment</option>
<option disabled>──────────</option>
<option value="insection">InSection Comment</option>
<option value="separator">Separator Comment</option>
<option disabled>──────────</option>
<!--option value="note">Note Comment</option-->
</select>
<!-- Buttons -->
<button id="GenerateButton" class="text-box-base text-box-button-extention" onclick="UI.CreateNewComment( );">Make</button>
<button id="GenerateButton" class="text-box-base text-box-button-extention" onclick="UI.CopyComment( );">Copy</button>
<button class="text-box-base text-box-button-extention" onclick="UI.CleanCommentView( );">Clean</button>
<div style="clear: both;"></div>
</div>
<!-- Inputs -->
<div class="control-bar-spacer"></div>
<div class="controlBarTitle">
Preferences
</div>
<div class="control-bar-spacer"></div>
<div class="button-zone">
<!-- Text Value -->
<span id="one-line-value-div">
Text <input type="text" id="cp-value" name="cp-value" value="Hello World" size="16" onkeypress="UI.OnTextInputKeyPress( event )" /><br />
</span>
<!-- Size Value -->
<span id="size-value-div">
Length <input type="text" id="cp-size" name="cp-size" value="80" size="3" onkeypress="UI.OnTextInputKeyPress( event )"/>
</span>
<!-- Index Value -->
<span id="index-value-div">
Index <input type="text" id="cp-index" name="cp-index" value="1" size="3" onkeypress="UI.OnTextInputKeyPress( event )"/>
</span>
<!-- Separator Character -->
<span id="separator-value-div" style="display: none;">
Character <select id="cp-separator" class="text-box-base choose-box-extention text-box-monofont" onselect="UI.OnTextInputKeyPress( event )">
<option value="•">•</option>
<option value="‐">‐</option>
<option value="*">*</option>
<option value="×">×</option>
</select>
</span>
</div>
<div class="control-bar-spacer"></div>
<div class="controlBarTitle">
Indentation
</div>
<div class="control-bar-spacer"></div>
<div class="button-zone">
<!-- Indent Size -->
Scope <input type="text" id="ci-size" name="cp-indent" value="0" size="1" />
<!-- Indentation Style -->
as <select id="ci-string" class="text-box-base choose-box-extention">
<option value="	">Tab</option>
<option value=" ">1 Space</option>
<option value=" ">2 Spaces</option>
<option value=" ">3 Spaces</option>
<option value=" ">4 Spaces</option>
<option value=" ">5 Spaces</option>
</select>
</div>
<!-- Language Settings -->
<div class="control-bar-spacer"></div>
<div class="controlBarTitle">
Language
</div>
<div class="control-bar-spacer"></div>
<div class="button-zone">
<!-- Kind Choose Box -->
Template <select class="text-box-base choose-box-extention" id="language-template" onchange="UI.OnSetLanguageTemplate()" onclick="UI.OnSetLanguageTemplate()" onselect="UI.OnSetLanguageTemplate()">
<option disabled>───────</option>
<option value="custom">Custom</option>
<option disabled>───────</option>
</select><br />
<!-- Comment Chars -->
<div id="custom-language-inputs">
<input type="text" id="cs-top-left" name="cs-top-left" class="text-box-monofont" value="/*" size="4" onchange="UI.UpdateAndStoreCommentCharacters( )">
<input type="text" id="cs-top-right" name="cs-top-right" class="text-box-monofont" value="*" size="4" onchange="UI.UpdateAndStoreCommentCharacters( )">
<input type="text" id="cs-one-line" name="cs-one-line" class="text-box-monofont" value="//" size="3" onchange="UI.UpdateAndStoreCommentCharacters( )"><br />
<input type="text" id="cs-bottom-left" name="cs-bottom-left" class="text-box-monofont" value=" *" size="4" onchange="UI.UpdateAndStoreCommentCharacters( )">
<input type="text" id="cs-bottom-right" name="cs-bottom-right" class="text-box-monofont" value="*/" size="4" onchange="UI.UpdateAndStoreCommentCharacters( )">
</div>
<div style="clear: both;"></div>
</div>
</div>
<!-- Where the Comments are displayed -->
<div id="view" class="containerChildern kary-horse-back-show">
</div>
</div>
<div id="about-page" hidden="true">
<div id="about-logo-layer"></div>
<din id="about-box-background">
<div id="about-version-box"></div>
<div id="about-box">
<h1>Comment IV</h1>
<div class="about-text">
Comment IV is the forth generation Kary Foundation styled comment generator
made with love for you to help you write more readable, organized, pretty
and eyeful codes.
</div>
<h3>Copyright</h3>
<div class="about-text">
Copyright © 2015-present Kary Foundation, Inc. All rights reserved.<br />
Developed by Pouya Kary ⟨k@karyfoundation.org⟩
</div>
<h3>Open Source</h3>
<div class="about-text">
Comment IV is built using: TypeScript, UglifyJS, Less, Yoios, Kary Framework,
Bash, Visual Studio Code, Git, GIMP and Markdown.
</div>
<img src="assets/kf-logo.png" width="200px;" draggable="false"/>
</div>
<div id="about-exit" onclick="UI.CloseAboutPage( );"></div>
</din>
</div>
</body>
</html>