add missing templates files
This commit is contained in:
0
notes/templates/notes/note.html
Normal file
0
notes/templates/notes/note.html
Normal file
12
notes/templates/notes/table_inline.html
Normal file
12
notes/templates/notes/table_inline.html
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<tr>
|
||||||
|
<th class="bg-{{bg_color}}">
|
||||||
|
<strong>{{header}}</strong> <small>{{small}}</small>
|
||||||
|
<span class="pull-right">
|
||||||
|
{% for label in labels %}
|
||||||
|
<span class="label label-info">{{label}}</span>
|
||||||
|
{% endfor %}</span>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><p>{{text}}</p></td>
|
||||||
|
</tr>
|
||||||
10
suivi/templates/suivi/details.html
Normal file
10
suivi/templates/suivi/details.html
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<ul class="nav nav-pills nav-justified" role="tablist" style="padding-bottom:20px;float:bottom;">
|
||||||
|
<li role="presentation" class="active"><a href="#suivi" aria-controls="suivi" role="tab" data-toggle="tab">Suivi</a></li>
|
||||||
|
<li role="presentation"><a href="#fiche" aria-controls="fiche" role="tab" data-toggle="tab">Fiche</a></li>
|
||||||
|
</ul>
|
||||||
|
<!-- Tab panes -->
|
||||||
|
<div class="tab-content">
|
||||||
|
<div role="tabpanel" class="tab-pane active" id="suivi">{% include "suivi/sujet_suivi.html" %}</div>
|
||||||
|
<div role="tabpanel" class="tab-pane" id="fiche">{% include "sujets/sujet_details_inner.html" %}</div>
|
||||||
|
</div>
|
||||||
|
Notes : {{ notes }}
|
||||||
19
suivi/templates/suivi/index.html
Normal file
19
suivi/templates/suivi/index.html
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<div class="col-md-4">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Sujets</div>
|
||||||
|
<div class="list-group">
|
||||||
|
<a href="{% url 'sujets:liste' %}" class="list-group-item">Liste complète</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if user.is_superuser %}
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="panel panel-danger">
|
||||||
|
<div class="panel-heading">Administration</div>
|
||||||
|
<div class="list-group">
|
||||||
|
<a href="{% url 'sujets:create' %}" class="list-group-item">Nouveau sujet</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
8
suivi/templates/suivi/sujet_suivi.html
Normal file
8
suivi/templates/suivi/sujet_suivi.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{% load notes %}
|
||||||
|
<div class="col-md-6">
|
||||||
|
<table class="table table-striped table-bordered">
|
||||||
|
{% for note in notes %}
|
||||||
|
{% inline_table note %}
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user