Gitlab CSE Unil

Commit a0f7790a authored by M. Chardon's avatar M. Chardon
Browse files

- migration sur bootstrap4

parent 89a18811
This diff is collapsed.
...@@ -433,14 +433,14 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm ...@@ -433,14 +433,14 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm
$("#editpdlplus_axes_worspace").hide(); $("#editpdlplus_axes_worspace").hide();
} }
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis').show(); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').show();
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_toolheader').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolheader').hide();
$('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide();
$("#editpdlplus_axes").prop('disabled', true); $("#editpdlplus_axes").prop('disabled', true);
var params = {}; var params = {};
fragment.loadFragment('assignfeedback_editpdfplus', 'axisadd', contextid, params) fragment.loadFragment('assignfeedback_editpdfplus', 'axisadd', contextid, params)
.done(function (html, js) { .done(function (html, js) {
templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_addaxis > .panel-body', templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_addaxis',
html, js); html, js);
}.bind(this)).fail(notification.exception); }.bind(this)).fail(notification.exception);
}; };
...@@ -452,7 +452,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm ...@@ -452,7 +452,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm
$("#message_edit_tool").hide(); $("#message_edit_tool").hide();
$("#axistool").hide(); $("#axistool").hide();
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis').show(); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').show();
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_toolheader').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolheader').hide();
$('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide();
$("#editpdlplus_axes").prop('disabled', true); $("#editpdlplus_axes").prop('disabled', true);
...@@ -460,7 +460,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm ...@@ -460,7 +460,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm
var params = {axeid: axeid}; var params = {axeid: axeid};
fragment.loadFragment('assignfeedback_editpdfplus', 'axisedit', contextid, params) fragment.loadFragment('assignfeedback_editpdfplus', 'axisedit', contextid, params)
.done(function (html, js) { .done(function (html, js) {
templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_editaxis > .panel-body', templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_editaxis',
html, js); html, js);
}.bind(this)).fail(notification.exception); }.bind(this)).fail(notification.exception);
}; };
...@@ -474,7 +474,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm ...@@ -474,7 +474,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm
$("#message_edit_tool").hide(); $("#message_edit_tool").hide();
$("#axistool").hide(); $("#axistool").hide();
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis').show(); $('#assignfeedback_editpdfplus_widget_admin_div_delaxis').show();
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_delaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_toolheader').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolheader').hide();
$('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide(); $('#assignfeedback_editpdfplus_widget_admin_toolworkspace').hide();
$("#editpdlplus_axes").prop('disabled', true); $("#editpdlplus_axes").prop('disabled', true);
...@@ -482,7 +482,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm ...@@ -482,7 +482,7 @@ define(['jquery', 'jqueryui', 'core/notification', 'core/templates', 'core/fragm
var params = {axeid: axeid}; var params = {axeid: axeid};
fragment.loadFragment('assignfeedback_editpdfplus', 'axisdel', contextid, params) fragment.loadFragment('assignfeedback_editpdfplus', 'axisdel', contextid, params)
.done(function (html, js) { .done(function (html, js) {
templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_delaxis > .panel-body', templates.appendNodeContents('#assignfeedback_editpdfplus_widget_admin_div_delaxis',
html, js); html, js);
}.bind(this)).fail(notification.exception); }.bind(this)).fail(notification.exception);
} }
......
...@@ -111,8 +111,8 @@ ...@@ -111,8 +111,8 @@
<option value="{{id}}" data-delete="{{children}}">{{label}}</option> <option value="{{id}}" data-delete="{{children}}">{{label}}</option>
{{/ axis }} {{/ axis }}
</select> </select>
<div class="panel panel-default" id="axistool"> <div class="card" id="axistool">
<div class="panel-body" style="text-align: center;"> <div class="card-body" style="text-align: center;">
<button type="button" class="btn" id="assignfeedback_editpdfplus_widget_admin_button_editaxis"> <button type="button" class="btn" id="assignfeedback_editpdfplus_widget_admin_button_editaxis">
<i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-pencil" aria-hidden="true"></i>
</button> </button>
...@@ -145,14 +145,11 @@ ...@@ -145,14 +145,11 @@
<div id="editpdlplus_tool_item"></div> <div id="editpdlplus_tool_item"></div>
</td> </td>
<td> <td>
<div id="assignfeedback_editpdfplus_widget_admin_div_addaxis" style="display:none;"> <div id="assignfeedback_editpdfplus_widget_admin_div_addaxis" style="display:none;" class="card w-50 ml-2 border-primary">
<div class="panel-body"></div>
</div> </div>
<div id="assignfeedback_editpdfplus_widget_admin_div_editaxis" style="display:none;"> <div id="assignfeedback_editpdfplus_widget_admin_div_editaxis" style="display:none;" class="card w-50 ml-2 border-primary">
<div class="panel-body"></div>
</div> </div>
<div id="assignfeedback_editpdfplus_widget_admin_div_delaxis" style="display:none;"> <div id="assignfeedback_editpdfplus_widget_admin_div_delaxis" style="display:none;" class="card w-50 ml-2 border-primary">
<div class="panel-body"></div>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -26,17 +26,14 @@ ...@@ -26,17 +26,14 @@
* id - form id * id - form id
}} }}
<div class="panel panel-default"> <div class="card-header">{{title}}</div>
<div class="panel-heading"> <div class="card-body text-primary">
{{title}} <p>{{# str }} adminaxisdelete_question, assignfeedback_editpdfplus {{/ str }}</p>
</div> {{{render}}}
<div class="panel-body" style="text-align: center;"> <button type="button" class="btn btn-primary" id="axisDelSubmit">{{# str }} adminaxisdelete_ok, assignfeedback_editpdfplus {{/ str }}</button>
<p>{{# str }} adminaxisdelete_question, assignfeedback_editpdfplus {{/ str }}</p> <button type="button" class="btn" id="axisDelCancel">{{# str }} adminaxisdelete_ko, assignfeedback_editpdfplus {{/ str }}</button>
{{{render}}}
<button type="button" class="btn btn-primary" id="axisDelSubmit">{{# str }} adminaxisdelete_ok, assignfeedback_editpdfplus {{/ str }}</button>
<button type="button" class="btn" id="axisDelCancel">{{# str }} adminaxisdelete_ko, assignfeedback_editpdfplus {{/ str }}</button>
</div>
</div> </div>
{{# js }} {{# js }}
require(['jquery','core/ajax','core/notification'], function($,ajax,notification) { require(['jquery','core/ajax','core/notification'], function($,ajax,notification) {
var formid='{{id}}'; var formid='{{id}}';
...@@ -50,12 +47,13 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification ...@@ -50,12 +47,13 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification
} }
])[0].done(function(message) { ])[0].done(function(message) {
if (message[0].message === "1"){ if (message[0].message === "1"){
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_delaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis').hide();
$("#editpdlplus_axes option:selected").remove(); $("#editpdlplus_axes option:selected").remove();
$("#editpdlplus_axes").change(); $("#editpdlplus_axes").change();
$("#axistool").show(); $("#axistool").show();
}else{ }else{
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis > .panel-body > .panel > .panel-body').append("<div class='alert alert-danger' style='margin-top: 5px;'>"+message[0].message+"</div>"); $('#assignfeedback_editpdfplus_widget_admin_div_delaxis').append("<div class='alert alert-danger' style='margin-top: 5px;'>"+message[0].message+"</div>");
} }
var selectAxis = $("#editpdlplus_axes").val(); var selectAxis = $("#editpdlplus_axes").val();
if (selectAxis && selectAxis !== "") { if (selectAxis && selectAxis !== "") {
...@@ -71,7 +69,8 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification ...@@ -71,7 +69,8 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification
}).fail(notification.exception); }).fail(notification.exception);
}); });
$("#axisDelCancel").on("click", function () { $("#axisDelCancel").on("click", function () {
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_delaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_delaxis').hide();
$("#axistool").show(); $("#axistool").show();
$('#assignfeedback_editpdfplus_widget_admin_toolheader').show(); $('#assignfeedback_editpdfplus_widget_admin_toolheader').show();
$('#assignfeedback_editpdfplus_widget_admin_toolworkspace').show(); $('#assignfeedback_editpdfplus_widget_admin_toolworkspace').show();
......
...@@ -27,16 +27,13 @@ ...@@ -27,16 +27,13 @@
* action - label of action 'edit' or 'add' * action - label of action 'edit' or 'add'
}} }}
<div class="panel panel-default"> <div class="card-header">{{title}}</div>
<div class="panel-heading"> <div class="card-body text-primary">
{{title}} {{{render}}}
</div> <button type="button" class="btn btn-primary" id="axisFormSubmit">{{# str }} adminaxis_save, assignfeedback_editpdfplus {{/ str }}</button>
<div class="panel-body" style="text-align: center;"> <button type="button" class="btn" id="axisFormCancel">{{# str }} adminaxis_cancel, assignfeedback_editpdfplus {{/ str }}</button>
{{{render}}}
<button type="button" class="btn btn-primary" id="axisFormSubmit">{{# str }} adminaxis_save, assignfeedback_editpdfplus {{/ str }}</button>
<button type="button" class="btn" id="axisFormCancel">{{# str }} adminaxis_cancel, assignfeedback_editpdfplus {{/ str }}</button>
</div>
</div> </div>
{{# js }} {{# js }}
require(['jquery','core/ajax','core/notification'], function($,ajax,notification) { require(['jquery','core/ajax','core/notification'], function($,ajax,notification) {
var formid='{{id}}'; var formid='{{id}}';
...@@ -52,14 +49,14 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification ...@@ -52,14 +49,14 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification
if ('{{action}}' === 'add'){ if ('{{action}}' === 'add'){
var divAxis = "<div id='editpdlplus_toolbar_"+axe[0].axeid+"' class='btn-group toolbar' style='display: none;'><ul></ul></div>"; var divAxis = "<div id='editpdlplus_toolbar_"+axe[0].axeid+"' class='btn-group toolbar' style='display: none;'><ul></ul></div>";
$('#editpdlplus_toolbars').append(divAxis); $('#editpdlplus_toolbars').append(divAxis);
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis').hide(); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').hide();
var option=new Option(axe[0].axelabel, axe[0].axeid, true, true); var option=new Option(axe[0].axelabel, axe[0].axeid, true, true);
$("#editpdlplus_axes").append(option); $("#editpdlplus_axes").append(option);
$("#editpdlplus_axes").change(); $("#editpdlplus_axes").change();
$('#editpdlplus_tool_item').html(""); $('#editpdlplus_tool_item').html("");
} else { } else {
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis').hide(); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').hide();
$("#editpdlplus_axes option:selected").html(axe[0].axelabel); $("#editpdlplus_axes option:selected").html(axe[0].axelabel);
} }
...@@ -72,10 +69,10 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification ...@@ -72,10 +69,10 @@ require(['jquery','core/ajax','core/notification'], function($,ajax,notification
}); });
$("#axisFormCancel").on("click", function () { $("#axisFormCancel").on("click", function () {
if ('{{action}}' === 'add'){ if ('{{action}}' === 'add'){
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_addaxis').hide(); $('#assignfeedback_editpdfplus_widget_admin_div_addaxis').hide();
} else { } else {
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis > .panel-body').html(""); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').html("");
$('#assignfeedback_editpdfplus_widget_admin_div_editaxis').hide(); $('#assignfeedback_editpdfplus_widget_admin_div_editaxis').hide();
} }
var selectAxis = $("#editpdlplus_axes").val(); var selectAxis = $("#editpdlplus_axes").val();
......
...@@ -56,155 +56,129 @@ ...@@ -56,155 +56,129 @@
</tr> </tr>
<tr> <tr>
<td class='assignfeedback_editpdfplus_widget_admin_tool_col1 assignfeedback_editpdfplus_widget_admin_tool_row' colspan="2"> <td class='assignfeedback_editpdfplus_widget_admin_tool_col1 assignfeedback_editpdfplus_widget_admin_tool_row' colspan="2">
<form id="{{formid}}" method="post" action="{{actionurl}}" class="form-horizontal"> <form id="{{formid}}" method="post" action="{{actionurl}}">
<div id="accordion"> <div id="accordion">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header" id="headingOne">
<a class="card-link" data-toggle="collapse" href="#collapse1"> <a class="card-link" data-toggle="collapse" href="#collapse1">
<i class="fa fa-wrench" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxtypetool, assignfeedback_editpdfplus {{/ str }} <i class="fa fa-wrench" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxtypetool, assignfeedback_editpdfplus {{/ str }}
</a> </a>
</div> </div>
<div id="collapse1" class="collapse" aria-labelledby="headingOne" data-parent="#accordion"> <div id="collapse1" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body"> <div class="card-body">
<table> <div class="form-group row">
<tr> <label class="col-sm-3 form-control-label" for="typetool">
<td style="width: 25%;"> {{# str }} admintoolboxtypetool_type, assignfeedback_editpdfplus {{/ str }}
<label class="control-label" for="typetool"> </label>
{{# str }} admintoolboxtypetool_type, assignfeedback_editpdfplus {{/ str }} <div class="col-sm-9">
</label> <select class="form-control" id="typetool" name="typetool">
</td> {{# tools }}
<td> <option value='{{id}}'>{{libelle}}</option>
<select class="form-control" id="typetool" name="typetool"> {{/ tools }}
{{# tools }} </select>
<option value='{{id}}'>{{libelle}}</option> </div>
{{/ tools }} </div>
</select>
</td>
</tr>
</table>
</div> </div>
</div> </div>
</div> </div>
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header" id="headingTwo">
<a class="card-link" data-toggle="collapse" href="#collapse2"> <a class="card-link" data-toggle="collapse" href="#collapse2">
<i class="fa fa-bars" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxtoolbardisplay, assignfeedback_editpdfplus {{/ str }} <i class="fa fa-bars" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxtoolbardisplay, assignfeedback_editpdfplus {{/ str }}
</a> </a>
</div> </div>
<div id="collapse2" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion"> <div id="collapse2" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body"> <div class="card-body">
<table> <div class="form-group row">
<tr> <label class="col-sm-3 form-control-label" for="toolaxis">{{# str }} admintoolboxtoolbardisplay_axis, assignfeedback_editpdfplus {{/ str }}</label>
<td style="width: 25%;"> <div class="col-sm-9">
<label class="control-label" for="toolaxis">{{# str }} admintoolboxtoolbardisplay_axis, assignfeedback_editpdfplus {{/ str }}</label> <select class="form-control" id="toolaxis" name="toolaxis">
</td> {{# axis }}
<td> <option value='{{id}}'>{{label}}</option>
<select class="form-control" id="toolaxis" name="toolaxis"> {{/ axis }}
{{# axis }} </select>
<option value='{{id}}'>{{label}}</option> </div>
{{/ axis }} </div>
</select> <div class="form-group row">
</td> <label class="col-sm-3 form-control-label" for="button">
</tr> {{# str }} admintoolboxtoolbardisplay_button, assignfeedback_editpdfplus {{/ str }}
<tr> </label>
<td style="width: 25%;"> <div class="col-sm-9">
<label class="control-label" for="button"> <input type="text" class="form-control" id="button" value="{{tool.label}}" name="button" />
{{# str }} admintoolboxtoolbardisplay_button, assignfeedback_editpdfplus {{/ str }} </div>
</label> </div>
</td> <div class="form-group row">
<td> <label class="col-sm-3 form-control-label" for="order">{{# str }} admintoolboxtoolbardisplay_order, assignfeedback_editpdfplus {{/ str }}</label>
<input type="text" class="form-control" id="button" value="{{tool.label}}" name="button" /> <div class="col-sm-9">
</td> <input type="number" class="form-control" id="order" value="{{tool.order_tool}}" name="order" />
</tr> </div>
<tr> </div>
<td style="width: 25%;">
<label class="control-label" for="order">{{# str }} admintoolboxtoolbardisplay_order, assignfeedback_editpdfplus {{/ str }}</label>
</td>
<td>
<input type="number" class="form-control" id="order" value="{{tool.order_tool}}" name="order" />
</td>
</tr>
</table>
</div> </div>
</div> </div>
</div> </div>
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header" id="headingThree">
<a class="card-link" data-toggle="collapse" href="#collapse3"> <a class="card-link" data-toggle="collapse" href="#collapse3">
<i class="fa fa-address-card-o" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxcartridge, assignfeedback_editpdfplus {{/ str }} <i class="fa fa-address-card-o" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxcartridge, assignfeedback_editpdfplus {{/ str }}
</a> </a>
</div> </div>
<div id="collapse3" class="collapse" aria-labelledby="headingThree" data-parent="#accordion"> <div id="collapse3" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
<div class="card-body"> <div class="card-body">
<table> <div class="form-group row">
<tr> <label class="col-sm-3 form-control-label" for="libelle">{{# str }} admintoolboxcartridge_label, assignfeedback_editpdfplus {{/ str }}</label>
<td style="width: 25%;"> <div class="col-sm-9">
<label class="control-label " for="libelle">{{# str }} admintoolboxcartridge_label, assignfeedback_editpdfplus {{/ str }}</label> <input type="text" class="form-control" id="libelle" value="{{tool.cartridge}}" name="libelle" maxlength="10" />
</td> </div>
<td> </div>
<input type="text" class="form-control" id="libelle" value="{{tool.cartridge}}" name="libelle" maxlength="10" /> <div class="form-group row">
</td> <label class="col-sm-3 form-control-label" for="cartridgecolor">{{# str }} admintoolboxcartridge_color, assignfeedback_editpdfplus {{/ str }}</label>
</tr> <div class="col-sm-9">
<tr> <input type="color" class="form-control" id="cartridgecolor" placeholder="{{^tool.cartridge_color}}-{{/tool.cartridge_color}}"
<td style="width: 25%;"> value="{{#tool.cartridge_color}}{{tool.cartridge_color}}{{/tool.cartridge_color}}" name="catridgecolor" />
<label class="control-label " for="cartridgecolor">{{# str }} admintoolboxcartridge_color, assignfeedback_editpdfplus {{/ str }}</label> <input type="hidden" id="realcartridgecolor" value="{{#tool.cartridge_color}}{{tool.cartridge_color}}{{/tool.cartridge_color}}" />
</td> </div>
<td> </div>
<input type="color" class="form-control" id="cartridgecolor" placeholder="{{^tool.cartridge_color}}-{{/tool.cartridge_color}}"
value="{{#tool.cartridge_color}}{{tool.cartridge_color}}{{/tool.cartridge_color}}" name="catridgecolor" />
<input type="hidden" id="realcartridgecolor" value="{{#tool.cartridge_color}}{{tool.cartridge_color}}{{/tool.cartridge_color}}" />
</td>
</tr>
</table>
</div> </div>
</div> </div>
</div> </div>
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header" id="headingFour">
<a class="card-link" data-toggle="collapse" href="#collapse4"> <a class="card-link" data-toggle="collapse" href="#collapse4">
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxannotation, assignfeedback_editpdfplus {{/ str }} <i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;&nbsp;{{# str }} admintoolboxannotation, assignfeedback_editpdfplus {{/ str }}
</a> </a>
</div> </div>
<div id="collapse4" class="collapse" aria-labelledby="headingFour" data-parent="#accordion"> <div id="collapse4" class="collapse" aria-labelledby="headingFour" data-parent="#accordion">
<div class="card-body" style="overflow: auto;"> <div class="card-body" style="overflow: auto;">
<table> <div class="form-group row">
<tr> <label class="col-sm-3 form-control-label" for="color">{{# str }} admintoolboxannotation_color, assignfeedback_editpdfplus {{/ str }}</label>
<td style="width: 25%;"> <div class="col-sm-9">
<label class="control-label" for="color">{{# str }} admintoolboxannotation_color, assignfeedback_editpdfplus {{/ str }}</label> <input type="color" class="form-control" id="color"
</td> value="{{#tool.colors}}{{tool.colors}}{{/tool.colors}}" name="color" />
<td> <input type="hidden" id="realcolor" value="{{#tool.colors}}{{tool.colors}}{{/tool.colors}}" />
<input type="color" class="form-control" id="color" placeholder="{{^tool.colors}}-{{/tool.colors}}" </div>
value="{{#tool.colors}}{{tool.colors}}{{/tool.colors}}" name="color" /> </div>
<input type="hidden" id="realcolor" value="{{#tool.colors}}{{tool.colors}}{{/tool.colors}}" /> <div class="form-group row">
</td> <label class="col-sm-3 form-control-label" for="texts">{{# str }} admintoolboxannotation_texts, assignfeedback_editpdfplus {{/ str }}</label>
</tr> <div class="col-sm-9">
<tr> <input type="hidden" class="form-control" id="texts" value="{{tool.texts}}" name="texts" />
<td style="width: 25%;"> <ul class="textform"
<label class="control-label" for="texts">{{# str }} admintoolboxannotation_texts, assignfeedback_editpdfplus {{/ str }}</label> data-prototype="<input type='text' class='form-control' value='' name='text[__name__]' style='width:90%;display:inline-block;' />"
</td> style="list-style-type:none;padding:0px;margin-left: 0px;">
<td> {{#tool.textsarray}}
<input type="hidden" class="form-control" id="texts" value="{{tool.texts}}" name="texts" /> <li><input type='text' class='form-control' value='{{text}}' name='text[{{index}}]' style='width:90%;display:inline-block;' /></li>
<ul class="textform" {{/tool.textsarray}}
data-prototype="<input type='text' class='form-control' value='' name='text[__name__]' style='width:90%;display:inline-block;' />" </ul>
style="list-style-type:none;padding:0px;margin-left: 0px;"> </div>
{{#tool.textsarray}} </div>
<li><input type='text' class='form-control' value='{{text}}' name='text[{{index}}]' style='width:90%;display:inline-block;' /></li> <div class="form-group row">
{{/tool.textsarray}} <label class="col-sm-3 form-control-label" for="reply">{{# str }} admintoolboxannotation_reply, assignfeedback_editpdfplus {{/ str }}</label>
</ul> <div class="col-sm-9">
</td> <input type="checkbox" id="reply" {{#tool.reply}}checked {{/tool.reply}}name="reply" />
</tr> </div>
<tr> </div>
<td style="width: 25%;">
<label class="control-label" for="reply">{{# str }} admintoolboxannotation_reply, assignfeedback_editpdfplus {{/ str }}</label>
</td>
<td>
<input type="checkbox" id="reply" {{#tool.reply}}checked {{/tool.reply}}name="reply" />
</td>
</tr>
</table>
</div> </div>
</div> </div>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment