code and file note types now sort of work now as well

This commit is contained in:
zadam
2020-01-19 09:02:18 +01:00
parent 4fdea77c57
commit e355b449c4
6 changed files with 122 additions and 119 deletions

View File

@@ -1,37 +0,0 @@
<div class="note-detail-file note-detail-component">
<table class="file-table">
<tr>
<th>Note ID:</th>
<td class="file-note-id"></td>
</tr>
<tr>
<th>Original file name:</th>
<td class="file-filename"></td>
</tr>
<tr>
<th>File type:</th>
<td class="file-filetype"></td>
</tr>
<tr>
<th>File size:</th>
<td class="file-filesize"></td>
</tr>
<tr class="file-preview-row">
<th>Preview:</th>
<td>
<pre class="file-preview-content"></pre>
</td>
</tr>
<tr>
<td colspan="2">
<button class="file-download btn btn-sm btn-primary" type="button">Download</button>
&nbsp;
<button class="file-open btn btn-sm btn-primary" type="button">Open</button>
&nbsp;
<button class="file-upload-new-revision btn btn-sm btn-primary">Upload new revision</button>
</td>
</tr>
</table>
<input type="file" class="file-upload-new-revision-input" style="display: none">
</div>

View File

@@ -66,8 +66,6 @@
<% include details/render.ejs %>
<% include details/file.ejs %>
<% include details/image.ejs %>
<% include details/relation_map.ejs %>