Update Styling?
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
<form class="edit-form" method="POST" action="{{.PostURL}}">
|
||||
<textarea name="content" autofocus>{{.RawContent}}</textarea>
|
||||
<div class="form-actions">
|
||||
<button class="btn-save" type="submit">Save</button>
|
||||
<a class="btn-cancel" href="{{.PostURL}}">Cancel</a>
|
||||
<a class="btn-cancel" href="{{.PostURL}}">CANCEL</a>
|
||||
<button class="btn-save" type="submit">SAVE</button>
|
||||
</div>
|
||||
</form>
|
||||
{{else}} {{if .Content}}
|
||||
@@ -38,9 +38,7 @@
|
||||
{{end}}
|
||||
</div>
|
||||
{{else if not .Content}}
|
||||
<p class="empty">
|
||||
Empty folder — <a href="?edit">create index.md</a>
|
||||
</p>
|
||||
<p class="empty">Empty folder — <a href="?edit">[CREATE]</a></p>
|
||||
{{end}} {{end}}
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user