summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 22:42:45 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 22:42:45 +0800
commit124c4d72bfd911b7966cfd513d469b3aff8ac086 (patch)
tree54a640e6e1b3f4d43cb8e6d630f92861ccf12337
parente5d8fe41c4fd8331352c77d8a17d5c035f0787a2 (diff)
downloadgitea-124c4d72bfd911b7966cfd513d469b3aff8ac086.tar.gz
gitea-124c4d72bfd911b7966cfd513d469b3aff8ac086.zip
issue list in repo
-rwxr-xr-xpublic/css/gogs.css66
-rw-r--r--routers/repo/issue.go2
2 files changed, 66 insertions, 2 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index eeead844ae..ae970b4799 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1013,10 +1013,74 @@ html, body {
margin-bottom: 10px;
}
-#issue-create-form .md-help{
+#issue-create-form .md-help {
margin-top: 6px;
}
+#issue .filter-list a {
+ padding: 6px 10px;
+ font-size: 14px;
+ display: block;
+ margin-bottom: 6px;
+ border-radius: 3px;
+ color: #444;
+}
+
+#issue .filter-list a:hover {
+ background-color: #DDD;
+ text-decoration: none;
+}
+
+#issue .filter-list a.active {
+ background-color: #4183c4;
+ color: #FFF;
+}
+
+#issue .filter-option {
+ margin-bottom: 12px;
+}
+
+#issue .list-group .list-group-item {
+ background-color: #FFF;
+}
+
+#issue .list-group .list-group-item.unread {
+ border-left: 2px solid #DD4B39;
+}
+
+#issue .issue-item .title {
+ margin-bottom: 16px;
+}
+
+#issue .issue-item h5.title a {
+ color: #444;
+}
+
+#issue .issue-item.unread h5 {
+ font-weight: bold;
+}
+
+#issue .issue-item .info span {
+ margin-right: 12px;
+ color: #888;
+ line-height: 20px;
+}
+
+#issue .issue-item .info a, #issue .issue-item .number {
+ color: #888;
+}
+
+#issue .issue-item .number {
+ margin-top: 8px;
+}
+
+#issue .issue-item .avatar {
+ margin-right: 8px;
+ width: 20px;
+ height: 20px;
+ vertical-align: top;
+}
+
/* wrapper and footer */
#wrapper {
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index d54582a2a0..ab070d724c 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -35,7 +35,7 @@ func Issues(ctx *middleware.Context, params martini.Params) {
params["branchname"] = "master"
}
ctx.Data["Branchname"] = params["branchname"]
- ctx.HTML(200, "repo/issues")
+ ctx.HTML(200, "issue/repo")
}
func CreateIssue(ctx *middleware.Context, params martini.Params, form auth.CreateIssueForm) {