You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
10 years ago
<head>
<title>Hybrid Publishing Editor</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="lib/jquery-ui/jquery-ui.min.css"></script>
<link rel="stylesheet" type="text/css" href="hybrid.css">
</head>
<body>
10 years ago
<div id="split">
<div id="editor" class="left">
<div class="header">
10 years ago
<div class="header-center">
<div id="openmenucontext">
<span class="label">write markdown</span> /
<button id="openbutton">import .docx</button>
10 years ago
<div id="openmenu">
<form id="dropzone" action="/cgi-bin/hybrideditor/pandoc.cgi" class="dropzone">
10 years ago
<div class="fallback">
<input name="file" type="file" />
</div>
10 years ago
</form>
<!-- <form id="sideload" style="margin-top: 5px" action="/cgi-bin/hybrideditor/pandoc.cgi">
10 years ago
<label for="importurl">Upload from URL:</label><br />
<input id="importurl" name="url" type="text" />
<input type="submit" name="_submit" value="import" />
</form> -->
</div>
10 years ago
</div>
</div>
10 years ago
</div>
<div id="editortext">
</div>
</div>
10 years ago
<div class="hdiv"></div>
<div id="preview" class="right">
<div class="header">
<div class="header-center">
<form id="previewform" method="post" action="/cgi-bin/hybrideditor/pandoc.cgi" target="previewiframe">
10 years ago
<input type="hidden" name="text" id="previewformtext" />
<input type="hidden" name="from" value="markdown" />
<select id="formatselect" name="to" onchange="this.form.submit()">
10 years ago
<option value="html">HTML</option>
<option value="plain">Plain text</option>
<option value="icml">ICML (InDesign)</option>
<option value="markdown">Markdown</option>
</select>
<input type="submit" name="_submit" value="show"/>
<input type="submit" name="_submit" value="download"/>
</form>
</div>
</div>
<div class="iframe"><iframe name="previewiframe"></iframe></div>
</div>
</div>
<div id="footer"><a href="https://github.com/DigitalPublishingToolkit/hybrideditor">Hybrid Publishing Editor</a> is <a href="http://www.gnu.org/copyleft/gpl.html">free software</a> based on <a href="http://daringfireball.net/projects/markdown/">markdown</a>, <a href="http://johnmacfarlane.net/pandoc/">pandoc</a> &amp; <a href="http://ace.c9.io/">ace</a>.
10 years ago
<a href="http://networkcultures.org/digitalpublishing/"><img src="imgs/logo_horiz.jpg" class="logo" alt="" ></a>
</div>
</body>
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery-ui/jquery-ui.min.js"></script>
<script src="lib/ace-builds/src/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/frames.js"></script>
<script src="lib/dropzone/dropzone.js"></script>
<script src="hybrid.js"></script>
</html>