|
@@ -54,8 +54,8 @@ layout: default
|
|
|
{{ module.type }}
|
|
|
<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 }}" style="display: none;">
|
|
|
+ <p class="module-questions">{{ site.data.module_types[module.type].question }}</p>
|
|
|
+ <div id="module-type-{{ module.type }}" class="module-type" style="display: none;">
|
|
|
{% endif %}
|
|
|
{% assign last_type = module.type %}
|
|
|
<span class="module" id="module-{{ module.title | slugify }}"
|
|
@@ -71,15 +71,20 @@ layout: default
|
|
|
{% endfor %}
|
|
|
</div>
|
|
|
|
|
|
- <div id="module-custom-container">
|
|
|
+ <div class="module-type-header">
|
|
|
+ <img src="{% link assets/tabler_icons/bulb.svg %}" />
|
|
|
+ Custom Module
|
|
|
+ </div>
|
|
|
+ <p class="module-questions">Create your own module.</p>
|
|
|
+ <div id="module-custom-container" class="module-type">
|
|
|
<!-- Customizable module -->
|
|
|
- <span class="module" id="module-custom"
|
|
|
+ <span class="module module-custom" id="module-custom"
|
|
|
draggable="true" ondragstart="drag(event)" ondragend="dragEnd()">
|
|
|
+ <img class="module-info" src="{% link assets/tabler_icons/grid-dots.svg %}" draggable="false" />
|
|
|
<input contenteditable="true" draggable="false" placeholder="Custom module..."/>
|
|
|
- <img src="{% link assets/tabler_icons/bulb.svg %}" class="module-logo"
|
|
|
+ <img src="{% link assets/tabler_icons/bulb.svg %}"
|
|
|
draggable="false" />
|
|
|
- <a onclick="this.parentNode.remove()" class="delete-module"
|
|
|
- style="display:none">
|
|
|
+ <a onclick="this.parentNode.remove()" class="delete-module">
|
|
|
<img src="{% link assets/tabler_icons/x.svg %}" /></a>
|
|
|
</span>
|
|
|
</div>
|
|
@@ -92,10 +97,10 @@ layout: default
|
|
|
</div>
|
|
|
|
|
|
<div class="metadata_input">
|
|
|
- <p class="prompt">Created by</p>
|
|
|
+ <p class="prompt"><img src="{% link assets/tabler_icons/pencil.svg %}" /> Created by</p>
|
|
|
<input contenteditable="true" class="editable" id="author-text" placeholder="Creator Name" />
|
|
|
|
|
|
- <p class="prompt">Creator URL</p>
|
|
|
+ <p class="prompt"><img src="{% link assets/tabler_icons/globe.svg %}" /> Creator URL</p>
|
|
|
<input contenteditable="true" class="editable" id="author-url" placeholder="Creator URL (http://, https://)" type="url" pattern="http://.*|https://.*" />
|
|
|
</div>
|
|
|
|