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
72 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<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>
|
|
<div id="split">
|
|
<div id="editor" class="left">
|
|
<div class="header">
|
|
|
|
<div class="header-center">
|
|
<div id="openmenucontext">
|
|
<span class="label">write markdown</span> /
|
|
<button id="openbutton">import .docx</button>
|
|
<div id="openmenu">
|
|
<form id="dropzone" action="/cgi-bin/pandoc.cgi" class="dropzone">
|
|
<div class="fallback">
|
|
<input name="file" type="file" />
|
|
</div>
|
|
</form>
|
|
<!-- <form id="sideload" style="margin-top: 5px" action="/cgi-bin/pandoc.cgi">
|
|
<label for="importurl">Upload from URL:</label><br />
|
|
<input id="importurl" name="url" type="text" />
|
|
<input type="submit" name="_submit" value="import" />
|
|
</form> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="editortext">
|
|
</div>
|
|
</div>
|
|
<div class="hdiv"></div>
|
|
<div id="preview" class="right">
|
|
<div class="header">
|
|
<div class="header-center">
|
|
<form id="previewform" method="post" action="/cgi-bin/pandoc.cgi" target="previewiframe">
|
|
<input type="hidden" name="text" id="previewformtext" />
|
|
<input type="hidden" name="from" value="markdown" />
|
|
<select id="formatselect" name="to">
|
|
<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">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> & <a href="http://ace.c9.io/">ace</a>.
|
|
<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>
|