Info message for admin in Profiles and Users menu option

This commit is contained in:
Alenka 2017-08-17 19:05:53 +02:00
parent 476496c472
commit 4d53375e33

View File

@ -81,7 +81,12 @@ Slovenski narečni atlas / Slovenian dialectal atlas
<?
}
?>
<div class="alert alert-info dismissable" id="alert_info"><button type="button" class="close dismiss">
<span aria-hidden="true">&times;</span>
</button><span class="glyphicon glyphicon-info-sign"></span> Če želite, lahko tu spremenite svoje geslo. Sprememba gesla ni obvezna.</div>
<form class="form-horizontal form-border" action="<?=$this->url?>post_edit_my_profile" method="POST" id="edit_personal_data">
<input type="hidden" id="id_user" name="id_user" value="<?=$user['id']?>">
<div class="form-group">
<label for="ime" class="col-sm-3 control-label">Geslo</label>
@ -101,7 +106,10 @@ Slovenski narečni atlas / Slovenian dialectal atlas
<button type="submit" class="btn btn-success">Shrani</button>
</div>
</div>
</form>
</div>
</div>
</div>
@ -112,4 +120,12 @@ $('.close').click(function() {
$('#alert_ok').fadeOut(500);
});
$('.dismiss').click(function() {
$('#alert_info').fadeOut(500);
});
$('.dismissable').delay(30000).fadeOut(500);
</script>