Adding history field
This commit is contained in:
@@ -3,6 +3,17 @@
|
|||||||
Wiki editor formatting
|
Wiki editor formatting
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.jaws {
|
||||||
|
/* JAWS should see it, but you can't */
|
||||||
|
display: block;
|
||||||
|
height: 1px;
|
||||||
|
left: -5000px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
top: -5000px;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
#gollum-editor {
|
#gollum-editor {
|
||||||
border: 1px solid #e4e4e4;
|
border: 1px solid #e4e4e4;
|
||||||
background: #f9f9f9;
|
background: #f9f9f9;
|
||||||
@@ -22,9 +33,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @control title */
|
#gollum-editor-title-field input {
|
||||||
#gollum-editor-title-field {
|
font-weight: bold;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#gollum-editor-title-field.active {
|
#gollum-editor-title-field.active {
|
||||||
@@ -34,31 +44,25 @@
|
|||||||
padding: 0 0 0.5em 0;
|
padding: 0 0 0.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#gollum-editor-title-field label {
|
#gollum-editor .singleline {
|
||||||
/* JAWS should see it, but you can't */
|
|
||||||
display: block;
|
display: block;
|
||||||
height: 1px;
|
margin: 0 0 0.7em 0;
|
||||||
left: -5000px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: absolute;
|
|
||||||
top: -5000px;
|
|
||||||
width: 1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#gollum-editor-title-field input {
|
#gollum-editor .singleline input {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
font-weight: bold;
|
|
||||||
line-height: 1.8em;
|
line-height: 1.8em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
width: 40%;
|
width: 98%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#gollum-editor-title-field input.ph {
|
#gollum-editor .singleline input.ph {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="gollum-editor">
|
<div id="gollum-editor">
|
||||||
<form name="gollum-editor" action="/create/{{escaped_name}}" method="post">
|
<form name="gollum-editor" action="/create/{{escaped_name}}" method="post">
|
||||||
<div id="gollum-editor-title-field">
|
<div id="gollum-editor-title-field" class="singleline">
|
||||||
<label for="page">Page Title</label>
|
<label for="page" class="jaws">Page Title</label>
|
||||||
<input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}">
|
<input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}">
|
||||||
</div>
|
</div>
|
||||||
<div id="gollum-editor-function-bar">
|
<div id="gollum-editor-function-bar">
|
||||||
@@ -37,7 +37,13 @@
|
|||||||
<fieldset id="gollum-editor-fields">
|
<fieldset id="gollum-editor-fields">
|
||||||
<textarea id="gollum-editor-body"
|
<textarea id="gollum-editor-body"
|
||||||
data-markup-lang="markdown" name="content">{{content}}</textarea>
|
data-markup-lang="markdown" name="content">{{content}}</textarea>
|
||||||
<span class="br"><br></span>
|
|
||||||
|
<div id="gollum-editor-edit-summary" class="singleline">
|
||||||
|
<label for="message" class="jaws">Edit message:</label>
|
||||||
|
<input type="text" name="message" id="gollum-editor-message-field" value="Write a small message here explaining this change. (Optional)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="jaws"><br></span>
|
||||||
<input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes">
|
<input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user