+
+
+
- {/*TODO Extract as site header container.*/}
-
+ {/*TODO Extract as site header container.*/}
+
- {/*TODO Extract as Main body and navigation sidebar containers.*/}
-
-
-
-
-
-
-
-
-
+ {/*TODO Extract as Main body and navigation sidebar containers.*/}
+
+
+
+
+
+
+
+
+
- {/*TODO Extract as site footer container.*/}
-
-
+ {/*TODO Extract as site footer container.*/}
+
+
);
}
}
diff --git a/src/entry.js b/src/entry.js
index d160ac4..5d814b0 100644
--- a/src/entry.js
+++ b/src/entry.js
@@ -24,11 +24,11 @@ const location = window.location.pathname.substring(1);
appStore.dispatch(fetchPage(location));
const RookeriesWiredApp = (
-
-
-
-
-
+
+
+
+
+
);
render(RookeriesWiredApp, document.getElementById("ui-target"));
diff --git a/src/server.js b/src/server.js
index f5ed34a..d5a8b49 100644
--- a/src/server.js
+++ b/src/server.js
@@ -24,11 +24,11 @@ export function renderReactComponentsToString() {
const context = {};
return {
bodyContent: render(h(
-
-
-
-
-
+
+
+
+
+
))
};
diff --git a/src/views/code_editor.js b/src/views/code_editor.js
index e71d213..78c897c 100644
--- a/src/views/code_editor.js
+++ b/src/views/code_editor.js
@@ -16,7 +16,7 @@ import PropTypes from "prop-types";
see issue https://github.com/JedWatson/react-codemirror/issues/34
Also add in the themes in the CSS to get proper theming support.
*/
-import CodeMirror from "react-codemirror";
+import CodeMirror from "react-codemirror2";
// TODO: Figure out how to work around this import.
// Workaround for rendering CodeMirror server-side
diff --git a/src/views/journal_markdown_viewer.js b/src/views/journal_markdown_viewer.js
index 10d5d25..bee0bed 100644
--- a/src/views/journal_markdown_viewer.js
+++ b/src/views/journal_markdown_viewer.js
@@ -146,22 +146,22 @@ export class JournalMarkdownView extends Component {
// # TODO Factor the view into something nicer.
let showEditorButton = (
-
+
);
// # TODO Add in ability to display mhessages outside the collapsible pane
let showPanel = (
-
-
-
-
-
+
+
+
+
+
);
if (this.state.editorPaneState === EditorPaneState.hidden) {
showEditorButton = (