improve setting labels

This commit is contained in:
Davide Alberani 2017-03-01 09:05:37 +01:00
parent f101d54d05
commit ef34a93699

View file

@ -5,17 +5,22 @@
<span class="md-title">Settings</span>
</md-card-header>
<md-card-content v-if="loggedInUser.isAdmin">
Protection modifications from unregistered users:<br />
<md-switch v-model="shownSettings.protectUnregistered" class="md-warn">unregistered attendees (modify and delete)</md-switch>
<div class="md-headline">
Prevent modifications from unregistered users:
</div>
<div class="protection-sect">
<md-switch v-model="shownSettings.protectUnregistered" class="md-warn">unregistered attendees (modify and delete)</md-switch>
<br />
<md-switch v-model="shownSettings.protectGroupNotes" class="md-warn">group notes</md-switch>
<br />
<md-switch v-model="shownSettings.protectGroupNotes" class="md-warn">group notes</md-switch>
<br />
<md-switch v-model="shownSettings.protectGroupName" class="md-warn">group name</md-switch>
<br />
<md-switch v-model="shownSettings.protectGroupName" class="md-warn">group name</md-switch>
<br />
<md-switch v-model="shownSettings.protectDayNotes" class="md-warn">day notes</md-switch>
<br />
<md-switch v-model="shownSettings.protectDayNotes" class="md-warn">day notes</md-switch>
</div>
<br />
<md-button id="save-button" class="md-raised md-primary" @click="save()">Save</md-button>
</md-card-content>
@ -99,4 +104,8 @@ export default {
margin-top: 40px;
}
.protection-sect {
padding-left: 30px;
}
</style>