|
@@ -32,7 +32,7 @@
|
|
|
<a href="./" class="modal-close waves-effect waves-light btn-large red"><i class="large material-icons left">keyboard_backspace</i> Retour</a>
|
|
|
</div>
|
|
|
<div class="col s6 right-align">
|
|
|
- <button class="btn-floating btn-large waves-effect waves-light red"><i class="large material-icons">save</i></button>
|
|
|
+ <button class="btn-floating btn-large waves-effect waves-light red tooltipped" data-position="left" data-tooltip="Sauvegarder"><i class="large material-icons">save</i></button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row">
|
|
@@ -62,6 +62,8 @@
|
|
|
scope = binder({
|
|
|
username: username ? username : 'Utilisateur'
|
|
|
});
|
|
|
+ // Load tooltip
|
|
|
+ const tooltip = M.Tooltip.init(document.querySelectorAll('.tooltipped'))[0];
|
|
|
// Load MD editor
|
|
|
const simplemde = new SimpleMDE({
|
|
|
placeholder: 'Écrire ici ...',
|