Skip to content
Snippets Groups Projects
Commit 774dcab2 authored by laurent doreille's avatar laurent doreille
Browse files

issue#21 - bouton helper opaque quand pas d'aide

parent 438b38f1
No related branches found
No related tags found
No related merge requests found
require('./app.css');
require('./app.scss');
import jQuery from 'jquery';
import 'bootstrap';
jQuery(document).ready(function() {
jQuery('.automodal').modal('show')
if( jQuery('#help_main').length === 0 ) {
jQuery('#help_main_button').addClass('desactivate')
}
})
#help_main_button {
cursor: pointer;
&.desactivate {
opacity: 0.2;
cursor: default;
&:hover {
background: none;
}
}
}
......@@ -44,7 +44,7 @@
</li>
{% endif %}
<li class="dropdown user">
<a class="dropdown-toggle" data-toggle="modal" data-target="#help_main">
<a class="dropdown-toggle" data-toggle="modal" id="help_main_button" data-target="#help_main" class="hidden">
<i class="fa fa-life-ring"></i>
{% trans %}Help{% endtrans %}
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment