summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue2
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-11-17 23:07:34 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-11-17 23:07:34 +0800
commitd1a60e364383b877fd98b853d94b739cb171fe9c (patch)
treedb3bddccb05f18a4be0b1a2a39e1415b66756c11 /templates/repo/issue2
parenta0f9197b4573aa9d4d868637ed00e710a435797b (diff)
downloadgitea-d1a60e364383b877fd98b853d94b739cb171fe9c.tar.gz
gitea-d1a60e364383b877fd98b853d94b739cb171fe9c.zip
add pull-request and labels page design
Diffstat (limited to 'templates/repo/issue2')
-rw-r--r--templates/repo/issue2/labels.tmpl36
-rw-r--r--templates/repo/issue2/list.tmpl24
2 files changed, 48 insertions, 12 deletions
diff --git a/templates/repo/issue2/labels.tmpl b/templates/repo/issue2/labels.tmpl
new file mode 100644
index 0000000000..b499bae1b1
--- /dev/null
+++ b/templates/repo/issue2/labels.tmpl
@@ -0,0 +1,36 @@
+{{template "ng/base/head" .}}
+{{template "ng/base/header" .}}
+<div id="repo-wrapper">
+ {{template "repo/header" .}}
+ <div class="issue-main container repo-wide-wrapper">
+ <ul id="issue-list-nav" class="menu menu-line">
+ <li><a href="#">Issue</a></li>
+ <li><a href="#">Pull Request</a></li>
+ <li class="current"><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>
+ </ul>
+ <div id="issue-list-container">
+ <div id="issue-list-menu">
+ <div class="left"><span class="label label-black" id="labels-num">6</span><strong>Labels</strong></div>
+ <div class="clear"></div>
+ </div>
+ <ul id="label-list" class="list-no-style">
+ <li class="item" id="label-id">
+ <a class="right" href="#"><i class="octicon octicon-x"></i>Delete</a>
+ <a class="right" href="#"><i class="octicon octicon-pencil"></i>Edit</a>
+ <a class="right issue-num" href="#"><i class="octicon octicon-issue-opened"></i><strong class="num">12</strong>Issues</a>
+ <a class="left label clear" href="#" style="background-color: red"><i class="octicon octicon-tag"></i><strong>bug</strong></a>
+ </li>
+ <li class="item" id="label-id">
+ <a class="right" href="#"><i class="octicon octicon-x"></i>Delete</a>
+ <a class="right" href="#"><i class="octicon octicon-pencil"></i>Edit</a>
+ <a class="right issue-num" href="#"><i class="octicon octicon-issue-opened"></i><strong class="num">12</strong>Issues</a>
+ <a class="left label clear" href="#" style="background-color: red"><i class="octicon octicon-tag"></i><strong>bug</strong></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+</div>
+{{template "ng/base/footer" .}} \ No newline at end of file
diff --git a/templates/repo/issue2/list.tmpl b/templates/repo/issue2/list.tmpl
index 384371eb04..db69afb7aa 100644
--- a/templates/repo/issue2/list.tmpl
+++ b/templates/repo/issue2/list.tmpl
@@ -8,7 +8,7 @@
<li><a href="#">Pull Request</a></li>
<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 btn-radius text-bold">New Issue</button></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>
</ul>
<div id="issue-list-container">
@@ -29,9 +29,9 @@
<i class="octicon octicon-comment"></i> 7
</a>
<p class="title text-bold">
- <span class="label label-black label-radius index-num">#588</span>
+ <span class="label label-black index-num">#588</span>
<a href="#" class="title-text">Delete account text and/or translations missing</a>
- <span class="label label-radius label-red issue-label"><a href="#">bug</a></span>
+ <span class="label label-red issue-label"><a href="#">bug</a></span>
</p>
<p class="desc">opened 7 days ago by <a href="#">marcuspoehls</a></p>
</li>
@@ -40,9 +40,9 @@
<i class="octicon octicon-comment"></i> 7
</a>
<p class="title text-bold">
- <span class="label label-black label-radius index-num">#588</span>
+ <span class="label label-black index-num">#588</span>
<a href="#" class="title-text">Delete account text and/or translations missing</a>
- <span class="label label-radius label-red issue-label"><a href="#">bug</a></span>
+ <span class="label label-red issue-label"><a href="#">bug</a></span>
</p>
<p class="desc">opened 7 days ago by <a href="#">marcuspoehls</a></p>
</li>
@@ -51,19 +51,19 @@
<i class="octicon octicon-comment"></i> 7
</a>
<p class="title text-bold">
- <span class="label label-black label-radius index-num">#588</span>
+ <span class="label label-black index-num">#588</span>
<a href="#" class="title-text">Disabling attachments breaks issues and comments ajax submit</a>
- <span class="label label-radius label-red issue-label"><a href="#">bug</a></span>
+ <span class="label label-red issue-label"><a href="#">bug</a></span>
</p>
<p class="desc">opened 7 days ago by <a href="#">marcuspoehls</a></p>
</li>
</ul>
<div id="issue-list-pager" class="pager text-center">
- <a class="prev page-radius invalid" href="#">Prev</a>
- <a class="page page-radius" href="#">1</a>
- <a class="page page-radius hover" href="#">2</a>
- <a class="page page-radius" href="#">3</a>
- <a class="next page-radius" href="#">Next</a>
+ <a class="prev invalid" href="#">Prev</a>
+ <a class="page" href="#">1</a>
+ <a class="page hover" href="#">2</a>
+ <a class="page" href="#">3</a>
+ <a class="next" href="#">Next</a>
</div>
</div>
</div>