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
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
syntax_j
mycard
Commits
dcff19e1
Commit
dcff19e1
authored
Oct 26, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove candy
parent
3a77c9fc
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
30 deletions
+8
-30
app/candy.component.css
app/candy.component.css
+0
-0
app/candy.component.html
app/candy.component.html
+0
-0
app/candy.component.ts
app/candy.component.ts
+0
-11
app/lobby.component.ts
app/lobby.component.ts
+3
-9
app/mycard.component.css
app/mycard.component.css
+0
-4
app/mycard.component.html
app/mycard.component.html
+4
-4
app/mycard.module.ts
app/mycard.module.ts
+1
-2
No files found.
app/candy.component.css
deleted
100644 → 0
View file @
3a77c9fc
app/candy.component.html
deleted
100644 → 0
View file @
3a77c9fc
app/candy.component.ts
deleted
100644 → 0
View file @
3a77c9fc
import
{
Component
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
#candy
'
,
templateUrl
:
'
app/candy.component.html
'
,
styleUrls
:
[
'
app/candy.component.css
'
],
})
export
class
CandyComponent
{
constructor
(){
}
}
app/lobby.component.ts
View file @
dcff19e1
...
...
@@ -10,15 +10,9 @@ import {LoginService} from "./login.service";
styleUrls
:
[
'
app/lobby.component.css
'
],
})
export
class
LobbyComponent
{
constructor
(
private
appsService
:
AppsService
,
private
loginService
:
LoginService
)
{
}
candy_url
;
get
candy_url
()
{
if
(
this
.
loginService
.
user
)
{
return
'
./candy/index.html?jid=
'
+
this
.
loginService
.
user
.
username
+
'
@mycard.moe&password=
'
+
this
.
loginService
.
user
.
external_id
+
'
&nickname=
'
+
this
.
loginService
.
user
.
username
+
'
&autojoin=ygopro_china_north@conference.mycard.moe
'
}
else
{
return
null
}
constructor
(
private
appsService
:
AppsService
,
private
loginService
:
LoginService
)
{
this
.
candy_url
=
'
./candy/index.html?jid=
'
+
this
.
loginService
.
user
.
username
+
'
@mycard.moe&password=
'
+
this
.
loginService
.
user
.
external_id
+
'
&nickname=
'
+
this
.
loginService
.
user
.
username
+
'
&autojoin=ygopro_china_north@conference.mycard.moe
'
}
}
app/mycard.component.css
View file @
dcff19e1
...
...
@@ -66,10 +66,6 @@ a {
cursor
:
default
;
}
#window-buttons
.darwin
{
display
:
none
;
}
#window-buttons
>
i
{
color
:
rgba
(
255
,
255
,
255
,
.75
);
margin
:
.5rem
;
...
...
app/mycard.component.html
View file @
dcff19e1
...
...
@@ -25,7 +25,7 @@
<a
(click)=
"loginService.logout()"
href=
"#ygopro"
id=
"logout"
class=
"require-login item"
>
切换账号
</a>
<a
(click)=
"refresh()"
href=
"#ygopro"
id=
"refresh"
class=
"item"
>
刷新
</a>
</div>
<div
id=
"window-buttons"
[
class.darwi
n]=
"platform == 'darwin'"
>
<div
id=
"window-buttons"
[
hidde
n]=
"platform == 'darwin'"
>
<i
id=
"minimize"
class=
"fa fa-minus"
aria-hidden=
"true"
></i>
<i
id=
"maximize"
class=
"fa fa-expand"
aria-hidden=
"true"
></i>
<i
id=
"restore"
class=
"fa fa-clone"
hidden
aria-hidden=
"true"
></i>
...
...
@@ -35,7 +35,7 @@
</nav>
<login
class=
"page"
*ngIf=
"!loginService.user"
></login>
<store
class=
"page"
[hidden]=
"!loginService.user ||
currentPage != 'store'"
></store>
<lobby
class=
"page"
[hidden]=
"!loginService.user ||
currentPage != 'lobby'"
></lobby>
<webview
id=
"community"
class=
"page"
[hidden]=
"!loginService.user ||
currentPage != 'community'"
<store
class=
"page"
*ngIf=
"loginService.user"
[hidden]=
"
currentPage != 'store'"
></store>
<lobby
class=
"page"
*ngIf=
"loginService.user"
[hidden]=
"
currentPage != 'lobby'"
></lobby>
<webview
id=
"community"
class=
"page"
*ngIf=
"loginService.user"
[hidden]=
"
currentPage != 'community'"
src=
"https://ygobbs.com"
></webview>
\ No newline at end of file
app/mycard.module.ts
View file @
dcff19e1
...
...
@@ -9,7 +9,6 @@ import {LobbyComponent} from "./lobby.component";
import
{
AppsComponent
}
from
"
./apps.component
"
;
import
{
AppDetailComponent
}
from
"
./app-detail.component
"
;
import
{
RosterComponent
}
from
"
./roster.component
"
;
import
{
CandyComponent
}
from
"
./candy.component
"
;
import
{
CommunityComponent
}
from
"
./community.component
"
;
import
{
YGOProComponent
}
from
"
./ygopro.component
"
;
import
{
AppsService
}
from
"
./apps.service
"
;
...
...
@@ -19,7 +18,7 @@ import {LoginService} from "./login.service";
@
NgModule
({
imports
:
[
BrowserModule
,
FormsModule
,
ReactiveFormsModule
,
HttpModule
,
TranslateModule
.
forRoot
()],
declarations
:
[
MyCardComponent
,
LoginComponent
,
StoreComponent
,
LobbyComponent
,
CommunityComponent
,
AppsComponent
,
AppDetailComponent
,
RosterComponent
,
CandyComponent
,
YGOProComponent
],
declarations
:
[
MyCardComponent
,
LoginComponent
,
StoreComponent
,
LobbyComponent
,
CommunityComponent
,
AppsComponent
,
AppDetailComponent
,
RosterComponent
,
YGOProComponent
],
bootstrap
:
[
MyCardComponent
],
providers
:
[
AppsService
,
SettingsService
,
LoginService
],
schemas
:
[
NO_ERRORS_SCHEMA
]
...
...
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