lib/kramdown/service/views/_editor.erb in kramdown-service-0.2.0 vs lib/kramdown/service/views/_editor.erb in kramdown-service-0.3.0
- old
+ new
@@ -1,9 +1,36 @@
<%= erb :'_editor_setup' %>
+<table width="100%">
+<tr>
+ <td>
+
+ <span>
+ Use <select id='note-lib'></select>
+ </span>
+
+ <br>
+ <a id='output-update' href='#'>[ Update ]</a>
+
+ <!-- nb: div will break/start new line -->
+ <div id='output-loading'></div>
+
+ </td>
+
+ <td>
+ <div style="font-size: 80%;">
+ Options: <br>
+ <a id='input-toggle' href='#'>[ Use White Color Theme ]</a>
+ <a id='output-toggle' href='#'>[ Show HTML ]</a>
+ </div>
+ </td>
+<div>
+
+
+
<table width='100%'>
<colgroup>
<col width='50%'>
<col width='50%'>
</colgroup>
@@ -21,27 +48,7 @@
<div id='output' class='markdown'></div>
<textarea id='output-source' readonly='readonly'></textarea>
</td>
- </tr>
- <tr>
- <td>
- <!-- first column -->
-
- <span>
- Use <select id='note-lib'></select>
- </span>
-
- <a id='output-update' href='#'>[ Update ]</a>
- <a id='input-toggle' href='#'>[ Use White Color Theme ]</a>
-
- <!-- nb: div will break/start new line -->
- <div id='output-loading'></div>
- </td>
- <td style='vertical-align: top;'>
- <!-- second column -->
- <a id='output-toggle' href='#'>[ Show HTML ]</a>
-
- </td>
</tr>
</table>