-
Notifications
You must be signed in to change notification settings - Fork 4
/
mp.html
146 lines (143 loc) · 7.52 KB
/
mp.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
<!DOCTYPE HTML>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<meta charset="utf-8" />
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="320" name="MobileOptimized">
<head>
<title id="title"></title>
<link rel="icon" href="pslo.png" type="image/x-icon">
</head>
<body>
<div id="bkhome">
<a href="https://suntrise.github.io/" class="mdl-chip">
<span class="mdl-chip__text" id="hmtext" style="font-size: 20px;"></span>
</a>
</div>
<div id="pslo_page" style="margin-left: 5%;">
<h4 id="pageTitle"></h4>
<button onclick="notice.style.display='block'" id="what" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" style="font-size: 20px;"></button>
<button onclick="updlog.style.display='block'" id="uplog" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" style="font-size: 20px;"></button>
<br><a href="https://github.com/suntrise/pseudo" target="_blank" id="pjhome"></a>
 <a href="https://github.com/suntrise/Pseudo-localization-Demo" target="_blank" id="exever"></a>
 <button id="zh" onclick="setzh();"></button>
<button id="en" onclick="seten();"></button>
<br>
</label>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" style="width: 80%;border-radius:5px;font-size: 20px;">
<textarea class="mdl-textfield__input" type="text" rows= "3" id="pstype" style="font-size: 20px;"></textarea>
<label class="mdl-textfield__label" for="pstype"></label>
</div>
<div class="mdl-textfield mdl-js-textfield" style="width: 80%;border-radius:5px;font-size: 20px;">
<textarea class="mdl-textfield__input" type="text" rows= "3" id="psshow" style="font-size: 20px;background: #fff;" readonly="readonly"></textarea>
<label class="mdl-textfield__label" for="psshow"></label>
</div>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored" id="psbtn" style="font-size: 20px;" onclick="pseudoLocalize()"></button>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect " id="hisbtn" style="font-size: 18px;" onclick="pshis.style.display='block'"></button>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect " style="font-size: 18px;" onclick="pslib.style.display='block'" id="chrbtn"></button>
<br>
<div id="options">
<span id="opttxt"></span>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="enXA">
<input type="radio" id="enXA" class="mdl-radio__button" name="enxab" checked>
<span class="mdl-radio__label" style="font-size: 18px;">en-XA(a→ǎ)</span>
</label>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="enXB">
<input type="radio" id="enXB" class="mdl-radio__button" name="enxab">
<span class="mdl-radio__label" style="font-size: 18px;">en-XB(abc→cba)</span>
</label>
<b id="uplowtxt"></b>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="default">
<input type="radio" id="default" class="mdl-radio__button" name="uplowOpt" checked>
<span class="mdl-radio__label" id="deftxt" style="font-size: 18px;"></span>
</label>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="upper">
<input type="radio" id="upper" class="mdl-radio__button" name="uplowOpt">
<span class="mdl-radio__label" id="uptxt" style="font-size: 18px;"></span>
</label>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="lower">
<input type="radio" id="lower" class="mdl-radio__button" name="uplowOpt">
<span class="mdl-radio__label" id="lowtxt" style="font-size: 18px;"></span>
</label>
<br>
<b id="prstxt"></b>
<select name="presufs" id="suffix" style="height:30px;font-size:20px" onchange="sufcheck()">
<option id="prs0" value="0"></option>
<option id="prs1" value="1"></option>
<option id="prs2" value="2"></option>
<option id="prs3" value="3"></option>
<option id="prs4" value="4"></option>
</select>
<div id="prscus" style="display: none;">
<span id="cuspt"></span><input type="text" name="" id="cuspre" style="width:50px;font-size:20px" value="[">
<span id="cusst"></span><input type="text" name="" id="cussuf" style="width:50px;font-size:20px" value="]">
<br>
<span id="cuset"></span><input type="text" name="" id="cusexp" style="width:100px;font-size:20px">
<br><span id="cusnt"></span>
<input type="text" name="" id="cusexpn" style="width:40px;font-size:20px" value="7">
</div>
<br>
<input type="checkbox" name="frontt" id="front" class="">
<span class="" id="hashtxt" style="font-size: 20px;"></span>
<br>
<div id="hashdiv" style="display:none">
<span id="hashdit"></span><select name="hash" id="hashids" style="height:30px;font-size:20px">
<option value="3">3</option>
<option value="4">4</option>
<option value="5" selected>5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
<input type="checkbox" name="vowel" id="dbvowel" class="">
<span class="" id="dbvtxt" style="font-size: 20px;"></span>
<select id="vowelnum" style="height:30px;font-size:20px">
<option value="1" id="dbv1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select>
<br>
<input type="checkbox" name="nums" id="numcir" class="">
<span class="" id="nctxt" style="font-size: 20px;"></span>
<input type="checkbox" name="nums" id="keepEsc" class="">
<span class="" id="esctxt" style="font-size: 20px;"></span>
</div>
<img style="position:fixed;bottom: 1%;right: 1%;" src="https://badges.toozhao.com/badges/01GGFBWDY0MAKM9FJNVQGK5WDD/blue.svg" />
<div class="notice-mp" id="pshis">
<button style="position: absolute;top: 0%;right: 0%;height: auto;width: auto;border-radius: 0px;font-size: 25px;" onclick="pshis.style.display='none'">X</button>
<button style="position: absolute;top: 0%;left: 0%;height: auto;width: auto;border-radius: 0px;font-size: 25px;" id="clear" onclick="hisclear()"></button>
<br><br>
<div id="pshiss">
</div>
</div>
<div class="notice-mp" id="notice">
<button style="position: absolute;top: 0%;right: 0%;height: auto;width: auto;border-radius: 0px;font-size: 25px;" onclick="notice.style.display='none'">X</button>
<br><div id="whattxt"></div>
</div>
<div class="notice-mp" id="updlog">
<button style="position: absolute;top: 0%;right: 0%;height: auto;width: auto;border-radius: 0px;font-size: 25px;" onclick="updlog.style.display='none'">X</button>
<div id="logtxt"></div>
</div>
<div class="notice" id="pslib">
<button style="position: absolute;top: 0%;right: 0%;height: auto;width: auto;border-radius: 0px;font-size: 25px;" onclick="pslib.style.display='none'">X</button>
<br><div id="pslibs"></div>
</div>
</div>
</body>
<link rel="stylesheet" type="text/css" href="pslo.css">
<script type="application/json" src="character.json"></script>
<script type="text/javascript" src="settings.js"></script>
<script type="text/javascript" src="pslo.js"></script>