Solve #145
parent
2976592648
commit
15a1a78cec
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<form @submit="save" class="dashboard">
|
<form @submit="save" class="dashboard">
|
||||||
<h1 v-if="id === 0">New User</h1>
|
<h1 v-if="id === 0">New User</h1>
|
||||||
<h1 v-else>User {{ username }}</h1>
|
<h1 v-else>User {{ username }}</h1>
|
||||||
|
@ -49,6 +50,12 @@
|
||||||
|
|
||||||
<textarea name="css"></textarea>
|
<textarea name="css"></textarea>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<button v-if="id !== 0" @click.prevent="deletePrompt" type="button" class="delete">Delete</button>
|
||||||
|
<input type="submit" value="Save">
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
|
||||||
<div v-if="$store.state.show === 'deleteUser'" class="prompt">
|
<div v-if="$store.state.show === 'deleteUser'" class="prompt">
|
||||||
<h3>Delete User</h3>
|
<h3>Delete User</h3>
|
||||||
<p>Are you sure you want to delete this user?</p>
|
<p>Are you sure you want to delete this user?</p>
|
||||||
|
@ -57,12 +64,7 @@
|
||||||
<button @click="closeHovers" class="cancel">Cancel</button>
|
<button @click="closeHovers" class="cancel">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<p>
|
|
||||||
<button v-if="id !== 0" @click.prevent="deletePrompt" type="button" class="delete">Delete</button>
|
|
||||||
<input type="submit" value="Save">
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
File diff suppressed because one or more lines are too long
2318
rice-box.go
2318
rice-box.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue