feat(profile): Make the password selectable on click
This commit is contained in:
parent
fd5e036f49
commit
0272edc266
1 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,13 @@
|
|||
{% if user.kanidm.radius_secret %}
|
||||
<h3 class="has-text-weight-bold mb-3">Mot de passe WiFi :</h3>
|
||||
|
||||
<span class="button is-fullwidth is-primary is-size-4">{{ user.kanidm.radius_secret }}</span>
|
||||
<input
|
||||
id="radius-secret"
|
||||
onclick="document.querySelector('#radius-secret').select()"
|
||||
class="button is-fullwidth is-primary is-size-4"
|
||||
value="{{ user.kanidm.radius_secret }}"
|
||||
readonly
|
||||
/>
|
||||
<br>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue