mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-06 10:00:26 +00:00
Improve appearance of edit message field
This commit is contained in:
parent
0ffc1a05fe
commit
bf4a15b61d
@ -110,8 +110,10 @@ textarea {font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;
|
||||
.edit { min-height: 80vh; }
|
||||
.edit__title { margin-top: 0; }
|
||||
.edit__preview { border: 2px dashed #ddd; }
|
||||
.edit-form {height:70vh;}
|
||||
.edit-form textarea {width:100%;height:calc(100% - 6rem);}
|
||||
.edit-form { height: calc(100vh - 12rem); }
|
||||
.edit-form__textarea {width:100%;height:calc(100% - 8rem);}
|
||||
.edit-form label { font-style: italic; }
|
||||
.edit-form__message { width: 100%; margin: 0.25em 0; }
|
||||
.edit-form__save { font-weight: bold; }
|
||||
.edit-toolbar__buttons, .edit-toolbar__ad { margin: .5rem; }
|
||||
|
||||
|
@ -78,8 +78,8 @@
|
||||
action="/upload-text/{%s hyphaName %}">
|
||||
<textarea name="text" class="edit-form__textarea" autofocus>{%s textAreaFill %}</textarea>
|
||||
<br/><br/>
|
||||
<label for="text">Edit description:</label>
|
||||
<input id="text" type="text" name="message" class="edit-form__message">
|
||||
<label for="text">Describe your changes:</label><br>
|
||||
<input id="text" type="text" name="message" class="edit-form__message" placeholder="(optional)">
|
||||
<br/><br/>
|
||||
<input type="submit" name="action" value="Save" class="edit-form__save"/>
|
||||
<input type="submit" name="action" value="Preview" class="edit-form__preview">
|
||||
|
@ -205,13 +205,13 @@ func StreamEditHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, text
|
||||
//line views/mutators.qtpl:79
|
||||
qw422016.N().S(`</textarea>
|
||||
<br/><br/>
|
||||
<label for="text">Edit description:</label>
|
||||
<input id="text" type="text" name="message" class="edit-form__message">
|
||||
<label for="text">Describe your changes:</label><br>
|
||||
<input id="text" type="text" name="message" class="edit-form__message" placeholder="(optional)">
|
||||
<br/><br/>
|
||||
<input type="submit" name="action" value="Save" class="edit-form__save"/>
|
||||
<input type="submit" name="action" value="Preview" class="edit-form__preview">
|
||||
<a href="/hypha/`)
|
||||
//line views/mutators.qtpl:83
|
||||
//line views/mutators.qtpl:86
|
||||
qw422016.E().S(hyphaName)
|
||||
//line views/mutators.qtpl:86
|
||||
qw422016.N().S(`" class="edit-form__cancel">Cancel</a>
|
||||
@ -301,7 +301,7 @@ func StreamPreviewHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, t
|
||||
<input type="submit" name="action" value="Save" class="edit-form__save"/>
|
||||
<input type="submit" name="action" value="Preview" class="edit-form__preview">
|
||||
<a href="/hypha/`)
|
||||
//line views/mutators.qtpl:103
|
||||
//line views/mutators.qtpl:109
|
||||
qw422016.E().S(hyphaName)
|
||||
//line views/mutators.qtpl:109
|
||||
qw422016.N().S(`" class="edit-form__cancel">Cancel</a>
|
||||
|
Loading…
Reference in New Issue
Block a user