diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-04-21 07:48:16 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-04-21 07:48:16 -0700 |
commit | 904782f973a12542cacb394e2e1d0827accd995a (patch) | |
tree | 66f5ef63678ba61f9cfdc69cc6682bc51a57c05b /views | |
parent | d0055bad24153e1dc696df2b8825dba4c523b434 (diff) |
move editor folder to editor-files, remove appcache
* it sometimes confuses web servers to have a folder named "editor" while also serving routes with the same name
* dropped appcache stuff since it wasn't working super well
* add nginx config to the readme
Diffstat (limited to 'views')
-rw-r--r-- | views/editor.php | 34 | ||||
-rw-r--r-- | views/partials/appcache.php | 28 |
2 files changed, 17 insertions, 45 deletions
diff --git a/views/editor.php b/views/editor.php index ac0f429..6d235c4 100644 --- a/views/editor.php +++ b/views/editor.php @@ -1,5 +1,5 @@ <!doctype html> -<html lang="en" manifest="appcache.manifest"> +<html lang="en"> <head> <title>Quill Editor</title> <meta charset="utf-8"> @@ -15,22 +15,22 @@ we want to exclude it for iPhone 5 to allow full screen apps --> <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" /> - <link rel="stylesheet" href="/editor/medium-editor/css/medium-editor.min.css"> - <link rel="stylesheet" href="/editor/medium-editor/css/themes/default.min.css"> - <link rel="stylesheet" href="/editor/medium-editor/css/medium-editor-insert-plugin.min.css"> - <link rel="stylesheet" href="/editor/medium-editor/css/medium-editor-insert-plugin-frontend.min.css"> - <link href="/editor/font-awesome/css/font-awesome.css" rel="stylesheet"> - <link rel="stylesheet" href="/editor/style.css"> + <link rel="stylesheet" href="/editor-files/medium-editor/css/medium-editor.min.css"> + <link rel="stylesheet" href="/editor-files/medium-editor/css/themes/default.min.css"> + <link rel="stylesheet" href="/editor-files/medium-editor/css/medium-editor-insert-plugin.min.css"> + <link rel="stylesheet" href="/editor-files/medium-editor/css/medium-editor-insert-plugin-frontend.min.css"> + <link href="/editor-files/font-awesome/css/font-awesome.css" rel="stylesheet"> + <link rel="stylesheet" href="/editor-files/style.css"> - <script src="/editor/jquery-1.11.3.min.js"></script> - <script src="/editor/jquery-ui-1.11.4.custom/jquery-ui.min.js"></script> - <script src="/editor/jquery.fileupload.js"></script> - <script src="/editor/jquery.iframetransport.js"></script> + <script src="/editor-files/jquery-1.11.3.min.js"></script> + <script src="/editor-files/jquery-ui-1.11.4.custom/jquery-ui.min.js"></script> + <script src="/editor-files/jquery.fileupload.js"></script> + <script src="/editor-files/jquery.iframetransport.js"></script> - <script src="/editor/handlebars.min.js"></script> - <script src="/editor/medium-editor/js/medium-editor.min.js"></script> - <script src="/editor/medium-editor/js/medium-editor-insert-plugin.min.js"></script> - <script src="/editor/localforage/localforage.js"></script> + <script src="/editor-files/handlebars.min.js"></script> + <script src="/editor-files/medium-editor/js/medium-editor.min.js"></script> + <script src="/editor-files/medium-editor/js/medium-editor-insert-plugin.min.js"></script> + <script src="/editor-files/localforage/localforage.js"></script> <link rel="apple-touch-icon" sizes="57x57" href="/images/quill-icon-57.png"> <link rel="apple-touch-icon" sizes="72x72" href="/images/quill-icon-72.png"> @@ -43,7 +43,7 @@ <div class="toolbar"> <div class="toolbar-left"> - <span class="item"><a href="/"><img src="/editor/quill-logo-36.png" width="36" height="31" class="logo"></a></span> + <span class="item"><a href="/"><img src="/editor-files/quill-logo-36.png" width="36" height="31" class="logo"></a></span> <span class="item text"><span id="draft-status">Draft</span></span> </div> <div class="toolbar-right"> @@ -106,7 +106,7 @@ </div> </div> -<script src="/editor/editor.js"></script> +<script src="/editor-files/editor.js"></script> </body> </html>
\ No newline at end of file diff --git a/views/partials/appcache.php b/views/partials/appcache.php deleted file mode 100644 index 2e76754..0000000 --- a/views/partials/appcache.php +++ /dev/null @@ -1,28 +0,0 @@ -CACHE MANIFEST - -# v25 - -/editor -/editor/style.css -/editor/medium-editor/css/medium-editor.min.css -/editor/medium-editor/css/themes/default.min.css -/editor/medium-editor/css/medium-editor-insert-plugin.min.css -/editor/medium-editor/css/medium-editor-insert-plugin-frontend.min.css -/editor/font-awesome/css/font-awesome.css -/editor/jquery-1.11.3.min.js -/editor/jquery-ui-1.11.4.custom/jquery-ui.min.js -/editor/jquery.fileupload.js -/editor/jquery.iframetransport.js -/editor/handlebars.min.js -/editor/medium-editor/js/medium-editor.min.js -/editor/medium-editor/js/medium-editor-insert-plugin.min.js -/editor/localforage/localforage.js -/editor/quill-logo-36.png -# /editor/editor.js -/editor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.3.0 -/editor/font-awesome/fonts/fontawesome-webfont.woff?v=4.3.0 -/editor/font-awesome/fonts/fontawesome-webfont.ttf?v=4.3.0 - -NETWORK: -* - |