Files
fnx_web/res/template/paste.html

67 lines
1.5 KiB
HTML
Raw Normal View History

2017-11-10 12:39:55 +01:00
{{define "paste"}}
<!DOCTYPE html>
<html>
<head>
2018-07-09 21:41:17 +02:00
{{template "meta_tags" "Text Upload"}}
{{template "user_style" .}}
2017-11-10 12:39:55 +01:00
<script src="/res/script/jquery-2.1.4.min.js"></script>
2019-08-10 14:15:54 +02:00
2018-07-09 21:41:17 +02:00
<style>
2019-07-30 12:24:37 +02:00
#toolbar {
position: absolute;
width: 8em;
height: 100%;
background-color: var(--accent_color_medium)
}
2019-08-10 14:15:54 +02:00
.textarea_container {
2018-07-09 21:41:17 +02:00
position: absolute;
2019-07-30 12:24:37 +02:00
left: 8em;
2019-08-10 14:15:54 +02:00
top: 0;
right: 0;
bottom: 0;
display: inline-block;
}
.textarea{
position: relative;
2018-07-09 21:41:17 +02:00
height: 100%;
width: 100%;
2019-08-10 14:15:54 +02:00
/* border: none !important; */
2018-07-11 22:46:44 +02:00
background: var(--accent_color_dark);
2018-07-09 21:41:17 +02:00
}
2019-07-30 12:24:37 +02:00
.toolbar_button{
text-align: left;
}
.toolbar_button > img {
width: 24px;
height: 24px;
}
.toolbar_button > span {
vertical-align: 6px;
}
2018-07-09 21:41:17 +02:00
</style>
2017-11-10 12:39:55 +01:00
</head>
<body>
<div id="toolbar">
2019-07-30 12:24:37 +02:00
<button class="toolbar_button button_full_width" onClick="uploadText();">
<img src="/res/img/upload_small.png" alt="Start Upload"/>
<span>Upload</span>
</button>
<a href="/" class="button toolbar_button button_full_width">
2019-08-10 14:15:54 +02:00
<img src="/res/img/pixeldrain_transparent.png" alt="Back to the Home page"/>
2019-07-30 12:24:37 +02:00
<span>Home</span>
</a>
<br/><br/>
2019-08-10 14:15:54 +02:00
Tip: Save your file with extension '.md' to use markdown formatting<br/>
2019-07-30 12:24:37 +02:00
{{template "advertisement" .}}
2017-11-10 12:39:55 +01:00
</div>
2019-08-10 14:15:54 +02:00
<div class="textarea_container">
<textarea id="textarea" class="textarea" placeholder="Your text here..." autofocus="autofocus"></textarea>
</div>
<script src="/res/script/compiled/textupload.js"></script>
{{template "analytics"}}
2017-11-10 12:39:55 +01:00
</body>
</html>
2018-07-09 21:41:17 +02:00
{{end}}