| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
|---|
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
|---|
| 3 | |
|---|
| 4 | <html> |
|---|
| 5 | |
|---|
| 6 | <head> |
|---|
| 7 | <title>Moxie</title> |
|---|
| 8 | |
|---|
| 9 | <style type="text/css"> |
|---|
| 10 | @import "../../../../dojo/resources/dojo.css"; |
|---|
| 11 | @import "../../../../dijit/themes/tundra/tundra.css"; |
|---|
| 12 | |
|---|
| 13 | /* Bring in the CSS for the default |
|---|
| 14 | Dojo Offline UI widget */ |
|---|
| 15 | @import "../../../../dojox/off/resources/offline-widget.css"; |
|---|
| 16 | </style> |
|---|
| 17 | |
|---|
| 18 | <script type="text/javascript" src="../../../../dojo/dojo.js" djConfig="isDebug: false, parseOnLoad: true"></script> |
|---|
| 19 | <script type="text/javascript" src="../../../../dojox/off/offline.js"></script> |
|---|
| 20 | <script type="text/javascript" src="editor.js"></script> |
|---|
| 21 | |
|---|
| 22 | <style type="text/css"> |
|---|
| 23 | body, html { padding: 1em; } |
|---|
| 24 | #fileWidget label { font-weight: bold; } |
|---|
| 25 | select { display: block; } |
|---|
| 26 | |
|---|
| 27 | #wrapper { clear: both; } |
|---|
| 28 | #title { clear: none; background-color: #9DADB9; width: 100%; position: absolute; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 0px 6px; border: 0px; height: 1em; } |
|---|
| 29 | #title a { color: black; text-decoration: none; } |
|---|
| 30 | #fileWidget { width: 13em; margin-bottom: 1em; } |
|---|
| 31 | #content-container { width: 100%; margin-left: -13.5em; float: right; margin-top: 2em; z-index: 1; position: relative; } |
|---|
| 32 | #content { margin-left: 13.5em; padding-left: 30px; overflow: hidden; } |
|---|
| 33 | #sidebar { float: left; width: 13.5em; margin-top: 2em; z-index: 2; position: relative; } |
|---|
| 34 | #storageKeyContainer { margin-bottom: 1em; } |
|---|
| 35 | #directoryContainer { margin-bottom: 1em; } |
|---|
| 36 | #storageKey { width: 10em; } |
|---|
| 37 | #directory { width: 10em; } |
|---|
| 38 | #storageKey, #directory { margin-top: 0.3em; } |
|---|
| 39 | #saveButton { margin-left: 0.2em; } |
|---|
| 40 | |
|---|
| 41 | .widget { border: 2px solid #CDDDE9; } |
|---|
| 42 | .widgetTitleBar { background-color: #CDDDE9; padding-top: 0.2em; padding-bottom: 0.2em; } |
|---|
| 43 | .widgetTitleText { vertical-align: middle; font-weight: bold; font-size: 14pt; padding-left: 2px; } |
|---|
| 44 | .widgetContents { padding: 8px 5px 8px 5px; } |
|---|
| 45 | .status { position: absolute; right: 5px; padding-left: 5px; padding-right: 5px; background: red; color: white; } |
|---|
| 46 | .firebug { clear: both;} |
|---|
| 47 | </style> |
|---|
| 48 | </head> |
|---|
| 49 | |
|---|
| 50 | <body class="tundra"> |
|---|
| 51 | <div id="top"> |
|---|
| 52 | <h1 id="title"><a href="about.html" target="_new">Moxie</a></h1> |
|---|
| 53 | </div> |
|---|
| 54 | |
|---|
| 55 | <div id="wrapper"> |
|---|
| 56 | <div id="sidebar"> |
|---|
| 57 | <div id="fileWidget" class="widget"> |
|---|
| 58 | <div class="widgetTitleBar"> |
|---|
| 59 | <span class="widgetTitleText"> |
|---|
| 60 | Files |
|---|
| 61 | </span> |
|---|
| 62 | </div> |
|---|
| 63 | |
|---|
| 64 | <div class="widgetContents"> |
|---|
| 65 | <div id="storageKeyContainer"> |
|---|
| 66 | <label for="storageKey"> |
|---|
| 67 | File Name: |
|---|
| 68 | </label> |
|---|
| 69 | |
|---|
| 70 | <input type="text" id="storageKey" name="storageKey"> |
|---|
| 71 | |
|---|
| 72 | <button id="saveButton">Save</button> |
|---|
| 73 | </div> |
|---|
| 74 | |
|---|
| 75 | <div id="directoryContainer"> |
|---|
| 76 | <label for="storageKey"> |
|---|
| 77 | Load File: |
|---|
| 78 | </label> |
|---|
| 79 | |
|---|
| 80 | <select id="directory" size="1"></select> |
|---|
| 81 | </div> |
|---|
| 82 | </div> |
|---|
| 83 | </div> |
|---|
| 84 | |
|---|
| 85 | <!-- |
|---|
| 86 | Place the Dojo Offline widget here; it will be automagically |
|---|
| 87 | filled into any element with ID "dot-widget". |
|---|
| 88 | --> |
|---|
| 89 | <div id="dot-widget"></div> |
|---|
| 90 | </div> |
|---|
| 91 | |
|---|
| 92 | <div id="content-container"> |
|---|
| 93 | <div id="content"> |
|---|
| 94 | <div id="editorWidget" class="widget"> |
|---|
| 95 | <div class="widgetTitleBar"> |
|---|
| 96 | <span class="widgetTitleText"> |
|---|
| 97 | Editor |
|---|
| 98 | </span> |
|---|
| 99 | </div> |
|---|
| 100 | |
|---|
| 101 | <div class="widgetContents"> |
|---|
| 102 | <textarea id="storageValue" |
|---|
| 103 | dojoType="dijit._editor.RichText" |
|---|
| 104 | minHeight="20em" |
|---|
| 105 | styleSheets="../../../../dojo/resources/dojo.css"> |
|---|
| 106 | Click Here to Begin Editing |
|---|
| 107 | </textarea> |
|---|
| 108 | </div> |
|---|
| 109 | </div> |
|---|
| 110 | </div> |
|---|
| 111 | </div> |
|---|
| 112 | </div> |
|---|
| 113 | </body> |
|---|
| 114 | |
|---|
| 115 | </html> |
|---|