projectgroupsettings: use panels to split different parts
This commit is contained in:
parent
e1596abb67
commit
01a4aba4fa
|
@ -1,38 +1,49 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<projectvars :variables="variables" :allvariables="allvariables"/>
|
<nav class="panel">
|
||||||
<hr>
|
<p class="panel-heading">Variables</p>
|
||||||
<div>
|
<div class="panel-block is-block">
|
||||||
<h4 class="title is-4">Delete This Project Group</h4>
|
<projectvars :variables="variables" :allvariables="allvariables"/>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<nav class="panel is-danger">
|
||||||
|
<p class="panel-heading is-danger">Danger Zone</p>
|
||||||
|
<div class="panel-block is-block">
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h4 class="title is-4">Delete This Project Group</h4>
|
||||||
|
|
||||||
<div class="message is-danger">
|
<div class="message is-danger">
|
||||||
<div class="message-body">
|
<div class="message-body">
|
||||||
This operation
|
This operation
|
||||||
<strong>CANNOT</strong> be undone.
|
<strong>CANNOT</strong> be undone.
|
||||||
This operation will remove
|
This operation will remove
|
||||||
<strong>{{projectGroupPath}}</strong>
|
<strong>{{projectGroupPath}}</strong>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<label class="label">
|
||||||
|
Please type the project group name for confirmation:
|
||||||
|
<span
|
||||||
|
class="has-text-danger"
|
||||||
|
>{{ projectGroupName }}</span>
|
||||||
|
</label>
|
||||||
|
<div class="field">
|
||||||
|
<input
|
||||||
|
v-model="projectGroupNameToDelete"
|
||||||
|
class="input"
|
||||||
|
type="email"
|
||||||
|
placeholder="Project Group name to delete"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<button
|
||||||
|
class="button is-danger"
|
||||||
|
@click="deleteProjectGroup()"
|
||||||
|
:disabled="!deleteButtonEnabled"
|
||||||
|
>Delete Project Group</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<label class="label">
|
</nav>
|
||||||
Please type the project group name for confirmation:
|
|
||||||
<span
|
|
||||||
class="has-text-danger"
|
|
||||||
>{{ projectGroupName }}</span>
|
|
||||||
</label>
|
|
||||||
<div class="field">
|
|
||||||
<input
|
|
||||||
v-model="projectGroupNameToDelete"
|
|
||||||
class="input"
|
|
||||||
type="email"
|
|
||||||
placeholder="Project Group name to delete"
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<button
|
|
||||||
class="button is-danger"
|
|
||||||
@click="deleteProjectGroup()"
|
|
||||||
:disabled="!deleteButtonEnabled"
|
|
||||||
>Delete Project Group</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -108,5 +119,9 @@ export default {
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/css/_variables.scss";
|
@import "@/css/_variables.scss";
|
||||||
|
|
||||||
|
.panel-heading {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue