fix tools css - refs #2681

pull/2715/head
Alex Aragón 7 years ago
parent 67afc2ca98
commit 7f619b6b33
  1. 16
      assets/css/scss/_base.scss
  2. 9
      main/template/default/course_progress/progress.html.twig

@ -359,19 +359,25 @@ footer {
display: block;
float: left;
text-align: center;
border: 1px solid rgba(0, 0, 0, 0.125) ;
cursor: pointer;
position: relative;
background-color: transparent;
.big_icon{
position: absolute;
width: 64px;
height: 64px;
top: 50%;
width: 84px;
height: 84px;
top: 40%;
margin-top: -50px;
left: 50%;
left: 40%;
margin-left: -32px;
text-align: center;
border: 1px solid rgba(0, 0, 0, 0.125) ;
border-radius: 50%;
a{
display: block;
padding-top: 10px;
overflow: hidden;
}
}
.content{
position: absolute;

@ -1,8 +1,9 @@
{% autoescape false %}
{{ actions }}
{{ message }}
{{ flash_messages }}
{% if data is not empty %}
{% set tutor = false|api_is_allowed_to_edit(true) %}
{# set tutor = false|api_is_allowed_to_edit(true) #}
<div id="course-progress" class="thematic">
<div class="row">
<div class="col-md-12">
@ -34,13 +35,14 @@
</div>
</td>
<td>
{#
{% if tutor %}
<div class="pull-right">
<a title="{{ 'EditThematicPlan' | get_lang }}" href="index.php?{{ _p.web_cid_query }}&origin=thematic_details&action=thematic_plan_list&thematic_id={{ item.id }}&width=700&height=500'" class="btn btn-default">
<i class="fa fa-pencil" aria-hidden="true"></i>
</a>
</div>
{% endif %}
{% endif %} #}
<div class="thematic_plan_{{ item.id }}">
{% if item.thematic_plan is empty %}
<div class="alert-thematic">
@ -123,4 +125,5 @@
</div>
{% else %}
<div class="alert alert-info" role="alert">{{ 'ThereIsNoAThematicSection' | get_lang }}</div>
{% endif %}
{% endif %}
{% endautoescape %}
Loading…
Cancel
Save