Files
fnx_web/res/template/paste.html

59 lines
1.4 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-07-30 12:24:37 +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)
}
2018-07-09 21:41:17 +02:00
.textarea{
position: absolute;
top: 0;
2019-07-30 12:24:37 +02:00
left: 8em;
2018-07-09 21:41:17 +02:00
height: 100%;
width: 100%;
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">
<img src="/res/img/pixeldrain_small.png" alt="Visit the home page" style="width:22px; height: 22px;"/>
<span>Home</span>
</a>
<br/><br/>
Tip: Save your file with extension '.md' to use markdown<br/>
{{template "advertisement" .}}
2017-11-10 12:39:55 +01:00
</div>
2019-07-30 12:24:37 +02:00
<textarea id="textarea" class="textarea" placeholder="Your text here..." autofocus="autofocus"></textarea>
<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}}