mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 13:29:22 +00:00
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<div class="box box-primary box-data-conservation-policy">
|
|
<div class="box-header">
|
|
<h3 class="box-title">tr("Data conservation policy")</h3>
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
<p>tr("Here you can decide to automatically delete your old account data.")</p>
|
|
|
|
<!-- Counters target -->
|
|
<div class="form-group" v-for="setting in settings">
|
|
<label>{{setting.title}}</label>
|
|
<select style="width: 100%;" class="form-control select2" v-model="setting.value">
|
|
<option v-for="opt in options.filter(v => !v.value || v.value >= setting.minVal)" v-bind:value="opt.value">{{ opt.label }}</option>
|
|
</select>
|
|
</div>
|
|
|
|
<!-- Password confirmation -->
|
|
<div class="form-group">
|
|
<label>tr("Please type your password to update your policy")</label>
|
|
<div class="input-group" style="width: 100%;">
|
|
<input class="form-control" type="password" placeholder="tr("Your password")" v-model="password">
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align: center;" v-if="!updating">
|
|
<input type="button" class="btn btn-primary" @click="submitUpdate()" value="tr("Update settings")">
|
|
</div>
|
|
</div>
|
|
</div> |