Gitlab CSE Unil

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

correction bug mantis 129

anticipation bootstrapv4 -> transformation des panel en card
parent 20b513c0
......@@ -451,7 +451,8 @@ ul.assignfeedback_editpdfplus_menu {
font-size: 12px;
}
.assignfeedback_editpdfplus_widget_admin .panel {
.assignfeedback_editpdfplus_widget_admin .card,
.assignfeedback_editpdfplus_widget_admin .panel{
margin-bottom: 20px;
background-color: #fff;
border: 1px solid transparent;
......@@ -459,23 +460,32 @@ ul.assignfeedback_editpdfplus_menu {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.assignfeedback_editpdfplus_widget_admin .card,
.assignfeedback_editpdfplus_widget_admin .panel-default {
border-color: #ddd;
}
.assignfeedback_editpdfplus_widget_admin .card > .card-header,
.assignfeedback_editpdfplus_widget_admin .panel-default > .panel-heading {
color: #333;
background-color: #f5f5f5;
border-color: #ddd;
}
.assignfeedback_editpdfplus_widget_admin .card-header,
.assignfeedback_editpdfplus_widget_admin .panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.assignfeedback_editpdfplus_widget_admin #accordion .card-header{
padding: 0px 10px;
}
.assignfeedback_editpdfplus_widget_admin .card-body,
.assignfeedback_editpdfplus_widget_admin .panel-body {
padding: 15px;
}
.assignfeedback_editpdfplus_widget_admin .card-header button,
.assignfeedback_editpdfplus_widget_admin .card-header > a,
.assignfeedback_editpdfplus_widget_admin .panel-heading > a {
color: black;
}
......
......@@ -32,25 +32,18 @@
<div class="assignfeedback_editpdfplus_widget_admin">
<h5>{{# str }} adminsubtitle, assignfeedback_editpdfplus {{/ str }}</h5>
<!--ul id="sortable" style="list-style-type: none;margin: 0;padding: 0;overflow: hidden;">
<li style="float: left;display: block;text-decoration: none;"><button class="sortable">Item 1</button></li>
<li style="float: left;display: block;text-decoration: none;"><button class="sortable">Item 2</button></li>
<li style="float: left;display: block;text-decoration: none;"><button class="sortable">Item 3</button></li>
<li style="float: left;display: block;text-decoration: none;"><button class="sortable">Item 4</button></li>
<li style="float: left;display: block;text-decoration: none;"><button class="sortable">Item 5</button></li>
</ul-->
<div class="panel panel-default">
<div class="panel-heading">
<a data-toggle="collapse" href="#collapseadmin1" >{{# str }} adminaxisimporttitle, assignfeedback_editpdfplus {{/ str }}</a>
<div class="card">
<div class="card-header">
<a data-toggle="collapse" href="#collapseadmin1" aria-expanded="true" aria-controls="collapseadmin1">
{{# str }} adminaxisimporttitle, assignfeedback_editpdfplus {{/ str }}
</a>
</div>
<div id="collapseadmin1" class="panel-collapse collapse">
<div class="panel-body">
<div id="collapseadmin1" class="collapse">
<div class="card-block" style="height: 400px;overflow: auto;">
{{# str }} adminaxisimport, assignfeedback_editpdfplus {{/ str }}
{{{ axisimportform.render }}}
<input type="hidden" id="courseid" value="{{courseid}}" />
<table class='table table-bordered table-striped'>
<table class='table table-bordered table-striped' style="height: 100%;">
<thead>
<tr>
<th>{{# str }} adminaxisimport_name, assignfeedback_editpdfplus {{/ str }}</th>
......@@ -71,7 +64,9 @@
{{/ tools }}
</div>
</td>
<td><button class='btn btn-primary btn-sm btnimport' data-axis='{{axis.id}}'><i class='fa fa-download'></i></button></td>
<td>
<button class='btn btn-primary btn-sm btnimport' data-axis='{{axis.id}}'><i class='fa fa-download'></i></button>
</td>
</tr>
{{/ toolbarsDispo }}
</tbody>
......@@ -80,11 +75,13 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<a data-toggle="collapse" href="#collapseadmin2">{{# str }} admincurrenttoolbar, assignfeedback_editpdfplus {{/ str }}</a>
<div class="card">
<div class="card-header">
<a data-toggle="collapse" href="#collapseadmin2" aria-expanded="true" aria-controls="collapseadmin2">
{{# str }} admincurrenttoolbar, assignfeedback_editpdfplus {{/ str }}
</a>
</div>
<div class="panel-body">
<div class="card-body">
<div id="message_import_axis" class="alert" style="display:none;"></div>
<div id="message_order_tool" class="alert" style="display:none;"></div>
<table>
......
......@@ -57,14 +57,18 @@
<tr>
<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">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-wrench" aria-hidden="true"></i>&nbsp;&nbsp;
<a data-toggle="collapse" href="#collapse1" data-parent="#accordion">{{# str }} admintoolboxtypetool, assignfeedback_editpdfplus {{/ str }}</a>
<div id="accordion">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<i class="fa fa-wrench" aria-hidden="true"></i>&nbsp;&nbsp;
<button class="btn btn-link" data-toggle="collapse" data-target="#collapse1" aria-expanded="true" aria-controls="collapse1">
{{# str }} admintoolboxtypetool, assignfeedback_editpdfplus {{/ str }}
</button>
</h5>
</div>
<div id="collapse1" class="panel-collapse collapse">
<div class="panel-body">
<div id="collapse1" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body">
<table>
<tr>
<td style="width: 25%;">
......@@ -85,13 +89,17 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-bars" aria-hidden="true"></i>&nbsp;&nbsp;
<a data-toggle="collapse" href="#collapse2" data-parent="#accordion">{{# str }} admintoolboxtoolbardisplay, assignfeedback_editpdfplus {{/ str }}</a>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<i class="fa fa-bars" aria-hidden="true"></i>&nbsp;&nbsp;
<button class="btn btn-link" data-toggle="collapse" data-target="#collapse2" aria-expanded="true" aria-controls="collapse2">
{{# str }} admintoolboxtoolbardisplay, assignfeedback_editpdfplus {{/ str }}
</button>
</h5>
</div>
<div id="collapse2" class="panel-collapse collapse">
<div class="panel-body">
<div id="collapse2" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body">
<table>
<tr>
<td style="width: 25%;">
......@@ -128,13 +136,17 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-address-card-o" aria-hidden="true"></i>&nbsp;&nbsp;
<a data-toggle="collapse" href="#collapse3" data-parent="#accordion">{{# str }} admintoolboxcartridge, assignfeedback_editpdfplus {{/ str }}</a>
<div class="card">
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<i class="fa fa-address-card-o" aria-hidden="true"></i>&nbsp;&nbsp;
<button class="btn btn-link" data-toggle="collapse" data-target="#collapse3" aria-expanded="true" aria-controls="collapse3">
{{# str }} admintoolboxcartridge, assignfeedback_editpdfplus {{/ str }}
</button>
</h5>
</div>
<div id="collapse3" class="panel-collapse collapse">
<div class="panel-body">
<div id="collapse3" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
<div class="card-body">
<table>
<tr>
<td style="width: 25%;">
......@@ -159,13 +171,17 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;&nbsp;
<a data-toggle="collapse" href="#collapse4" data-parent="#accordion">{{# str }} admintoolboxannotation, assignfeedback_editpdfplus {{/ str }}</a>
<div class="card">
<div class="card-header" id="headingFour">
<h5 class="mb-0">
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;&nbsp;
<button class="btn btn-link" data-toggle="collapse" data-target="#collapse4" aria-expanded="true" aria-controls="collapse4">
{{# str }} admintoolboxannotation, assignfeedback_editpdfplus {{/ str }}
</button>
</h5>
</div>
<div id="collapse4" class="panel-collapse collapse">
<div class="panel-body" style="overflow: auto;">
<div id="collapse4" class="collapse" aria-labelledby="headingFour" data-parent="#accordion">
<div class="card-body" style="overflow: auto;">
<table>
<tr>
<td style="width: 25%;">
......
Markdown is supported
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