mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
chore(ui): remove unused code
This commit is contained in:
parent
6bcf476e69
commit
f9c0d51ab6
@ -81,25 +81,6 @@
|
||||
</template>
|
||||
</EditDialog>
|
||||
|
||||
<EditDialog
|
||||
v-model="subscriptionDialogue"
|
||||
save-button-text="Activate"
|
||||
title="Premium Subscription"
|
||||
v-if="user"
|
||||
event-name="i-user"
|
||||
:dont-close-on-save="true"
|
||||
>
|
||||
<template v-slot:form="{ onSave, onError, needSave, needReset }">
|
||||
<SubscriptionForm
|
||||
item-id="new"
|
||||
@save="onSave(); onSubscriptionKeyUpdates();"
|
||||
@error="onError"
|
||||
:need-save="needSave"
|
||||
:need-reset="needReset"
|
||||
/>
|
||||
</template>
|
||||
</EditDialog>
|
||||
|
||||
<v-snackbar
|
||||
v-model="snackbar"
|
||||
:color="snackbarColor"
|
||||
@ -409,20 +390,6 @@
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item
|
||||
key="subscription"
|
||||
v-if="user.admin"
|
||||
@click="subscriptionDialogue = true"
|
||||
>
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-license</v-icon>
|
||||
</v-list-item-icon>
|
||||
|
||||
<v-list-item-content>
|
||||
Premium Subscription
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item key="edit" @click="userDialog = true">
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-pencil</v-icon>
|
||||
@ -513,16 +480,6 @@
|
||||
</template>
|
||||
<style lang="scss">
|
||||
|
||||
.ActivatePremiumSubscriptionButton {
|
||||
background: gold;
|
||||
transform: rotate(-5deg) scale(0.95);
|
||||
border-radius: 6px;
|
||||
transition: 0.2s transform;
|
||||
&:hover {
|
||||
transform: rotate(-5deg) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.v-alert__wrapper {
|
||||
overflow: auto;
|
||||
}
|
||||
@ -755,7 +712,6 @@ export default {
|
||||
newProjectType: '',
|
||||
userDialog: null,
|
||||
passwordDialog: null,
|
||||
subscriptionDialogue: null,
|
||||
|
||||
taskLogDialog: null,
|
||||
task: null,
|
||||
|
Loading…
Reference in New Issue
Block a user