|
@@ -47,18 +47,7 @@ layout: default
|
|
|
</div>
|
|
|
|
|
|
<div id="module-menu">
|
|
|
-
|
|
|
- <!-- Customizable module -->
|
|
|
- <span class="module" id="module-custom"
|
|
|
- draggable="true" ondragstart="drag(event)">
|
|
|
- <input contenteditable="true" draggable="false" placeholder="Custom..."/>
|
|
|
- <img src="{% link assets/tabler_icons/bulb.svg %}" class="module-logo"
|
|
|
- draggable="false" />
|
|
|
- <a onclick="this.parentNode.remove()" class="delete-module"
|
|
|
- style="display:none">
|
|
|
- <img src="{% link assets/tabler_icons/x.svg %}" /></a>
|
|
|
- </span>
|
|
|
-
|
|
|
+
|
|
|
<!-- Load preset modules from _modules/ -->
|
|
|
{% assign modules_array = site.modules | sort: "type" %}
|
|
|
{% assign last_type = "" %}
|
|
@@ -72,7 +61,7 @@ layout: default
|
|
|
<button onclick="toggleVisible('module-type-{{ module.type }}')" class="button chevrons"><img src="{% link assets/tabler_icons/chevrons-down.svg %}" title="Show/hide" /></button>
|
|
|
</div>
|
|
|
<div class="module-questions">{{ site.data.module_types[module.type].question }}</div>
|
|
|
- <div id="module-type-{{ module.type }}">
|
|
|
+ <div id="module-type-{{ module.type }}" style="display: none;">
|
|
|
{% endif %}
|
|
|
{% assign last_type = module.type %}
|
|
|
<span class="module" id="module-{{ module.title | slugify }}"
|
|
@@ -89,6 +78,20 @@ layout: default
|
|
|
{% endif %}
|
|
|
{% endfor %}
|
|
|
</div>
|
|
|
+
|
|
|
+ <div id="module-custom-container">
|
|
|
+ <!-- Customizable module -->
|
|
|
+ <span class="module" id="module-custom"
|
|
|
+ draggable="true" ondragstart="drag(event)">
|
|
|
+ <input contenteditable="true" draggable="false" placeholder="Custom..."/>
|
|
|
+ <img src="{% link assets/tabler_icons/bulb.svg %}" class="module-logo"
|
|
|
+ draggable="false" />
|
|
|
+ <a onclick="this.parentNode.remove()" class="delete-module"
|
|
|
+ style="display:none">
|
|
|
+ <img src="{% link assets/tabler_icons/x.svg %}" /></a>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- END RuleBuilder -->
|
|
@@ -116,7 +119,7 @@ layout: default
|
|
|
|
|
|
<button class="pushButton" id="publishRule" onclick="publishRule()"
|
|
|
title="Add to the public Library">Publish</button>
|
|
|
-<button class="pushButton" id="toggleDisplayMode" onclick="fork()"
|
|
|
+<button class="pushButton" id="fork" onclick="fork()"
|
|
|
title="Edit this Rule into a new one">Fork</button>
|
|
|
<button class="pushButton" onclick="textOutput()"
|
|
|
title="Download this Rule as a Markdown text file">Export</button>
|