Browse Source

#1599 org dashboard icon css

for-closed-social
Unknwon 9 years ago
parent
commit
7b0ae27549
3 changed files with 7 additions and 4 deletions
  1. +1
    -1
      public/css/gogs.min.css
  2. +3
    -0
      public/less/_base.less
  3. +3
    -3
      templates/user/dashboard/navbar.tmpl

+ 1
- 1
public/css/gogs.min.css
File diff suppressed because it is too large
View File


+ 3
- 0
public/less/_base.less View File

@ -84,6 +84,9 @@ pre {
}
}
}
i.icon {
margin-right: 0!important;
}
.ui {
&.left {
float: left;

+ 3
- 3
templates/user/dashboard/navbar.tmpl View File

@ -31,13 +31,13 @@
<div class="ui right">
<div class="ui secondary head menu">
<a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard">
<i class="octicon octicon-rss"></i>&nbsp;{{.i18n.Tr "news_feed"}}
<i class="icon octicon octicon-rss"></i>&nbsp;{{.i18n.Tr "news_feed"}}
</a>
<a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/issues">
<i class="octicon octicon-issue-opened"></i>&nbsp;{{.i18n.Tr "issues"}}
<i class="icon octicon octicon-issue-opened"></i>&nbsp;{{.i18n.Tr "issues"}}
</a>
<a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/pulls">
<i class="octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
<i class="icon octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
</a>
<div class="right menu">
<div class="item">

Loading…
Cancel
Save