mirror of
https://github.com/redmine/redmine.git
synced 2026-03-04 03:21:24 +01:00
added "draft" background on wiki page preview
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@307 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<fieldset><legend><%= l(:label_preview) %></legend>
|
||||
<fieldset class="preview"><legend><%= l(:label_preview) %></legend>
|
||||
<%= textilizable @text %>
|
||||
</fieldset>
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
:method => 'get',
|
||||
:update => 'preview',
|
||||
:with => "Form.serialize('wiki_form')",
|
||||
:complete => visual_effect(:highlight, 'preview')
|
||||
:loading => "Element.show('indicator')",
|
||||
:loaded => "Element.hide('indicator')"
|
||||
} %>
|
||||
<span id="indicator" style="display:none"><%= image_tag "loading.gif", :align => "absmiddle" %></span>
|
||||
</p>
|
||||
|
||||
<% end %>
|
||||
|
||||
BIN
wiki/public/images/draft.png
Normal file
BIN
wiki/public/images/draft.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -597,4 +597,6 @@ div.wiki table {
|
||||
div.wiki table, div.wiki td {
|
||||
border: 1px solid #bbb;
|
||||
padding: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
#preview .preview { background: #fafbfc url(../images/draft.png); }
|
||||
|
||||
Reference in New Issue
Block a user