1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-24 02:00:17 +01:00

Improve HTML and mobile viewing slightly

* Add DOCTYPE declaration
* Set proper viewport scaling for mobile viewing
* Remove some tag closing not needed for HTML5
This commit is contained in:
Manuel 2021-02-14 20:34:46 +00:00
parent f93aac983a
commit c00f65a385
Signed by: Manuel
GPG key ID: 4085037435E1F07A

View file

@ -1,16 +1,17 @@
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>hastebin</title> <title>hastebin</title>
<meta charset="utf-8" /> <meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="solarized_dark.css"/> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="application.css"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" type="text/css" href="solarized_dark.css">
<link rel="stylesheet" type="text/css" href="application.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="highlight.min.js"></script> <script type="text/javascript" src="highlight.min.js"></script>
<script type="text/javascript" src="application.min.js"></script> <script type="text/javascript" src="application.min.js"></script>
<meta name="robots" content="noindex,nofollow"/>
<script type="text/javascript"> <script type="text/javascript">
let app = null; let app = null;
// Handle pops // Handle pops
@ -39,8 +40,6 @@
}); });
</script> </script>
</head>
<body> <body>
<ul id="messages"></ul> <ul id="messages"></ul>
@ -65,5 +64,3 @@
<div id="linenos"></div> <div id="linenos"></div>
<pre id="box" style="display: none;" class="hljs" tabindex="0"><code></code></pre> <pre id="box" style="display: none;" class="hljs" tabindex="0"><code></code></pre>
<textarea spellcheck="false" style="display: none;"></textarea> <textarea spellcheck="false" style="display: none;"></textarea>
</body>
</html>