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
e549a400
Commit
e549a400
authored
Sep 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app list
parent
9bc04bf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
17 deletions
+36
-17
app/apps.component.css
app/apps.component.css
+13
-4
app/apps.component.html
app/apps.component.html
+23
-13
No files found.
app/apps.component.css
View file @
e549a400
:host
{
/*background-color: darkslategray;*/
width
:
280px
;
flex-shrink
:
0
;
overflow-y
:
auto
;
background-color
:
#f5f5f5
;
border-right
:
1px
solid
#eee
;
}
.list-group-item
{
border-radius
:
initial
;
a
{
display
:
block
;
padding
:
10px
20px
10px
20px
;
}
.active
{
background-color
:
#428bca
;
}
.active
>
a
{
color
:
#fff
;
}
\ No newline at end of file
app/apps.component.html
View file @
e549a400
<div
class=
"list-group"
>
<!--
<a href="#" class="list-group-item active">游戏王</a>
<a href="#" class="list-group-item list-group-item-action">绯想天</a>
<a href="#" class="list-group-item list-group-item-action disabled">永远消失的幻想乡</a>
-->
<a
*ngFor=
"let app of apps"
(click)=
"selectApp(app.id)"
href=
"#"
class=
"list-group-item list-group-item-action"
[ngClass]=
"{active: app.id==routingService.app}"
<ul
class=
"nav nav-sidebar"
>
<li
*ngFor=
"let app of apps"
[class.active]=
"app.id==routingService.app"
><a
(click)=
"selectApp(app.id)"
href=
"#"
>
{{app.name[app.locales[0]]}}
</a>
</div>
\ No newline at end of file
</a></li>
</ul>
<!--<ul class="nav nav-sidebar">
<li><a href="">Nav item</a></li>
<li><a href="">Nav item again</a></li>
<li><a href="">One more nav</a></li>
<li><a href="">Another nav item</a></li>
<li><a href="">More navigation</a></li>
</ul>
<ul class="nav nav-sidebar">
<li><a href="">Nav item again</a></li>
<li><a href="">One more nav</a></li>
<li><a href="">Another nav item</a></li>
</ul>-->
<!--<div class="list-group">
</div>-->
\ No newline at end of file
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