mirror of
https://github.com/kennethreitz/curated-nodes.git
synced 2026-06-05 23:20:20 +00:00
83 lines
3.7 KiB
HTML
83 lines
3.7 KiB
HTML
<html lang="en-US"><head>
|
||
<title>Admin Edit</title>
|
||
<link href="/static/admin.css" media="screen" rel="stylesheet" type="text/css">
|
||
<link href="http://fonts.googleapis.com/css?family=Lato:300,900" rel="stylesheet" type="text/css">
|
||
<style type="text/css"></style></head>
|
||
|
||
<body class="admin posts edit" style="zoom: 1;">
|
||
<div id="admin">
|
||
<div id="save"></div>
|
||
|
||
<form accept-charset="UTF-8" action="" class="edit_post" id="edit_post_2" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
||
|
||
<div id="split">
|
||
<div id="post-editor" class="split-section">
|
||
|
||
<div id="text-title" class="expandingArea active">
|
||
<pre><span></span><br></pre>
|
||
<textarea cols="40" id="post_title" name="post[title]" placeholder="Title here" rows="1">{{ post.title }}</textarea>
|
||
</div>
|
||
<div id="text-slug" class="expandingArea active">
|
||
<pre><span></span><br></pre>
|
||
<textarea cols="40" id="post_slug" name="post[slug]" placeholder="Slug here" rows="1">{{ post.slug }}</textarea>
|
||
</div>
|
||
{% if view != 'pages' %}
|
||
<div id="text-style" class="expandingArea active">
|
||
<pre><span></span><br></pre>
|
||
<label for="post_style">#</label>
|
||
<textarea cols="40" id="post_style" name="post[style]" placeholder="Style here" rows="1">{{ post.style }}</textarea>
|
||
</div>
|
||
{% endif %}
|
||
|
||
|
||
<fieldset class="markdown">
|
||
<div id="text-content" class="expandingArea active">
|
||
<pre><span></span><br></pre>
|
||
<textarea cols="40" id="post_content" name="post[content]" placeholder="Write post here" rows="20" style="min-height: 856px;">{{ post.content }}</textarea>
|
||
</div>
|
||
</fieldset>
|
||
|
||
</div>
|
||
<div id="post-preview" class="split-section">
|
||
</div>
|
||
</div>
|
||
|
||
<div id="publish-bar-hover">
|
||
<div id="publish-bar">
|
||
<div class="contain">
|
||
<div class="left">
|
||
<a href="/admin/{{ view }}">« Admin</a>
|
||
|
||
<a href="#options" class="menu" style="display: none;">Options</a>
|
||
<ul id="options" class="sub-menu">
|
||
<li>
|
||
<label for="post_url">Slug</label>
|
||
<input id="post_slug" name="post[slug]" placeholder="Leave blank to automatically generate" size="30" type="text" value="wefwefwef">
|
||
</li>
|
||
<li>
|
||
<label for="post_url">URL</label>
|
||
<input id="post_url" name="post[url]" placeholder="Optional external link" size="30" type="text" value="">
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="right">
|
||
<label for="post_draft">Draft</label>
|
||
{% if post.draft %}
|
||
<input checked="checked" id="post_draft" name="post[draft]" type="checkbox" value="1">
|
||
{% else %}
|
||
<input name="post[draft]" id="post_draft" value="0" type="checkbox" >
|
||
{% endif %}
|
||
|
||
<input id="save-button" name="commit" type="submit" value="Save">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</form>
|
||
</div>
|
||
|
||
<div class="fit-vids-style"><style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style></div><script src="/assets/application-53a0433e8a1833caa417e2e9aa2d3009.js" type="text/javascript"></script>
|
||
|
||
</body></html> |