scratch – Blame information for rev 29

Subversion Repositories:
Rev:
Rev Author Line No. Line
25 office 1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8 <meta name="description" content="quick asset upload">
9 <meta name="author" content="Wizardry and Steamworks">
10 <link rel="icon" href="favicon.ico">
11  
12 <title>Quickload</title>
13  
14 <!-- Bootstrap core CSS -->
15 <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet">
16  
17 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
18 <link href="css/bootstrap/ie10-viewport-bug-workaround.css" rel="stylesheet">
19  
20 <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
21 <!--[if lt IE 9]><script src="js/bootstrap/ie8-responsive-file-warning.js"></script><![endif]-->
22 <script src="js/bootstrap/ie-emulation-modes-warning.js"></script>
23  
24 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
25 <!--[if lt IE 9]>
26 <script src="js/bootstrap/html5shiv.min.js"></script>
27 <script src="js/bootstrap/respond.min.js"></script>
28 <![endif]-->
29  
30 <!-- Trumbowyg -->
31 <link href="css/trumbowyg/trumbowyg.min.css" rel="stylesheet">
32 <!-- Local style -->
33 <!-- <link href="css/style.css" rel="stylesheet"> -->
34 </head>
35  
36 <body>
37  
38 <div class="container">
39  
40 <!-- Main component for a primary marketing message or call to action -->
41 <div class="jumbotron">
42 <h1>Quickload</h1>
43 <p>Asset sharing platform.</p>
44 </div>
45  
46 <ul class="nav nav-tabs">
47 <li><a href="index.html">Home</a></li>
48 <li><a href="files.html">Files</a></li>
49 <li class="active"><a href="#">Text</a></li>
50 </ul>
51  
52 <div id="trumbowyg" style="height:334px;">
53 </div>
54  
55 </div> <!-- /container -->
56  
57 <div id="footer">
58 <div class="container">
59 <p class="text-muted credit">Copyright <i class="glyphicon glyphicon-copyright-mark"></i> 2017 <a href="http://grimore.org">Wizardry and Steamworks</a>.</p>
60 </div>
61 </div>
62  
63 <script src="js/jquery/jquery.min.js"></script>
64 <script src="js/bootstrap/bootstrap.min.js"></script>
65 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
66 <script src="js/bootstrap/ie10-viewport-bug-workaround.js"></script>
67  
68 <!-- Trumbowyg -->
69 <script src="js/trumbowyg/trumbowyg.min.js"></script>
70 <script>
71 $(document).ready(() => {
72 $('#trumbowyg').trumbowyg({
29 office 73 autogrow: true,
74 disabled: true
75 }).on('tbwchange', () => {
76 $('#editor').trumbowyg('disable');
77 $.post('share-text.php', {
78 data: $('#trumbowyg').trumbowyg('html'),
79 }).done((data) => {
80 $('#trumbowyg').trumbowyg('enable');
81 }).fail(() => {
82 $('#trumbowyg').trumbowyg('enable');
25 office 83 });
84 });
29 office 85 $.get('share-text.php').done((data) => {
86 $('#trumbowyg')
87 .trumbowyg('html', data);
88 $('#trumbowyg').trumbowyg('enable');
89 }).fail(() => {
90 $('#trumbowyg').trumbowyg('enable');
91 });
25 office 92 });
93 </script>
94 </body>
95 </html>