resize photos before saving in report RDF
This commit is contained in:
@@ -39,10 +39,16 @@
|
||||
columnDefs: [
|
||||
{ "targets": 0,
|
||||
"render": function (data, type, row, meta) {
|
||||
// ajouter un link vers le formulaire
|
||||
// ajouter un link vers le rapport
|
||||
return '<a href="/rdf_view/' + data + '">' + data + '</a>';
|
||||
},
|
||||
},
|
||||
{ "targets": 4,
|
||||
"render": function (data, type, row, meta) {
|
||||
// ajouter un link vers le dossier
|
||||
return '<a href="/dossier_view/PL-' + data.substr(0, 6) + '">' + data + '</a>';
|
||||
},
|
||||
},
|
||||
],
|
||||
order: [[ 0, "desc" ]],
|
||||
});
|
||||
|
||||
@@ -38,16 +38,16 @@
|
||||
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<span class="glyphicon glyphicon-arrow-up"></span> PHOTOS DEJA TELECHARGES
|
||||
<span class="glyphicon glyphicon-arrow-up"></span> PHOTOS DEJA TELECHARGES - Taille totale : ${total_size}
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form id="upload_doc-form" action="${url}" method="post">
|
||||
<ul tal:repeat="detail photos">
|
||||
<li>
|
||||
${detail.nomfichier} <a href="/rdf_imgdel/${nochantier}/${norapport}/${detail.nomfichier}">[Suppimer cet image]</a>
|
||||
${detail.nomfichier} | ${detail.taillefichier} | <a href="/rdf_imgdel/${nochantier}/${norapport}/${detail.nomfichier}">[Suppimer cet image]</a><br />
|
||||
<img src="${docs_url}${detail.nomrep}/${detail.societe}/${nochantier}/${norapport}/${detail.nomfichier}"
|
||||
width="700" align="center" />
|
||||
width="350" align="center" />
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user