mirror of https://github.com/doccano/doccano.git
Hironsan
6 years ago
3 changed files with 84 additions and 1 deletions
Unified View
Diff Options
-
70doccano/app/server/templates/project_detail.html
-
4doccano/app/server/urls.py
-
11doccano/app/server/views.py
@ -0,0 +1,70 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
{% load static %} |
||||
|
{% block content %} |
||||
|
<section class="container" id="root"> |
||||
|
<div class="columns"> |
||||
|
|
||||
|
<div class="column is-9"> |
||||
|
<div class="box content"> |
||||
|
<article class="post"> |
||||
|
<h4>{{ object.name }}</h4> |
||||
|
<div class="media"> |
||||
|
<div class="media-left"> |
||||
|
<p class="image is-32x32"> |
||||
|
<img src="http://bulma.io/images/placeholders/128x128.png"> |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="media-content"> |
||||
|
<div class="content"> |
||||
|
<p>{{ object.description|truncatechars:200 }}</p> |
||||
|
<p> |
||||
|
<a href="#">@jsmith</a> created at {{ object.created_at|date }} |
||||
|
<span class="tag">Question</span> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="media-right"> |
||||
|
<span class="has-text-grey-light"> |
||||
|
<i class="fa fa-comments"></i> 1</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</article> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="column is-3"> |
||||
|
<a class="button is-primary is-block is-alt is-large" href="#">New Project</a> |
||||
|
<aside class="menu"> |
||||
|
<p class="menu-label"> |
||||
|
Tags |
||||
|
</p> |
||||
|
<ul class="menu-list"> |
||||
|
<li> |
||||
|
<span class="tag is-primary is-medium ">Dashboard</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-link is-medium ">Customers</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-light is-danger is-medium ">Authentication</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-dark is-medium ">Payments</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-success is-medium ">Transfers</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-warning is-medium ">Balance</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="tag is-medium ">Question</span> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</aside> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</section> |
||||
|
{% endblock %} |
Write
Preview
Loading…
Cancel
Save