ajout croquis_edit
This commit is contained in:
28
mondumas/templates/dossier/croquis_edit.pt
Normal file
28
mondumas/templates/dossier/croquis_edit.pt
Normal file
@@ -0,0 +1,28 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
|
||||
<div style="row">
|
||||
<div id="dessin"></div>
|
||||
</div> <!-- row -->
|
||||
|
||||
|
||||
<!-- Drawingboard -->
|
||||
<link href="${request.static_url('mondumas:static/dist/drawingboard/drawingboard.min.css')}" rel="stylesheet" media="all">
|
||||
<script src="${request.static_url('mondumas:static/dist/drawingboard/drawingboard.min.js')}"></script>
|
||||
<script>
|
||||
var simpleBoard = new DrawingBoard.Board('dessin', {
|
||||
background: 'none',
|
||||
size: 10,
|
||||
controls: [
|
||||
'Color',
|
||||
{ Size: { type: 'dropdown' } },
|
||||
{ Navigation: { } },
|
||||
],
|
||||
size: 1,
|
||||
webStorage: 'session',
|
||||
enlargeYourContainer: true
|
||||
});
|
||||
</script>
|
||||
|
||||
</div><!-- content -->
|
||||
</metal:block>
|
||||
@@ -284,22 +284,37 @@
|
||||
</table>
|
||||
|
||||
<h3 class="text-center">NOTES et CROQUIS</h3>
|
||||
<p>
|
||||
<a class="btn btn-success" role="button" href="#"
|
||||
data-toggle="modal" data-target="#addNote"><span class="glyphicon glyphicon-plus"></span> Notes / Croquis</a>
|
||||
</p>
|
||||
<br />
|
||||
<div class="text-center" tal:repeat="item dem_notes">
|
||||
<div class="col-sm-3">
|
||||
<a href="${request.application_url}/note_edit/${nodossier}/${item.noligne}" tal:condition="item.type_note=='NOTE'">
|
||||
<span class="glyphicon glyphicon-text-size logo-primary"></span>
|
||||
<h4>${item.libelle}</h4></a>
|
||||
<a href="${request.application_url}/croquis_edit/${nodossier}/${item.noligne}" tal:condition="item.type_note=='CROQUIS'">
|
||||
<span class="glyphicon glyphicon-picture logo-primary"></span>
|
||||
<h4>${item.libelle}</h4></a>
|
||||
<div class="row">
|
||||
<!-- bouton AJOUT NOTE-->
|
||||
<div class="text-center col-sm-3">
|
||||
<a href="${request.application_url}/note_add/${nodossier}">
|
||||
<span class="glyphicon glyphicon-plus logo-success"></span>
|
||||
<h4>NOTE</h4></a>
|
||||
</div>
|
||||
<!-- Listes des Notes -->
|
||||
<div class="text-center" tal:repeat="item dem_notes">
|
||||
<div class="col-sm-3">
|
||||
<a href="${request.application_url}/note_edit/${nodossier}/${item.noligne}" tal:condition="item.type_note=='NOTE'">
|
||||
<span class="glyphicon glyphicon-text-size logo-primary"></span>
|
||||
<h4>${item.libelle}</h4></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="text-center col-sm-3">
|
||||
<a href="${request.application_url}/croquis_edit/">
|
||||
<span class="glyphicon glyphicon-plus logo-success"></span>
|
||||
<h4>CROQUIS</h4></a>
|
||||
</div>
|
||||
<div class="text-center" tal:repeat="item dem_croquis">
|
||||
<div class="col-sm-3">
|
||||
<a href="${request.application_url}/croquis_edit/" tal:condition="item.type_note=='CROQUIS'">
|
||||
<span class="glyphicon glyphicon-picture logo-primary"></span>
|
||||
<h4>${item.libelle}</h4></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- PANEL RDF -->
|
||||
<div id="tab_rdf" class="tab-pane fade">
|
||||
|
||||
Reference in New Issue
Block a user