files compiles ok
This commit is contained in:
@@ -10,15 +10,8 @@
|
||||
height: auto !important;
|
||||
}
|
||||
#article {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: scroll;
|
||||
}
|
||||
#titlepath, #title {
|
||||
font-size: 2rem;
|
||||
@@ -69,33 +62,35 @@
|
||||
}, body, headers)
|
||||
}
|
||||
</script>
|
||||
<article id="article">
|
||||
<div class="columns">
|
||||
<span class="r_buffer">
|
||||
<form action="#" onsubmit="pushFile(); return false;"> <!-- TODO -->
|
||||
<input class="button-info lil_btn" type="submit" value="SAVE"/>
|
||||
</form>
|
||||
</span>
|
||||
<span id="titlePath">
|
||||
/
|
||||
{{ if ne .This.PID "" }}
|
||||
<a href="/ui/files/{{ .This.PID }}">{{ .This.PTitle }}</a> /
|
||||
{{ end }}
|
||||
</span>
|
||||
<span id="title" class="thic_flex" contenteditable>{{ .This.Title }}</span>
|
||||
<span class="l_buffer">
|
||||
<form action="" method="delete" onsubmit="return confirm('are you sure?');"> <!-- TODO -->
|
||||
<input class="button-error lil_btn" type="submit" value="DELETE"/>
|
||||
</form>
|
||||
</span>
|
||||
</div>
|
||||
<!-- todo: each line no is an anchor -->
|
||||
<div id="easyMDEwrap" class="monospace">
|
||||
<textarea id="my-text-area"></textarea>
|
||||
</div>
|
||||
<div id="saveFeedback" style="min-height: 1.2em; text-align: right;">
|
||||
</div>
|
||||
</article>
|
||||
<div class="fullscreen tb_fullscreen">
|
||||
<article id="article">
|
||||
<div class="columns">
|
||||
<span class="r_buffer">
|
||||
<form action="#" onsubmit="pushFile(); return false;"> <!-- TODO -->
|
||||
<input class="button-info lil_btn" type="submit" value="SAVE"/>
|
||||
</form>
|
||||
</span>
|
||||
<span id="titlePath">
|
||||
/
|
||||
{{ if ne .This.PID "" }}
|
||||
<a href="/ui/files/{{ .This.PID }}">{{ .This.PTitle }}</a> /
|
||||
{{ end }}
|
||||
</span>
|
||||
<span id="title" class="thic_flex" contenteditable>{{ .This.Title }}</span>
|
||||
<span class="l_buffer">
|
||||
<form action="" method="delete" onsubmit="return confirm('are you sure?');"> <!-- TODO -->
|
||||
<input class="button-error lil_btn" type="submit" value="DELETE"/>
|
||||
</form>
|
||||
</span>
|
||||
</div>
|
||||
<!-- todo: each line no is an anchor -->
|
||||
<div id="easyMDEwrap" class="monospace">
|
||||
<textarea id="my-text-area"></textarea>
|
||||
</div>
|
||||
<div id="saveFeedback" style="min-height: 1.2em; text-align: right;">
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script>
|
||||
const easyMDE = new EasyMDE({
|
||||
autoDownloadFontAwesome: true,
|
||||
|
||||
Reference in New Issue
Block a user