setting-sync #175
3 changed files with 11 additions and 3 deletions
|
@ -79,7 +79,10 @@
|
||||||
<FAIcon icon="sync" @click="refreshProfiles()" />
|
<FAIcon icon="sync" @click="refreshProfiles()" />
|
||||||
</button>
|
</button>
|
||||||
<h3>{{ $t('settings.settings_profile_creation') }}</h3>
|
<h3>{{ $t('settings.settings_profile_creation') }}</h3>
|
||||||
<input v-model="newProfileName">
|
<label for="settings-profile-new-name">
|
||||||
|
{{ $t('settings.settings_profile_creation_new_name_label') }}
|
||||||
|
</label>
|
||||||
|
<input v-model="newProfileName" id="settings-profile-new-name">
|
||||||
<button
|
<button
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="createSettingsProfile"
|
@click="createSettingsProfile"
|
||||||
|
@ -547,7 +550,6 @@
|
||||||
</BooleanSetting>
|
</BooleanSetting>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<!-- <BooleanSetting path="serverSide_defaultNSFW"> -->
|
|
||||||
<BooleanSetting path="sensitiveByDefault">
|
<BooleanSetting path="sensitiveByDefault">
|
||||||
{{ $t('settings.sensitive_by_default') }}
|
{{ $t('settings.sensitive_by_default') }}
|
||||||
</BooleanSetting>
|
</BooleanSetting>
|
||||||
|
@ -634,4 +636,9 @@
|
||||||
.settings-profile {
|
.settings-profile {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#settings-profile-new-name {
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -700,6 +700,7 @@
|
||||||
"settings_profile_in_use": "In use",
|
"settings_profile_in_use": "In use",
|
||||||
"settings_profile_creation": "Create new profile",
|
"settings_profile_creation": "Create new profile",
|
||||||
"settings_profile_creation_submit": "Create",
|
"settings_profile_creation_submit": "Create",
|
||||||
|
"settings_profile_creation_new_name_label": "Name",
|
||||||
"settings_profile_use": "Use",
|
"settings_profile_use": "Use",
|
||||||
"settings_profile_delete": "Delete",
|
"settings_profile_delete": "Delete",
|
||||||
"settings_profile_delete_confirm": "Do you really want to delete this profile?",
|
"settings_profile_delete_confirm": "Do you really want to delete this profile?",
|
||||||
|
|
|
@ -261,7 +261,7 @@ const config = {
|
||||||
store.dispatch('pushGlobalNotice', {
|
store.dispatch('pushGlobalNotice', {
|
||||||
level: 'warning',
|
level: 'warning',
|
||||||
messageKey: 'settings_profile.creating',
|
messageKey: 'settings_profile.creating',
|
||||||
args: { profile },
|
messageArgs: { profile },
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
})
|
})
|
||||||
store.dispatch('syncSettings')
|
store.dispatch('syncSettings')
|
||||||
|
|
Loading…
Reference in a new issue