Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
Taiko Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Taiko Web
Commits
8a172de3
Commit
8a172de3
authored
Jan 28, 2019
by
Bui
Committed by
Gitea
Jan 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'disclaimer' of bui/taiko-web into master
parents
12bf63c1
29040f47
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
2 deletions
+44
-2
public/src/css/titlescreen.css
public/src/css/titlescreen.css
+19
-1
public/src/js/strings.js
public/src/js/strings.js
+10
-0
public/src/js/titlescreen.js
public/src/js/titlescreen.js
+11
-1
public/src/views/titlescreen.html
public/src/views/titlescreen.html
+4
-0
No files found.
public/src/css/titlescreen.css
View file @
8a172de3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}
}
.click-to-continue
{
.click-to-continue
{
position
:
absolute
;
position
:
absolute
;
bottom
:
1
0
%
;
bottom
:
1
5
%
;
color
:
#fff
;
color
:
#fff
;
font-size
:
8vmin
;
font-size
:
8vmin
;
text-align
:
center
;
text-align
:
center
;
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
width
:
7em
;
width
:
7em
;
height
:
4em
;
height
:
4em
;
color
:
#000
;
color
:
#000
;
z-index
:
5
;
}
}
#lang
:focus-within
{
#lang
:focus-within
{
outline
:
#4d90fe
auto
5px
;
outline
:
#4d90fe
auto
5px
;
...
@@ -84,3 +85,20 @@
...
@@ -84,3 +85,20 @@
#lang
:hover
#lang-id
::before
{
#lang
:hover
#lang-id
::before
{
-webkit-text-stroke
:
0.25em
#f00
;
-webkit-text-stroke
:
0.25em
#f00
;
}
}
#title-disclaimer
{
text-align
:
center
;
position
:
absolute
;
bottom
:
5%
;
color
:
#fff
;
z-index
:
1
;
}
#title-disclaimer
span
{
color
:
#fff
;
font-size
:
2vmin
;
text-align
:
center
;
display
:
block
;
}
#title-disclaimer
span
:before
{
left
:
initial
;
filter
:
blur
(
0.1vmin
);
}
public/src/js/strings.js
View file @
8a172de3
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
this
.
taikoWeb
=
"
たいこウェブ
"
this
.
taikoWeb
=
"
たいこウェブ
"
this
.
titleProceed
=
"
クリックするかEnterを押す!
"
this
.
titleProceed
=
"
クリックするかEnterを押す!
"
this
.
titleDisclaimer
=
"
この非公式シミュレーターはバンダイナムコとは関係がありません。
"
this
.
titleCopyright
=
"
Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc.
"
this
.
categories
=
{
this
.
categories
=
{
"
J-POP
"
:
"
J-POP
"
,
"
J-POP
"
:
"
J-POP
"
,
"
アニメ
"
:
"
アニメ
"
,
"
アニメ
"
:
"
アニメ
"
,
...
@@ -104,6 +106,8 @@ function StringsEn(){
...
@@ -104,6 +106,8 @@ function StringsEn(){
this
.
taikoWeb
=
"
Taiko Web
"
this
.
taikoWeb
=
"
Taiko Web
"
this
.
titleProceed
=
"
Click or Press Enter!
"
this
.
titleProceed
=
"
Click or Press Enter!
"
this
.
titleDisclaimer
=
"
This unofficial simulator is unaffiliated with BANDAI NAMCO.
"
this
.
titleCopyright
=
"
Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc.
"
this
.
categories
=
{
this
.
categories
=
{
"
J-POP
"
:
"
Pop
"
,
"
J-POP
"
:
"
Pop
"
,
"
アニメ
"
:
"
Anime
"
,
"
アニメ
"
:
"
Anime
"
,
...
@@ -202,6 +206,8 @@ function StringsCn(){
...
@@ -202,6 +206,8 @@ function StringsCn(){
this
.
taikoWeb
=
"
太鼓网页
"
this
.
taikoWeb
=
"
太鼓网页
"
this
.
titleProceed
=
"
点击或按回车!
"
this
.
titleProceed
=
"
点击或按回车!
"
this
.
titleDisclaimer
=
"
這款非官方模擬器與BANDAI NAMCO無關。
"
this
.
titleCopyright
=
"
Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc.
"
this
.
categories
=
{
this
.
categories
=
{
"
J-POP
"
:
"
流行音乐
"
,
"
J-POP
"
:
"
流行音乐
"
,
"
アニメ
"
:
"
卡通动画音乐
"
,
"
アニメ
"
:
"
卡通动画音乐
"
,
...
@@ -300,6 +306,8 @@ function StringsTw(){
...
@@ -300,6 +306,8 @@ function StringsTw(){
this
.
taikoWeb
=
"
太鼓網頁
"
this
.
taikoWeb
=
"
太鼓網頁
"
this
.
titleProceed
=
"
點擊或按確認!
"
this
.
titleProceed
=
"
點擊或按確認!
"
this
.
titleDisclaimer
=
"
这款非官方模拟器与BANDAI NAMCO无关。
"
this
.
titleCopyright
=
"
Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc.
"
this
.
categories
=
{
this
.
categories
=
{
"
J-POP
"
:
"
流行音樂
"
,
"
J-POP
"
:
"
流行音樂
"
,
"
アニメ
"
:
"
卡通動畫音樂
"
,
"
アニメ
"
:
"
卡通動畫音樂
"
,
...
@@ -398,6 +406,8 @@ function StringsKo(){
...
@@ -398,6 +406,8 @@ function StringsKo(){
this
.
taikoWeb
=
"
태고 웹
"
this
.
taikoWeb
=
"
태고 웹
"
this
.
titleProceed
=
"
클릭하거나 Enter를 누릅니다!
"
this
.
titleProceed
=
"
클릭하거나 Enter를 누릅니다!
"
this
.
titleDisclaimer
=
"
이 비공식 시뮬레이터는 반다이 남코와 관련이 없습니다.
"
this
.
titleCopyright
=
"
Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc.
"
this
.
categories
=
{
this
.
categories
=
{
"
J-POP
"
:
"
POP
"
,
"
J-POP
"
:
"
POP
"
,
"
アニメ
"
:
"
애니메이션
"
,
"
アニメ
"
:
"
애니메이션
"
,
...
...
public/src/js/titlescreen.js
View file @
8a172de3
...
@@ -6,7 +6,9 @@ class Titlescreen{
...
@@ -6,7 +6,9 @@ class Titlescreen{
this
.
proceed
=
document
.
getElementById
(
"
title-proceed
"
)
this
.
proceed
=
document
.
getElementById
(
"
title-proceed
"
)
this
.
langDropdown
=
document
.
getElementById
(
"
lang-dropdown
"
)
this
.
langDropdown
=
document
.
getElementById
(
"
lang-dropdown
"
)
this
.
langId
=
document
.
getElementById
(
"
lang-id
"
)
this
.
langId
=
document
.
getElementById
(
"
lang-id
"
)
this
.
disclaimerText
=
document
.
getElementById
(
"
title-disclaimer-text
"
)
this
.
disclaimerCopyright
=
document
.
getElementById
(
"
title-disclaimer-copyright
"
)
this
.
logo
=
new
Logo
()
this
.
logo
=
new
Logo
()
this
.
lang
=
this
.
getLang
()
this
.
lang
=
this
.
getLang
()
this
.
setLang
(
allStrings
[
this
.
lang
])
this
.
setLang
(
allStrings
[
this
.
lang
])
...
@@ -97,6 +99,12 @@ class Titlescreen{
...
@@ -97,6 +99,12 @@ class Titlescreen{
this
.
proceed
.
setAttribute
(
"
alt
"
,
strings
.
titleProceed
)
this
.
proceed
.
setAttribute
(
"
alt
"
,
strings
.
titleProceed
)
this
.
langId
.
innerText
=
strings
.
id
.
toUpperCase
()
this
.
langId
.
innerText
=
strings
.
id
.
toUpperCase
()
this
.
langId
.
setAttribute
(
"
alt
"
,
strings
.
id
.
toUpperCase
())
this
.
langId
.
setAttribute
(
"
alt
"
,
strings
.
id
.
toUpperCase
())
this
.
disclaimerText
.
innerText
=
strings
.
titleDisclaimer
this
.
disclaimerText
.
setAttribute
(
"
alt
"
,
strings
.
titleDisclaimer
)
this
.
disclaimerCopyright
.
innerText
=
strings
.
titleCopyright
this
.
disclaimerCopyright
.
setAttribute
(
"
alt
"
,
strings
.
titleCopyright
)
loader
.
screen
.
style
.
fontFamily
=
strings
.
font
loader
.
screen
.
style
.
fontFamily
=
strings
.
font
loader
.
screen
.
style
.
fontWeight
=
strings
.
font
===
"
Microsoft YaHei, sans-serif
"
?
"
bold
"
:
""
loader
.
screen
.
style
.
fontWeight
=
strings
.
font
===
"
Microsoft YaHei, sans-serif
"
?
"
bold
"
:
""
if
(
failedTests
.
length
!==
0
){
if
(
failedTests
.
length
!==
0
){
...
@@ -130,6 +138,8 @@ class Titlescreen{
...
@@ -130,6 +138,8 @@ class Titlescreen{
pageEvents
.
remove
(
this
.
langDropdown
,
"
change
"
)
pageEvents
.
remove
(
this
.
langDropdown
,
"
change
"
)
delete
this
.
titleScreen
delete
this
.
titleScreen
delete
this
.
proceed
delete
this
.
proceed
delete
this
.
titleDisclaimer
delete
this
.
titleCopyright
delete
this
.
langDropdown
delete
this
.
langDropdown
}
}
}
}
public/src/views/titlescreen.html
View file @
8a172de3
<div
id=
"title-screen"
>
<div
id=
"title-screen"
>
<canvas
id=
"logo"
></canvas>
<canvas
id=
"logo"
></canvas>
<div
class=
"click-to-continue stroke-sub"
id=
"title-proceed"
></div>
<div
class=
"click-to-continue stroke-sub"
id=
"title-proceed"
></div>
<div
id=
"title-disclaimer"
>
<span
class=
"stroke-sub"
id=
"title-disclaimer-text"
></span>
<span
class=
"stroke-sub"
id=
"title-disclaimer-copyright"
></span>
</div>
</div>
</div>
<div
id=
"lang"
>
<div
id=
"lang"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 38 38"
id=
"lang-icon"
><circle
cx=
"19"
cy=
"19"
r=
"19"
/><path
d=
"M19 4V34M19 4C13 4 9 12 9 19 9 26 13 34 19 34 25 34 29 26 29 19 29 12 25 4 19 4ZM6 11H32M4 19H34M6 27h26"
style=
"fill:none;stroke-width:2;stroke:#fff"
/><circle
cx=
"19"
cy=
"19"
r=
"15"
style=
"fill:none;stroke-width:2;stroke:#fff"
/></svg>
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 38 38"
id=
"lang-icon"
><circle
cx=
"19"
cy=
"19"
r=
"19"
/><path
d=
"M19 4V34M19 4C13 4 9 12 9 19 9 26 13 34 19 34 25 34 29 26 29 19 29 12 25 4 19 4ZM6 11H32M4 19H34M6 27h26"
style=
"fill:none;stroke-width:2;stroke:#fff"
/><circle
cx=
"19"
cy=
"19"
r=
"15"
style=
"fill:none;stroke-width:2;stroke:#fff"
/></svg>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment