Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
moecube
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
JoyJ
moecube
Commits
7a18a6ee
Commit
7a18a6ee
authored
Oct 21, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
news
parent
0083e502
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
381 deletions
+55
-381
app/app-detail.component.css
app/app-detail.component.css
+12
-0
app/app-detail.component.html
app/app-detail.component.html
+7
-3
app/ygopro.component.html
app/ygopro.component.html
+1
-1
app/ygopro.component.ts
app/ygopro.component.ts
+1
-1
apps.json
apps.json
+34
-376
No files found.
app/app-detail.component.css
View file @
7a18a6ee
...
@@ -22,4 +22,16 @@ progress {
...
@@ -22,4 +22,16 @@ progress {
.carousel-inner
img
{
.carousel-inner
img
{
width
:
100%
;
width
:
100%
;
}
#news
h3
{
font-size
:
1.5rem
;
}
#news
p
{
margin-bottom
:
0
;
}
#news
a
{
display
:
block
;
margin-bottom
:
1rem
;
}
}
\ No newline at end of file
app/app-detail.component.html
View file @
7a18a6ee
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
</div>-->
</div>-->
<div
id=
"carousel-example-generic"
class=
"carousel slide"
data-ride=
"carousel"
>
<
!--<
div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<ol class="carousel-indicators">
<li *ngFor="let item of news; let index = index;" data-target="#carousel-example-generic" [data-slide-to]="index" [class.active]="index == 0"></li>
<li *ngFor="let item of news; let index = index;" data-target="#carousel-example-generic" [data-slide-to]="index" [class.active]="index == 0"></li>
</ol>
</ol>
...
@@ -54,10 +54,14 @@
...
@@ -54,10 +54,14 @@
<span class="icon-next" aria-hidden="true"></span>
<span class="icon-next" aria-hidden="true"></span>
<span class="sr-only">Next</span>
<span class="sr-only">Next</span>
</a>
</a>
</div>
</div>
-->
<br>
<div
id=
"news"
*ngFor=
"let item of news"
>
<h3>
{{item.title}}
</h3>
<p>
{{item.text}}
</p>
<a
*ngIf=
"item.url"
[href]=
"item.url"
>
了解更多
</a>
</div>
<div
*ngIf=
"friends"
>
<div
*ngIf=
"friends"
>
<h2>
好友
</h2>
<h2>
好友
</h2>
...
...
app/ygopro.component.html
View file @
7a18a6ee
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<label>
选择对手
</label>
<label>
选择对手
</label>
<div
id=
"windbot"
class=
"list-group"
>
<div
id=
"windbot"
class=
"list-group"
>
<a
*ngFor=
"let name of windbot"
href=
"#"
class=
"list-group-item"
<a
*ngFor=
"let name of windbot"
href=
"#"
class=
"list-group-item"
onclick
=
"join_windbot(name)"
>
{{name}}
</a>
(click)
=
"join_windbot(name)"
>
{{name}}
</a>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
...
...
app/ygopro.component.ts
View file @
7a18a6ee
...
@@ -133,7 +133,7 @@ export class YGOProComponent {
...
@@ -133,7 +133,7 @@ export class YGOProComponent {
};
};
join_windbot
(
name
)
{
join_windbot
(
name
)
{
this
.
join
(
name
,
this
.
servers
[
0
])
this
.
join
(
'
AI#
'
+
name
,
this
.
servers
[
0
])
}
}
start_game
=
(
args
)
=>
{
start_game
=
(
args
)
=>
{
...
...
apps.json
View file @
7a18a6ee
This diff is collapsed.
Click to expand it.
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