aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2023-07-27 16:41:38 +0200
committerAndrea Lepori <aleporia@gmail.com>2023-07-27 16:41:39 +0200
commite54cae8b75a0ac1b30166099e5172c3c0e7e4210 (patch)
tree9fe080cac96dc9ccc511c0703b6a67030597091a
parentnew uc fix document lists (diff)
downloadscout-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.html5
-rw-r--r--version.txt2
2 files changed, 5 insertions, 2 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();
+
});
/*!
diff --git a/version.txt b/version.txt
index fb4e7ab..474d992 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.6
-rev=36
+rev=37