Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
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
MyCard
Moecube Store
Commits
e38ed156
Commit
e38ed156
authored
Jul 24, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Update favicon.ico"
This reverts commit
f6033695
.
parent
f6033695
Pipeline
#22766
passed with stages
in 2 minutes and 6 seconds
Changes
13
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
143 additions
and
6606 deletions
+143
-6606
src/app/arena-table/arena-table.component.css
src/app/arena-table/arena-table.component.css
+3
-0
src/app/arena-table/arena-table.component.html
src/app/arena-table/arena-table.component.html
+16
-0
src/app/arena-table/arena-table.component.spec.ts
src/app/arena-table/arena-table.component.spec.ts
+22
-0
src/app/arena-table/arena-table.component.ts
src/app/arena-table/arena-table.component.ts
+34
-0
src/app/banner/banner.component.css
src/app/banner/banner.component.css
+14
-0
src/app/banner/banner.component.html
src/app/banner/banner.component.html
+7
-0
src/app/banner/banner.component.spec.ts
src/app/banner/banner.component.spec.ts
+22
-0
src/app/banner/banner.component.ts
src/app/banner/banner.component.ts
+10
-0
src/app/home/home.component.css
src/app/home/home.component.css
+0
-0
src/app/home/home.component.html
src/app/home/home.component.html
+0
-0
src/app/home/home.component.ts
src/app/home/home.component.ts
+15
-0
src/app/table/table.component.html
src/app/table/table.component.html
+0
-3
yarn.lock
yarn.lock
+0
-6603
No files found.
src/app/arena-table/arena-table.component.css
0 → 100644
View file @
e38ed156
nz-table
::ng-deep
.ant-table
{
background
:
white
;
}
src/app/arena-table/arena-table.component.html
0 → 100644
View file @
e38ed156
<nz-table
#ajaxTable
[nzData]=
"listOfData"
[nzLoading]=
"loading"
nzSize=
"small"
[nzShowPagination]=
"false"
>
<thead>
<tr>
<th>
Rank
</th>
<th>
Deck
</th>
<th>
Count
</th>
</tr>
</thead>
<tbody>
<tr
*ngFor=
"let data of ajaxTable.data; let i = index"
>
<td>
{{ i+1 }}
</td>
<td>
{{ data.name }}
</td>
<td>
{{ data.count }}
</td>
</tr>
</tbody>
</nz-table>
src/app/arena-table/arena-table.component.spec.ts
0 → 100644
View file @
e38ed156
import
{
fakeAsync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
ArenaTableComponent
}
from
'
./arena-table.component
'
;
describe
(
'
ArenaTableComponent
'
,
()
=>
{
let
component
:
ArenaTableComponent
;
let
fixture
:
ComponentFixture
<
ArenaTableComponent
>
;
beforeEach
(
fakeAsync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
ArenaTableComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
ArenaTableComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should compile
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/arena-table/arena-table.component.ts
0 → 100644
View file @
e38ed156
import
{
HttpClient
}
from
'
@angular/common/http
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-arena-table
'
,
templateUrl
:
'
./arena-table.component.html
'
,
styleUrls
:
[
'
./arena-table.component.css
'
]
})
export
class
ArenaTableComponent
implements
OnInit
{
listOfData
:
ArenaDeck
[]
=
[];
loading
=
true
;
constructor
(
private
http
:
HttpClient
)
{}
async
ngOnInit
()
{
this
.
listOfData
=
await
this
.
http
.
get
<
ArenaDeck
[]
>
(
'
https://sapi.moecube.com:444/ygopro/analytics/deck/type
'
,
{
params
:
{
type
:
'
day
'
,
source
:
'
mycard-athletic
'
}
})
.
toPromise
();
this
.
loading
=
false
;
}
}
interface
ArenaDeck
{
count
:
'
661
'
;
name
:
'
转生炎兽
'
;
recent_time
:
'
2019-07-15T00:00:00.000Z
'
;
source
:
'
mycard-athletic
'
;
tags
:
[
'
转生炎兽-陀螺
'
,
'
转生炎兽-割草
'
];
}
src/app/banner/banner.component.css
0 → 100644
View file @
e38ed156
[
nz-carousel-content
]
{
text-align
:
center
;
height
:
160px
;
line-height
:
160px
;
background
:
#364d79
;
color
:
#fff
;
overflow
:
hidden
;
}
h3
{
color
:
#fff
;
}
\ No newline at end of file
src/app/banner/banner.component.html
0 → 100644
View file @
e38ed156
<nz-carousel
nzAutoPlay
>
<div
nz-carousel-content
*ngFor=
"let index of array"
>
<h3>
{{ index }}
</h3>
</div>
</nz-carousel>
\ No newline at end of file
src/app/banner/banner.component.spec.ts
0 → 100644
View file @
e38ed156
import
{
fakeAsync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
BannerComponent
}
from
'
./banner.component
'
;
describe
(
'
BannerComponent
'
,
()
=>
{
let
component
:
BannerComponent
;
let
fixture
:
ComponentFixture
<
BannerComponent
>
;
beforeEach
(
fakeAsync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
BannerComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
BannerComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should compile
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/banner/banner.component.ts
0 → 100644
View file @
e38ed156
import
{
Component
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-banner
'
,
templateUrl
:
'
./banner.component.html
'
,
styleUrls
:
[
'
./banner.component.css
'
]
})
export
class
BannerComponent
{
array
=
[
1
,
2
,
3
,
4
];
}
src/app/
table/tabl
e.component.css
→
src/app/
home/hom
e.component.css
View file @
e38ed156
File moved
src/app/home/home.component.html
0 → 100644
View file @
e38ed156
src/app/
table/tabl
e.component.ts
→
src/app/
home/hom
e.component.ts
View file @
e38ed156
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
@
Component
({
selector
:
'
app-
tabl
e
'
,
selector
:
'
app-
hom
e
'
,
templateUrl
:
'
./
tabl
e.component.html
'
,
templateUrl
:
'
./
hom
e.component.html
'
,
styleUrls
:
[
'
./
tabl
e.component.css
'
]
styleUrls
:
[
'
./
hom
e.component.css
'
]
})
})
export
class
Tabl
eComponent
implements
OnInit
{
export
class
Hom
eComponent
implements
OnInit
{
constructor
()
{
}
constructor
()
{
}
...
...
src/app/table/table.component.html
deleted
100644 → 0
View file @
f6033695
<p>
table works!
</p>
yarn.lock
deleted
100644 → 0
View file @
f6033695
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