]> source.dussan.org Git - gitea.git/commitdiff
issue list in repo
authorFuXiaoHei <fuxiaohei@hexiaz.com>
Tue, 25 Mar 2014 14:42:45 +0000 (22:42 +0800)
committerFuXiaoHei <fuxiaohei@hexiaz.com>
Tue, 25 Mar 2014 14:42:45 +0000 (22:42 +0800)
public/css/gogs.css
routers/repo/issue.go

index eeead844aee67cc895682b149a01249191fb0ee0..ae970b479982a72810d0fd63fec305c2e1c7c5bd 100755 (executable)
@@ -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 {
index d54582a2a007b34ebaeb8d2bb9d7eaf914a7d7d4..ab070d724c1414bd74b933dd44c2c821fd7f0f31 100644 (file)
@@ -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) {