🎨
This commit is contained in:
		
							parent
							
								
									2beedc5978
								
							
						
					
					
						commit
						2cbd35acc4
					
				
					 7 changed files with 36 additions and 20 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div class="obdskegsannmntldydackcpzezagxqfy">
 | 
					<div class="obdskegsannmntldydackcpzezagxqfy card">
 | 
				
			||||||
	<header>%i18n:@dashboard%</header>
 | 
						<header>%i18n:@dashboard%</header>
 | 
				
			||||||
	<div v-if="stats" class="stats">
 | 
						<div v-if="stats" class="stats">
 | 
				
			||||||
		<div><b>%fa:user% {{ stats.originalUsersCount | number }}</b><span>%i18n:@original-users%</span></div>
 | 
							<div><b>%fa:user% {{ stats.originalUsersCount | number }}</b><span>%i18n:@original-users%</span></div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,9 +1,15 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div>
 | 
					<div class="card">
 | 
				
			||||||
	<header>%i18n:@title%</header>
 | 
						<header>%i18n:@title%</header>
 | 
				
			||||||
 | 
						<div class="card">
 | 
				
			||||||
 | 
							<header>%i18n:@local%</header>
 | 
				
			||||||
		<x-chart v-if="data" :data="data" type="local"/>
 | 
							<x-chart v-if="data" :data="data" type="local"/>
 | 
				
			||||||
 | 
						</div>
 | 
				
			||||||
 | 
						<div class="card">
 | 
				
			||||||
 | 
							<header>%i18n:@remote%</header>
 | 
				
			||||||
		<x-chart v-if="data" :data="data" type="remote"/>
 | 
							<x-chart v-if="data" :data="data" type="remote"/>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script lang="ts">
 | 
					<script lang="ts">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div>
 | 
					<div class="card">
 | 
				
			||||||
	<header>%i18n:@suspend-user%</header>
 | 
						<header>%i18n:@suspend-user%</header>
 | 
				
			||||||
	<input v-model="username" type="text" class="ui"/>
 | 
						<input v-model="username" type="text" class="ui"/>
 | 
				
			||||||
	<button class="ui" @click="suspendUser" :disabled="suspending">%i18n:@suspend%</button>
 | 
						<button class="ui" @click="suspendUser" :disabled="suspending">%i18n:@suspend%</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div>
 | 
					<div class="card">
 | 
				
			||||||
	<header>%i18n:@unsuspend-user%</header>
 | 
						<header>%i18n:@unsuspend-user%</header>
 | 
				
			||||||
	<input v-model="username" type="text" class="ui"/>
 | 
						<input v-model="username" type="text" class="ui"/>
 | 
				
			||||||
	<button class="ui" @click="unsuspendUser" :disabled="unsuspending">%i18n:@unsuspend%</button>
 | 
						<button class="ui" @click="unsuspendUser" :disabled="unsuspending">%i18n:@unsuspend%</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,9 +1,15 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div>
 | 
					<div class="card">
 | 
				
			||||||
	<header>%i18n:@title%</header>
 | 
						<header>%i18n:@title%</header>
 | 
				
			||||||
 | 
						<div class="card">
 | 
				
			||||||
 | 
							<header>%i18n:@local%</header>
 | 
				
			||||||
		<x-chart v-if="data" :data="data" type="local"/>
 | 
							<x-chart v-if="data" :data="data" type="local"/>
 | 
				
			||||||
 | 
						</div>
 | 
				
			||||||
 | 
						<div class="card">
 | 
				
			||||||
 | 
							<header>%i18n:@remote%</header>
 | 
				
			||||||
		<x-chart v-if="data" :data="data" type="remote"/>
 | 
							<x-chart v-if="data" :data="data" type="remote"/>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script lang="ts">
 | 
					<script lang="ts">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
<div>
 | 
					<div class="card">
 | 
				
			||||||
	<header>%i18n:@verify-user%</header>
 | 
						<header>%i18n:@verify-user%</header>
 | 
				
			||||||
	<input v-model="username" type="text" class="ui"/>
 | 
						<input v-model="username" type="text" class="ui"/>
 | 
				
			||||||
	<button class="ui" @click="verifyUser" :disabled="verifying">%i18n:@verify%</button>
 | 
						<button class="ui" @click="verifyUser" :disabled="verifying">%i18n:@verify%</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -101,12 +101,16 @@ export default Vue.extend({
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		> div
 | 
							> div
 | 
				
			||||||
			> div
 | 
								> div
 | 
				
			||||||
				margin-bottom 16px
 | 
					 | 
				
			||||||
				padding 32px
 | 
					 | 
				
			||||||
				max-width 800px
 | 
									max-width 800px
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.card
 | 
				
			||||||
 | 
						padding 32px
 | 
				
			||||||
	background #fff
 | 
						background #fff
 | 
				
			||||||
	box-shadow 0 2px 8px rgba(#000, 0.1)
 | 
						box-shadow 0 2px 8px rgba(#000, 0.1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						&:not(:last-child)
 | 
				
			||||||
 | 
							margin-bottom 16px
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	> header
 | 
						> header
 | 
				
			||||||
		margin 0 0 1em 0
 | 
							margin 0 0 1em 0
 | 
				
			||||||
		padding 0 0 8px 0
 | 
							padding 0 0 8px 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue