frontend: new parameters to setup kind of notifications allowed
This commit is contained in:
parent
24989c4cfa
commit
ef35879dde
4 changed files with 141 additions and 15 deletions
|
|
@ -1,3 +1,6 @@
|
|||
<div class="row mb-4">
|
||||
<div class="col-md">
|
||||
|
||||
<div class="card niceborder">
|
||||
<div class="card-header">Votre équipe est composée de :</div>
|
||||
<div class="card-body" ng-if="!my.members.length">
|
||||
|
|
@ -32,3 +35,69 @@
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-5" ng-if="notify_field != 0">
|
||||
|
||||
<div class="card border-success niceborder">
|
||||
<div class="card-header bg-success text-light">Gestion des notifications</div>
|
||||
<form class="card-body" ng-submit="alternotify()">
|
||||
<p>
|
||||
Ces paramètres ne seront valable que pour votre navigateur.
|
||||
</p>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" disabled ng-model="notify.info">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de l'équipe serveur.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.team">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de mon équipe.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.others">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications des autres équipes.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.solve">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de résolution.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.hint">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de découverte d'indice.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.tries">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de tentatives.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="notify.rename">
|
||||
<span class="custom-control-label">Ne pas recevoir les notifications de nouvelle équipe.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-success float-right">Enregistrer</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue