Quellcode durchsuchen

modify not_found_content tab-pane

Yuki Takei vor 7 Jahren
Ursprung
Commit
0852822e61
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 8 2
      lib/views/widget/not_found_content.html

+ 8 - 2
lib/views/widget/not_found_content.html

@@ -39,9 +39,15 @@
     </div>
     </div>
 
 
     {# edit view #}
     {# edit view #}
-    <div class="edit-form tab-pane {% if req.body.pageForm %}active{% endif %}" id="edit-form">
-      {% include '../_form.html' %}
+    <div class="tab-pane edit-form {% if req.body.pageForm %}active{% endif %}" id="edit-form">
+      <div id="page-editor">{% if pageForm.body %}{{ pageForm.body }}{% endif %}</div>
     </div>
     </div>
+    <div class="tab-pane edit-form" id="hackmd">
+      <div id="hackmd-editor">
+        <iframe width="100%" src="http://localhost:3100/oMx0W0k4Tb-sRkkPrxHDoA?both" frameborder="0"></iframe>
+      </div>
+    </div>
+    {% include '../_form.html' %}
 
 
   </div>
   </div>
 </div>
 </div>