summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpublic/css/gogs.css4
-rw-r--r--public/less/_dashboard.less5
-rw-r--r--templates/user/dashboard/dashboard.tmpl6
3 files changed, 12 insertions, 3 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 2ff08242c8..b4e50eda76 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -2980,6 +2980,10 @@ footer .container .links > *:first-child {
padding-top: 10px;
padding-bottom: 5px;
}
+.feeds .list .header .plus.icon {
+ margin-top: 5px;
+ margin-right: 0;
+}
.feeds .list ul {
list-style: none;
margin: 0;
diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less
index 53d3352cbd..d28c994d92 100644
--- a/public/less/_dashboard.less
+++ b/public/less/_dashboard.less
@@ -89,6 +89,11 @@
.header {
padding-top: 10px;
padding-bottom: 5px;
+
+ .plus.icon {
+ margin-top: 5px;
+ margin-right: 0;
+ }
}
ul {
list-style: none;
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 2c476dfa9b..86936efa68 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -18,7 +18,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_repos"}} <span class="ui grey label">{{.ContextUser.NumRepos}}</span>
<div class="ui right">
- <a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/repo/create">{{.i18n.Tr "new_repo"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/repo/create" data-content="{{.i18n.Tr "new_repo"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">
@@ -64,7 +64,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_orgs"}} <span class="ui grey label">{{.ContextUser.GetOrganizationCount}}</span>
<div class="ui right">
- <a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "new_org"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/org/create" data-content="{{.i18n.Tr "new_org"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">
@@ -89,7 +89,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_mirrors"}} <span class="ui grey label">{{.MirrorCount}}</span>
<div class="ui right">
- <a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/repo/migrate?mirror=1">{{.i18n.Tr "new_mirror"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/repo/migrate?mirror=1" data-content="{{.i18n.Tr "new_mirror"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">