ComunicWeb/assets/templates/pages/settings/privacy/ConservationPolicy.html

29 lines
1.2 KiB
HTML
Raw Normal View History

2021-02-16 17:23:59 +00:00
<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">
2021-02-16 17:23:59 +00:00
<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">
2021-02-16 17:23:59 +00:00
<label>tr("Please type your password to update your policy")</label>
<div class="input-group" style="width: 100%;">
2021-02-16 17:23:59 +00:00
<input class="form-control" type="password" placeholder="tr("Your password")" v-model="password">
</div>
</div>
2021-02-16 17:23:59 +00:00
<div style="text-align: center;" v-if="!updating">
<input type="button" class="btn btn-primary" @click="submitUpdate()" value="tr("Update settings")">
</div>
</div>
</div>