aboutsummaryrefslogtreecommitdiffstats
path: root/templates/issue
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-08 21:01:47 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-08 21:01:47 +0800
commit11ca10ab2fa9c0e0c8036d33bd31f4815ceb490e (patch)
tree34403dce1ec4f7f366e6ed6b6a5aea033876992a /templates/issue
parent495d939ca580825c4a91612e38107ecc4339598a (diff)
downloadgitea-11ca10ab2fa9c0e0c8036d33bd31f4815ceb490e.tar.gz
gitea-11ca10ab2fa9c0e0c8036d33bd31f4815ceb490e.zip
issue assignee ui
Diffstat (limited to 'templates/issue')
-rw-r--r--templates/issue/create.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/issue/create.tmpl b/templates/issue/create.tmpl
index f6a65cc846..0306719c6e 100644
--- a/templates/issue/create.tmpl
+++ b/templates/issue/create.tmpl
@@ -15,6 +15,22 @@
<input class="form-control input-lg" type="text" name="title" required="required" placeholder="Title" value="{{.title}}" />
</div>
<div class="form-group panel-body">
+ <span><strong id="assigned" data-no-assigned="No one">No one</strong> will be assigned</span>
+ <input type="hidden" name="assigned" value="0" id="assignee"/>&nbsp;&nbsp;
+ <div style="display: inline-block;position: relative">
+ <button type="button" class="dropdown-toggle btn btn-default btn-sm" data-toggle="dropdown">
+ <i class="fa fa-group"></i>
+ <span class="caret"></span>
+ </button>
+ <div class="dropdown-menu assignee">
+ <ul class="list-unstyled">
+ <li data-uid="0" class="clear-assignee hidden"><i class="fa fa-times-circle-o"></i> Clear assignee</li>
+ <li data-uid="123"><img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132"><strong>fuxiaohei</strong> nickname</li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="form-group panel-body">
<div class="md-help pull-right"><!-- todo help link -->
Content with <a href="https://help.github.com/articles/markdown-basics">Markdown</a>
</div>