Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
gs
Commits
bbbaa29a
There was an error fetching the commit references. Please try again later.
Commit
bbbaa29a
authored
5 years ago
by
rogeraabbccdd
Browse files
Options
Downloads
Patches
Plain Diff
Add traditional chinese support
parent
5b6a67d8
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
base.css
+5
-0
5 additions, 0 deletions
base.css
index.html
+11
-6
11 additions, 6 deletions
index.html
main.js
+288
-127
288 additions, 127 deletions
main.js
with
304 additions
and
133 deletions
base.css
+
5
−
0
View file @
bbbaa29a
...
...
@@ -89,4 +89,9 @@ h1 {
.shuffle
{
margin-left
:
10px
;
height
:
30px
;
}
select
{
margin
:
10px
0
20px
;
padding
:
5px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
index.html
+
11
−
6
View file @
bbbaa29a
...
...
@@ -14,13 +14,18 @@
<body>
<h1>
Geng Shuang
<br/>
Emulator
</h1>
<small
class=
"label"
>
发言对象:
</small><input
type=
"text"
id=
"1"
>
<small
class=
"label"
>
对方干了什么事情:
</small><input
type=
"text"
id=
"2"
>
<small
class=
"label"
>
态度:
</small>
<input
type=
"radio"
name =
"attitude"
,
id=
"r1"
value=
"support"
><label
for=
"support"
>
支持
</label>
<input
type=
"radio"
name =
"attitude"
,
id=
"r2"
value=
"condemn"
checked
><label
for=
"condemn"
>
谴责
</label>
<small
class=
"label"
id=
"label-lang"
>
语言
</small>
<select
id=
"lang"
onchange=
"changeLang(this.value)"
>
<option
value=
"sc"
>
简体
</option>
<option
value=
"tc"
>
繁體
</option>
</select>
<small
class=
"label"
id=
"label-n"
>
发言对象:
</small><input
type=
"text"
id=
"1"
>
<small
class=
"label"
id=
"label-b"
>
对方干了什么事情:
</small><input
type=
"text"
id=
"2"
>
<small
class=
"label"
id=
"label-attitude"
>
态度:
</small>
<input
type=
"radio"
name =
"attitude"
id=
"r1"
value=
"support"
><label
for=
"support"
id=
"label-support"
>
支持
</label>
<input
type=
"radio"
name =
"attitude"
id=
"r2"
value=
"condemn"
checked
><label
for=
"condemn"
id=
"label-condemn"
>
谴责
</label>
<div
class=
"actions"
>
<div
class=
"button clickable"
onclick=
"generate()"
>
外交部发言人耿爽答记者问
</div>
<div
class=
"button clickable"
id=
"btn-generate"
onclick=
"generate()"
>
外交部发言人耿爽答记者问
</div>
<img
class=
"shuffle clickable"
onclick=
"random()"
src=
"shuffle.svg"
>
</div>
<div
id=
"text"
></div>
...
...
This diff is collapsed.
Click to expand it.
main.js
+
288
−
127
View file @
bbbaa29a
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment