summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-12-04 23:22:16 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-12-04 23:22:16 +0800
commit0af3a5b60327f9784f17bf5a4691c948a0f271e5 (patch)
tree52f607d2903c2df20251ed382e988a33eb743ce4 /templates
parentcb6be94358e6ed250c3794f2917e2a5da85bdf7e (diff)
downloadgitea-0af3a5b60327f9784f17bf5a4691c948a0f271e5.tar.gz
gitea-0af3a5b60327f9784f17bf5a4691c948a0f271e5.zip
add issue list filter ui
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue2/list.tmpl32
1 files changed, 31 insertions, 1 deletions
diff --git a/templates/repo/issue2/list.tmpl b/templates/repo/issue2/list.tmpl
index db69afb7aa..c7a271d14a 100644
--- a/templates/repo/issue2/list.tmpl
+++ b/templates/repo/issue2/list.tmpl
@@ -9,7 +9,7 @@
<li><a href="#">Labels</a></li>
<li><a href="#">Milestones</a></li>
<li class="right" id="issue-new"><a href="#"><button id="issue-new-btn" class="btn btn-green text-bold">New Issue</button></a></li>
- <li class="right"><a href="#">Filter</a></li>
+ <!--<li class="right"><a href="#">Filter</a></li>-->
</ul>
<div id="issue-list-container">
<div id="issue-list-menu">
@@ -21,6 +21,36 @@
<i class="octicon octicon-issue-closed"></i> 12 Close
</a></span>
</div>
+ <ul id="issue-list-filter" class="right menu menu-line">
+ <li class="down drop label-filter">
+ <a href="#">Labels</a>
+ <div class="drop-down">
+ <h4>Labels</h4>
+ <ul class="labels list-no-style">
+ <li class="no-label"><strong>no label</strong></li>
+ <li><a href="#"><span class="color"></span><span class="name">bug</span></a></li>
+ <li><a href="#"><span class="color"></span><span class="name">feature</span></a></li>
+ <li><a href="#"><span class="color"></span><span class="name">roadmap</span></a></li>
+ </ul>
+ </div>
+ </li>
+ <li class="down drop milestone-filter">
+ <a href="#">Milestones</a>
+ <div class="drop-down">
+ <h4>Milestones</h4>
+ <ul class="milestones list-no-style">
+ <li class="no-label"><strong>no milestone</strong></li>
+ <li><a href="#">v1</a></li>
+ </ul>
+ </div>
+ </li>
+ <li class="down drop assignee-list">
+ <a href="#">Assignee</a>
+ <div class="drop-down">
+ aabbcc
+ </div>
+ </li>
+ </ul>
<div class="clear"></div>
</div>
<ul id="issue-list" class="list-no-style">