FlowChart削除メニュー追加
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="ja-jp">
|
||||||
<head>
|
<head>
|
||||||
<title><%= productName %></title>
|
<title><%= productName %></title>
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,25 @@
|
|||||||
<div class="row justify-center" :style="{ marginLeft: node.inputPoint !== '' ? '240px' : '' }" @click="onNodeClick">
|
<div class="row justify-center" :style="{ marginLeft: node.inputPoint !== '' ? '240px' : '' }" @click="onNodeClick">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-card class="action-node" :class="nodeStyle" :square="false" >
|
<q-card class="action-node" :class="nodeStyle" :square="false" >
|
||||||
<q-card-section>
|
<q-toolbar class="col" >
|
||||||
<div class="text-h6">{{ node.title }}</div>
|
|
||||||
<div class="text-subtitle2">{{ node.subTitle }}</div>
|
<div class="text-subtitle2">{{ node.subTitle }}</div>
|
||||||
|
<q-space></q-space>
|
||||||
|
<q-btn flat round dense icon="more_horiz" >
|
||||||
|
<q-menu auto-close anchor="top right">
|
||||||
|
<q-list>
|
||||||
|
<q-item clickable v-if="!isRoot">
|
||||||
|
<q-item-section>削除する</q-item-section>
|
||||||
|
</q-item>
|
||||||
|
<q-item clickable>
|
||||||
|
<q-item-section>以下すべて削除する</q-item-section>
|
||||||
|
</q-item>
|
||||||
|
</q-list>
|
||||||
|
</q-menu>
|
||||||
|
</q-btn>
|
||||||
|
</q-toolbar>
|
||||||
|
<q-separator />
|
||||||
|
<q-card-section>
|
||||||
|
<div class="text-h7">{{ node.title }}</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<template v-if="hasBranch">
|
<template v-if="hasBranch">
|
||||||
<q-separator />
|
<q-separator />
|
||||||
@@ -107,7 +123,7 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.action-node {
|
.action-node {
|
||||||
min-width: 250px !important;
|
min-width: 300px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
|
|||||||
Reference in New Issue
Block a user