|
@@ -4,6 +4,7 @@
|
|
<div class="editor" v-if="!preview && !legacy" v-cloak>
|
|
<div class="editor" v-if="!preview && !legacy" v-cloak>
|
|
<div class="controls">
|
|
<div class="controls">
|
|
<vue-button class="primary is-large" @click="clickPreview" :icon="icons.view">Preview</vue-button>
|
|
<vue-button class="primary is-large" @click="clickPreview" :icon="icons.view">Preview</vue-button>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="details">
|
|
<div class="details">
|
|
<div class="label-group">
|
|
<div class="label-group">
|
|
@@ -193,8 +194,8 @@
|
|
<div class="controls">
|
|
<div class="controls">
|
|
<vue-button class="primary is-large" @click="clickPreview" :icon="icons.edit" v-if="!view">Edit</vue-button>
|
|
<vue-button class="primary is-large" @click="clickPreview" :icon="icons.edit" v-if="!view">Edit</vue-button>
|
|
</div>
|
|
</div>
|
|
- <h1><icon :icon="rule.icon" v-if="rule.icon"></icon> [[rule.name]]</h1>
|
|
|
|
- <p>[[rule.summary]]</p>
|
|
|
|
|
|
+ <h1><icon :icon="rule.icon" v-if="rule.icon"></icon> [[ rule.name ]]</h1>
|
|
|
|
+ <p v-if="rule.summary">[[ rule.summary ]]</p>
|
|
<div class="modules__grid" :data-module-id="rule.ruleID" .module="rule">
|
|
<div class="modules__grid" :data-module-id="rule.ruleID" .module="rule">
|
|
<module-display
|
|
<module-display
|
|
v-for="module in rule.modules"
|
|
v-for="module in rule.modules"
|
|
@@ -242,8 +243,9 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="rule-export" v-show="false" v-if="!legacy">
|
|
<div id="rule-export" v-show="false" v-if="!legacy">
|
|
- <h1>[[rule.name]]</h1>
|
|
|
|
- <p>[[rule.summary]]</p>
|
|
|
|
|
|
+ <h1>[[ rule.name ]]</h1>
|
|
|
|
+ <p v-if="rule.summary">[[ rule.summary ]]</p>
|
|
|
|
+
|
|
<ul class="module-list">
|
|
<ul class="module-list">
|
|
<module-list v-for="(module, index) in rule.modules" :key="index" :module="module" v-if="rule.modules" hide-icon></module-list>
|
|
<module-list v-for="(module, index) in rule.modules" :key="index" :module="module" v-if="rule.modules" hide-icon></module-list>
|
|
</ul>
|
|
</ul>
|