forked from alexmiske/wordcloudjs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app_text.html
124 lines (120 loc) · 5.95 KB
/
app_text.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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>WordcloudJS</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="WordcloudJS/Colorpicker/css/colorpicker.css" rel="stylesheet" type="text/css"/>
<link href="WordcloudJS/Colorpicker/css/layout.css" rel="stylesheet" type="text/css"/>
<script src="WordcloudJS/webfontloader.js" type="text/javascript"></script>
<script src="WordcloudJS/WordcloudJS.js" type="text/javascript"></script>
<script src="jquery-3.1.1.min.js" type="text/javascript"></script>
<script src="WordcloudJS/Colorpicker/js/colorpicker.js" type="text/javascript"></script>
<script src="app_text.js" type="text/javascript"></script>
</head>
<body>
<div id="wordcloudLoader_back"></div>
<div id="wordcloudLoader">
<div id="wordcloudLoader_prog"></div>
<div id="wordcloudLoader_text">100</div>
</div>
<div id="leiste0"></div>
<div id="leiste1"></div>
<div id="leiste2"></div>
<div id="leiste3"></div>
<div id="titlebar">
<button id="btn_back">Zurück</button>
<div id="title">WordcloudJS</div>
</div>
<div id="scene">
<div id='svgWrapper'></div>
<div id='timer'></div>
<button id='download'>Download</button>
</div>
<div id="page">
<table id="toolbar">
<tr>
<td>
<table id="tools">
<tr>
<td class="tools_title">Margin:</td>
<td class="tools_edit">
<input type="range" min="0" max="10" value="2" id="input_margin"/>
</td>
<td class="tools_value" id="value_margin"></td>
</tr>
<tr>
<td class="tools_title">Schriftart:</td>
<td class="tools_edit">
<div class="select">
<select id='input_fontfam'></select>
<div class="select_arrow">
</div>
</div>
</td>
<td class="tools_value" id="value_fontfam">WordcloudJS</td>
</tr>
<tr>
<td class="tools_title">Schriftfarbe:</td>
<td class="tools_edit">
<div class='divcolorpicker' id="input_color1"></div>
<div class='divcolorpicker' id="input_color2"></div>
<div class='divcolorpicker' id="input_color3"></div>
<div class='divcolorpicker' id="input_color4"></div>
</td>
<td class="tools_value" id="value_fontcol"></td>
</tr>
<tr>
<td class="tools_title">Schriftrichtung:</td>
<td class="tools_edit">
<input type="range" min="0" max="2" value="0" id="input_dir"/>
</td>
<td class="tools_value" id="value_dir"></td>
</tr>
<tr>
<td class="tools_title">Max Schriftgröße:</td>
<td class="tools_edit">
<input type="range" min="10" max="200" value="100" id="input_fontsizemax"/>
</td>
<td class="tools_value" id="value_fontsizemax"></td>
</tr>
<tr>
<td class="tools_title">Min Schriftgröße:</td>
<td class="tools_edit">
<input type="range" min="10" max="100" value="20" id="input_fontsizemin"/>
</td>
<td class="tools_value" id="value_fontsizemin"></td>
</tr>
<tr>
<td class="tools_title">Path:</td>
<td class="tools_edit">
<input type="range" min="0" max="1" value="0" id="input_path"/>
</td>
<td class="tools_value" id="value_path"></td>
</tr>
<tr>
<td class="tools_title">Alpha:</td>
<td class="tools_edit">
<input type="range" min="0" max="1" value="0" id="input_alpha"/>
</td>
<td class="tools_value" id="value_alpha"></td>
</tr>
</table>
</td>
<td>
<div id="textbox">
<textarea id="textedit" cols="60" rows="16"></textarea>
<button id="btn_start">Generieren</button>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>