mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 23:33:15 -05:00
dashboard ui
This commit is contained in:
parent
b5cc4078a9
commit
4f4ec9321f
2 changed files with 42 additions and 12 deletions
|
@ -336,6 +336,7 @@ body {
|
|||
#gogs-ssh-form textarea {
|
||||
height: 16em;
|
||||
}
|
||||
|
||||
/* #gogs-feed */
|
||||
|
||||
#gogs-feed-left {
|
||||
|
@ -345,3 +346,34 @@ body {
|
|||
#gogs-feed-right .repo-panel .panel-heading .btn {
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .panel-body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .list-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .list-group-item a {
|
||||
display: inline-block;
|
||||
margin-left: 0;
|
||||
background-color: transparent;
|
||||
padding-left: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .list-group-item .fa {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .list-group-item {
|
||||
font-size: 14px;
|
||||
line-height: 32px;
|
||||
border-bottom: 1px solid #DDD;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#gogs-feed-right .repo-panel .list-group-item:hover {
|
||||
background-color: rgba(65, 131, 196, 0.1);
|
||||
}
|
|
@ -21,10 +21,8 @@
|
|||
<a class="btn btn-success pull-right btn-sm" href="/repo/create/"><i class="fa fa-plus-square"></i>New Repo</a>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<ul>
|
||||
{{range .MyRepos}}
|
||||
<li><a href="#">{{.Name}}</a></li>
|
||||
{{end}}
|
||||
<ul class="list-group">{{range .MyRepos}}
|
||||
<li class="list-group-item"><i class="fa fa-book"></i><a href="/{{$.SignedUserName}}/{{.Name}}/">{{.Name}}</a></li>{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue