diff options
author | Unknwon <u@gogs.io> | 2015-09-02 20:04:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-02 20:04:18 -0400 |
commit | 5c5ccddb02113027f0b1a24e836ee61eebd56729 (patch) | |
tree | 6fad32def077dcddc0c72dda96cedc96b5a504a4 /templates/user | |
parent | c0a899b15182fc717207dadb33a0d55024dce109 (diff) | |
download | gitea-5c5ccddb02113027f0b1a24e836ee61eebd56729.tar.gz gitea-5c5ccddb02113027f0b1a24e836ee61eebd56729.zip |
fix buttons style
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 6 | ||||
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index a1cde27f91..82b0fd80ce 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -26,12 +26,12 @@ </div> </div> <div class="twelve wide column content"> - <div class="ui tiny tabs buttons"> - <a class="ui green basic button {{if not .IsShowClosed}}active{{end}}" href="{{.Link}}?type={{$.ViewType}}&repo={{.RepoID}}&state=open"> + <div class="ui tiny basic buttons"> + <a class="ui {{if not .IsShowClosed}}green active{{end}} basic button" href="{{.Link}}?type={{$.ViewType}}&repo={{.RepoID}}&state=open"> <i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues.open_tab" .IssueStats.OpenCount}} </a> - <a class="ui red basic button {{if .IsShowClosed}}active{{end}}" href="{{.Link}}?type={{$.ViewType}}&repo={{.RepoID}}&state=closed"> + <a class="ui {{if .IsShowClosed}}red active{{end}} basic button" href="{{.Link}}?type={{$.ViewType}}&repo={{.RepoID}}&state=closed"> <i class="octicon octicon-issue-closed"></i> {{.i18n.Tr "repo.issues.close_tab" .IssueStats.ClosedCount}} </a> diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index d87f766674..5a7fbf7b54 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -10,12 +10,12 @@ {{.i18n.Tr "home.switch_dashboard_context"}} </div> <div class="items"> - <a class="{{if eq .ContextUser.Id .SignedUser.Id}}active selected{{end}} item" href="{{AppSubUrl}}/issues"> + <a class="{{if eq .ContextUser.Id .SignedUser.Id}}active selected{{end}} item" href="{{AppSubUrl}}/{{if .PageIsIssues}}issues{{else}}pulls{{end}}"> <img class="ui avatar image" src="{{.SignedUser.AvatarLink}}"> {{.SignedUser.Name}} </a> {{range .Orgs}} - <a class="{{if eq $.ContextUser.Id .Id}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/issues"> + <a class="{{if eq $.ContextUser.Id .Id}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else}}pulls{{end}}"> <img class="ui avatar image" src="{{.AvatarLink}}"> {{.Name}} </a> |