Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
MyCard
mycard
Commits
0c968264
Commit
0c968264
authored
Aug 22, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ygopro env
parent
a67b9346
Pipeline
#4857
failed with stages
in 3 minutes and 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
14 deletions
+25
-14
app/ygopro.component.css
app/ygopro.component.css
+9
-0
app/ygopro.component.html
app/ygopro.component.html
+15
-14
systemjs.config.js
systemjs.config.js
+1
-0
No files found.
app/ygopro.component.css
View file @
0c968264
...
...
@@ -58,6 +58,15 @@
/*margin-bottom: 1em;*/
/*}*/
.small-gutters
{
margin-right
:
-5px
;
margin-left
:
0px
;
}
.small-gutters
>
.col
,
.small-gutters
>
[
class
*=
"col-"
]
{
padding-right
:
5px
;
padding-left
:
0px
;
}
dl
{
margin-bottom
:
0
;
}
...
...
app/ygopro.component.html
View file @
0c968264
<div
class=
"input-group input-group-sm"
>
<label
i18n
class=
"input-group-addon"
id=
"server-label"
>
选择服务器
</label>
<select
class=
"form-control form-control-sm"
id=
"selectServer"
name=
"server"
[disabled]=
"!appsService.allReady(app)"
[(ngModel)]=
"currentServer"
>
<option
*ngFor=
"let server of selectableServers"
[ngValue]=
"server"
>
{{server.name}}
</option>
</select>
</div>
<div
*ngIf=
"!matching"
id=
"action"
>
<button
[disabled]=
"!appsService.allReady(app) || currentServer.id !== 'tiramisu'"
(click)=
"request_match('athletic')"
type=
"button"
class=
"btn btn-primary btn-sm"
>
<i
class=
"fa fa-play"
aria-hidden=
"true"
></i>
<span
i18n
>
竞技匹配
</span></button>
...
...
@@ -24,13 +17,21 @@
<span
class=
"input-group-btn"
><button
i18n
class=
"btn btn-secondary"
type=
"button"
[disabled]=
"!match_cancelable"
(click)=
"cancel_match()"
>
取消
</button></span>
</div>
<div
class=
"input-group input-group-sm"
>
<label
i18n
class=
"input-group-addon"
id=
"basic-addon1"
>
卡组
</label>
<select
class=
"form-control form-control-sm"
id=
"exampleSelect1"
name=
"deck"
[(ngModel)]=
"current_deck"
>
<option
*ngFor=
"let deck of decks"
[ngValue]=
"deck"
>
{{deck}}
</option>
</select>
<span
class=
"input-group-btn"
>
<button
id=
"edit_deck_button"
i18n
[disabled]=
"!appsService.allReady(app)"
class=
"btn btn-secondary btn-sm"
(click)=
"edit_deck(current_deck)"
>
编辑
</button>
</span>
<div
class=
"row small-gutters"
>
<div
class=
"col-sm-5 input-group input-group-sm"
>
<label
i18n
class=
"input-group-addon"
id=
"server-label"
>
环境
</label>
<select
class=
"form-control form-control-sm"
id=
"selectServer"
name=
"server"
[disabled]=
"!appsService.allReady(app)"
[(ngModel)]=
"currentServer"
>
<option
*ngFor=
"let server of selectableServers"
[ngValue]=
"server"
>
{{server.name}}
</option>
</select>
</div>
<div
class=
"col-sm-7 input-group input-group-sm"
>
<label
i18n
class=
"input-group-addon"
id=
"basic-addon1"
>
卡组
</label>
<select
class=
"form-control form-control-sm"
id=
"exampleSelect1"
name=
"deck"
[(ngModel)]=
"current_deck"
>
<option
*ngFor=
"let deck of decks"
[ngValue]=
"deck"
>
{{deck}}
</option>
</select>
<span
class=
"input-group-btn"
>
<button
id=
"edit_deck_button"
i18n
[disabled]=
"!appsService.allReady(app)"
class=
"btn btn-secondary btn-sm"
(click)=
"edit_deck(current_deck)"
>
编辑
</button>
</span>
</div>
</div>
<div
class=
"modal fade"
id=
"game-create-windbot"
*ngIf=
"currentServer.windbot"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
...
...
systemjs.config.js
View file @
0c968264
...
...
@@ -79,6 +79,7 @@ System.config({
'
tether
'
:
'
npm:tether/dist/js/tether.min.js
'
,
'
bootstrap
'
:
'
npm:bootstrap/dist/js/bootstrap.min.js
'
,
'
reconnecting-websocket
'
:
'
npm:reconnecting-websocket/dist/index.js
'
,
'
popper.js
'
:
'
npm:popper.js/dist/umd/popper.min.js
'
,
// 'typeahead.js': '@node/typeahead.js'
'
raven-js
'
:
'
npm:raven-js
'
...
...
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