diff options
author | Andrea Lepori <aleporia@gmail.com> | 2023-07-27 16:41:38 +0200 |
---|---|---|
committer | Andrea Lepori <aleporia@gmail.com> | 2023-07-27 16:41:39 +0200 |
commit | e54cae8b75a0ac1b30166099e5172c3c0e7e4210 (patch) | |
tree | 9fe080cac96dc9ccc511c0703b6a67030597091a /accounts | |
parent | new uc fix document lists (diff) | |
download | scout-subs-e54cae8b75a0ac1b30166099e5172c3c0e7e4210.tar.gz scout-subs-e54cae8b75a0ac1b30166099e5172c3c0e7e4210.zip |
add tooltip to show how branca works
Diffstat (limited to '')
-rw-r--r-- | accounts/templates/accounts/user_edit.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/accounts/templates/accounts/user_edit.html b/accounts/templates/accounts/user_edit.html index 6baf9bd..3c4cada 100644 --- a/accounts/templates/accounts/user_edit.html +++ b/accounts/templates/accounts/user_edit.html @@ -52,7 +52,8 @@ <option value="posto" {{branca_pionieri}}>Pionieri</option> <option value="clan" {{branca_rover}}>Rover</option> </select> - <label>Branca</label> + <label>Branca<i style="font-size: 1rem; position: absolute; bottom: 0px;" class="material-icons right tooltipped" data-position="right" data-tooltip="<p class='left-align'>Nello scoutismo la branca è la divisione per età,<br>la quale segue le classi scolastiche.<br><br>Castorini: 1a-2a elementare<br>Lupetti: 3a-5a elementare<br>Esploratori: 1a-4a media<br>Pionieri: 1a-2a superiore<br>Rover: 3a+ superiore</p>">info_outline</i> + </label> </div> <div class="input-field col l4 s12"> <input value="{{parent_name}}" name="parent_name" id="parent_name" type="text" {{validation_dic.parent_name|safe}}> @@ -432,6 +433,8 @@ $(document).ready(function() { } }; + $('.tooltipped').tooltip(); + }); /*! |