fix rates tab
This commit is contained in:
parent
bb802ed756
commit
0222d493f8
2 changed files with 100 additions and 70 deletions
|
|
@ -7,6 +7,12 @@
|
|||
class="setting-label"
|
||||
:class="{ 'faint': shouldBeDisabled }"
|
||||
>
|
||||
<ModifiedIndicator
|
||||
:changed="isChanged"
|
||||
:onclick="reset"
|
||||
/>
|
||||
<ProfileSettingIndicator :is-profile="isProfileSetting" />
|
||||
{{ ' ' }}
|
||||
<template v-if="backendDescriptionLabel">
|
||||
{{ backendDescriptionLabel + ' ' }}
|
||||
</template>
|
||||
|
|
@ -22,6 +28,7 @@
|
|||
>
|
||||
{{ backendDescriptionDescription + ' ' }}
|
||||
</p>
|
||||
<div class="setting-control">
|
||||
<table>
|
||||
<tr>
|
||||
<th> </th>
|
||||
|
|
@ -84,20 +91,35 @@
|
|||
>
|
||||
{{ $t('admin_dash.rate_limit.separate') }}
|
||||
</Checkbox>
|
||||
<div>
|
||||
<ModifiedIndicator
|
||||
:changed="isChanged"
|
||||
:onclick="reset"
|
||||
/>
|
||||
<ProfileSettingIndicator :is-profile="isProfileSetting" />
|
||||
<DraftButtons />
|
||||
</div>
|
||||
<DraftButtons />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./rate_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.RateSetting {
|
||||
&.setting-item {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"label control"
|
||||
"desc control"
|
||||
". draft";
|
||||
|
||||
.setting-label {
|
||||
text-align: right;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.setting-control {
|
||||
align-self: end;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1413,6 +1413,14 @@
|
|||
":oauth_app_creation": {
|
||||
"label": "OAuth app creation",
|
||||
"description": "For registering new OAuth App ID"
|
||||
},
|
||||
":ap_routes": {
|
||||
"label": "ActivityPub",
|
||||
"description": "Federation endpoints"
|
||||
},
|
||||
":account_confirmation_resend": {
|
||||
"label": "Account confirmation resend",
|
||||
"description": "How often user can resend confirmation mail"
|
||||
}
|
||||
},
|
||||
"Pleroma_DOT_Formatter": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue