summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 21:14:05 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 21:14:05 +0800
commite5d8fe41c4fd8331352c77d8a17d5c035f0787a2 (patch)
tree9d5dd1bc385f462c4c8fa15febef1683d06cbd2d /public
parent9aba29dd8f067338025593b7c409b494d4b0ce32 (diff)
downloadgitea-e5d8fe41c4fd8331352c77d8a17d5c035f0787a2.tar.gz
gitea-e5d8fe41c4fd8331352c77d8a17d5c035f0787a2.zip
issue create page ui
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css30
-rw-r--r--public/js/app.js1
2 files changed, 29 insertions, 2 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 74dce472e2..eeead844ae 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -512,6 +512,14 @@ html, body {
height: 39px;
}
+#repo-toolbar .nav .tmp a:hover {
+ text-decoration: none;
+}
+
+#repo-toolbar .nav .tmp .btn {
+ margin-top: -2px;
+}
+
#repo-toolbar .nav .active {
color: #F6F6F6;
}
@@ -602,7 +610,7 @@ html, body {
}
/* #source */
-#source {
+#source, #commits {
margin-top: -20px;
}
@@ -857,7 +865,7 @@ html, body {
}
.guide-box, .diff-head-box {
- margin-top: 20px;
+ margin-top: 4px;
}
.diff-head-box h4 {
@@ -991,6 +999,24 @@ html, body {
color: #AAA;
}
+/* issue */
+
+#issue-create-form .panel-body {
+ padding: 15px 0 0 0;
+}
+
+#issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
+ margin-bottom: 0;
+}
+
+#issue-create-form .nav-tabs {
+ margin-bottom: 10px;
+}
+
+#issue-create-form .md-help{
+ margin-top: 6px;
+}
+
/* wrapper and footer */
#wrapper {
diff --git a/public/js/app.js b/public/js/app.js
index 0973398a50..8b0e5cd62c 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -111,6 +111,7 @@ var Gogits = {
};
Gogits.initTabs = function () {
var $tabs = $('[data-init=tabs]');
+ $tabs.tab("show");
$tabs.find("li:eq(0) a").tab("show");
};
// fix dropdown inside click