Commit f406048006fa941e6f7add786323db83a2cd1d8f
1 parent
98b93583
Exists in
master
and in
28 other branches
ActionItem0: gave up on not changing comatose templates
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@361 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
10 changed files
with
360 additions
and
130 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,87 @@ |
| 1 | +<%= error_messages_for :page %> | |
| 2 | + | |
| 3 | +<% form_for :page, @page do |f| %> | |
| 4 | + | |
| 5 | + <div class='comatose_field'> | |
| 6 | + <label for="page_title">Title</label> | |
| 7 | + <%= f.text_field :title, :tabindex => 1, :maxlength => 255, :size => 30 %> <%= link_to_function "More...", "ComatoseEditForm.toggle_extra_fields(this)", :id => 'more-options' %> | |
| 8 | + </div> | |
| 9 | + | |
| 10 | + <div class='comatose_field' id='slug_row'> | |
| 11 | + <label for="page_slug">Slug</label> | |
| 12 | + <%= f.text_field :slug, :tabindex=>6, :maxlength=>255, :size=>50, :disabled=>@root_pages.include?(@page) %> | |
| 13 | + </div> | |
| 14 | + | |
| 15 | + <div class='comatose_field' id='keywords_row'> | |
| 16 | + <% if show_field? 'keywords' %> | |
| 17 | + <label for="page_keywords">Keywords</label> | |
| 18 | + <%= f.text_field :keywords, :tabindex=>7, :maxlength=>1000, :size=>50 %> | |
| 19 | + <% end %> | |
| 20 | + </div> | |
| 21 | + | |
| 22 | + <div class='comatose_field' id='parent_row'> | |
| 23 | + <% if show_field? 'parent' %> | |
| 24 | + <label for="page_parent">Parent</label> | |
| 25 | + <% if mode != :new and @root_pages.include? @page %> | |
| 26 | + <select id="page_parent" disabled="true"><option><%= @page.title %> is a root page</option></select> | |
| 27 | + <% else %> | |
| 28 | + <select id="page_parent" name="page[parent_id]" tabindex="8"><%= tree_select_box @root_pages, @page.parent_id, @page.id %></select> | |
| 29 | + <% end %> | |
| 30 | + <% end %> | |
| 31 | + </div> | |
| 32 | + | |
| 33 | + <div class='comatose_field'> | |
| 34 | + <label for="page_body">Body</label> | |
| 35 | + <%= f.text_area :body, :rows => 14, :tabindex => 2 %> | |
| 36 | + </div> | |
| 37 | + | |
| 38 | + <div class='comatose_field' id='filter_row'> | |
| 39 | + <% if show_field? 'filter' %> | |
| 40 | + <label for="page_filter_type">Filter</label> | |
| 41 | + <%= select_tag 'page[filter_type]', options_for_select(TextFilters.all_titles.sort, @page.filter_type || Comatose.config.default_filter), :tabindex=>3, :id=>'page_filter_type' %> | |
| 42 | + <span class="field-help">Converts plain text into html</span> | |
| 43 | + <% end %> | |
| 44 | + </div> | |
| 45 | + | |
| 46 | + <div class='comatose_field' id='created_row'> | |
| 47 | + <% if show_field? 'created_on' %> | |
| 48 | + <label for="page_created_on">Created</label> | |
| 49 | + <%= f.datetime_select :created_on %> | |
| 50 | + <% end %> | |
| 51 | + </div> | |
| 52 | + | |
| 53 | +<div id="button-group"> | |
| 54 | +<% unless @page.updated_on.nil? %> | |
| 55 | + <div class="last-update"> | |
| 56 | + <label> | |
| 57 | + Updated <%= time_ago_in_words @page.updated_on, true %> ago by | |
| 58 | + <%= @page.author %>. | |
| 59 | + <%= link_to(pluralize(@page.versions.length, 'revision', 'revisions'), :action=>'versions', :id=>@page) if @page.versions.length > 0 %> | |
| 60 | + </label> | |
| 61 | + </div> | |
| 62 | +<% end %> | |
| 63 | +<%= image_tag 'comatose/spinner.gif', :id=>'spinner', :align=>'absmiddle', :style=>'display:none;' %> | |
| 64 | + <%= button_to_function('Preview', "ComatoseEditForm.preview_content('#{url_for :controller=>controller.controller_name, :action=>'preview', :id=>@page}')", :tabindex=>3, :id=>'preview-btn' ) if show_field? 'preview' %> | |
| 65 | + <%= submit_tag ((mode == :edit) ? 'Save Changes' : 'Create Page'), :tabindex=>4 %> | |
| 66 | + <% if @page.versions.length > 0 %> | |
| 67 | + <%= link_to "Revert", :action=>'versions', :id=>@page %> | |
| 68 | + <% end %> | |
| 69 | + or | |
| 70 | + <a href="<%= url_for :controller=>controller.controller_name, :action=>'index' %>" onlick="ComatoseEditForm.cancel(this.href); return false;" tabindex="5">Cancel</a> | |
| 71 | +</div> | |
| 72 | +<% end %> | |
| 73 | + | |
| 74 | +<div id="preview-area" style='display: none;'> | |
| 75 | + <fieldset> | |
| 76 | + <legend>Page Preview</legend> | |
| 77 | + <div class="preview-body"> | |
| 78 | + <div id="preview-panel"><span style='color:blue;'>Loading Preview...</span></div> | |
| 79 | + <div style="clear:both"></div> | |
| 80 | + </div> | |
| 81 | + </fieldset> | |
| 82 | + <div class="commands"> | |
| 83 | + <a href="#" onclick="$('preview-area').hide();">Close Preview</a> or <a href="#">Back to top</a> | |
| 84 | + </div> | |
| 85 | +</div> | |
| 86 | + | |
| 87 | +<%= javascript_tag "ComatoseEditForm.init('#{mode.to_s}');" %> | ... | ... |
| ... | ... | @@ -0,0 +1,60 @@ |
| 1 | +<%# Params: | |
| 2 | +# - page (Page Node) | |
| 3 | +# - level (integer indicating current tree depth) | |
| 4 | +# Called From: | |
| 5 | +# - index | |
| 6 | +# Description: | |
| 7 | +# This partial is used recursively. Render it with the root node, and it will recurse | |
| 8 | +# down all of the child nodes to build a list with proper indentation to indicate | |
| 9 | +# tree depth. | |
| 10 | +%> | |
| 11 | + | |
| 12 | +<% | |
| 13 | +# Create the page-level links... | |
| 14 | +links = [] | |
| 15 | +links << link_to(pluralize(page.versions.length, 'revision', 'revisions'), :action=>'versions', :id=>page) if page.versions.length > 0 | |
| 16 | +links << link_to('add child page', {:action=>'new', :parent=>page}, :title=>"Add a child to '#{page.title}'", :class=>'add-page') | |
| 17 | +links << link_to_function('reorder children', "ComatoseList.toggle_reorder('page_list_#{page.id}',this,#{page.id})", :title=>"Reorder children of '#{page.title}'", :class=>'reorder-children', :href=>url_for(:action=>'reorder', :id=>page)) if !page.children.empty? and page.children.length > 1 | |
| 18 | +links << link_to('delete', {:action=>'delete', :id=>page}, :confirm=>'This will delete this page, and any children. Are you sure?', :title=>"Delete page '#{page.title}' and all it's children", :class=>'delete-page', :method=>'post', :onmouseover=>"ComatoseList.item_hover('page_#{page.id}', 'over', true)", :onmouseout=>"ComatoseList.item_hover('page_#{page.id}', 'out', true)") unless @root_pages.include? page | |
| 19 | +# Level check, one, two, three... | |
| 20 | +collapse_children = (level >= Comatose.config.default_tree_level) | |
| 21 | +%> | |
| 22 | + | |
| 23 | +<li id="page_<%= page.id %>"> | |
| 24 | + <table cellpadding="0" cellspacing="0"> | |
| 25 | + <tr> | |
| 26 | + <td rowspan="2" valign="center"> | |
| 27 | + <% if !page.children.empty? %> | |
| 28 | + <%= image_tag( ((collapse_children) ? 'comatose/collapsed.gif' : 'comatose/expanded.gif'), :title=>'Expand/Collapse', :onclick=>"ComatoseList.toggle_tree_nodes(this,#{page.id});", :class=>'tree-controller', :size=>'12x12', :id=>"page_controller_#{page.id}" ) %> | |
| 29 | + <% else %> | |
| 30 | + <%= image_tag 'comatose/no-children.gif', :size=>'12x12', :class=>'tree-controller' %> | |
| 31 | + <% end %> | |
| 32 | + </td> | |
| 33 | + <td rowspan="2" valign="center"> | |
| 34 | + <%= image_tag 'comatose/page.gif', :size=>'25x31', :align=>"absmiddle" %> | |
| 35 | + <span class="handle">DRAG</span> | |
| 36 | + </td> | |
| 37 | + <td> | |
| 38 | + <%= link_to page.title, {:action=>'edit', :id=>page}, :title=>"Path:#{page.full_path}", :class=>'page' %> | |
| 39 | + </td> | |
| 40 | + </tr> | |
| 41 | + <tr> | |
| 42 | + <td class="commands"> | |
| 43 | + Updated <span title="Created on <%= page.created_on %>"><%= time_ago_in_words page.updated_on, true %> ago</span><%= " by #{page.author}" unless page.author.nil? or page.author.empty? %>, | |
| 44 | + <%= links.join(', ') %>. | |
| 45 | + </td> | |
| 46 | + </tr> | |
| 47 | + </table> | |
| 48 | + | |
| 49 | + <ul id="page_list_<%= page.id %>" old="lvl-<%= page.id %>" class="page-list <%= 'collapsed' if collapse_children %>" > | |
| 50 | + <% for child in page.children %> | |
| 51 | + <%= render :partial=>'page_list_item', :locals=>{ :page=>child, :level=>level+1 } %> | |
| 52 | + <% end %> | |
| 53 | + </ul> | |
| 54 | + | |
| 55 | + <%= sortable_element( "page_list_#{page.id}", | |
| 56 | + :complete => visual_effect(:highlight, "page_list_#{page.id}"), | |
| 57 | + :handle=>'handle', | |
| 58 | + :update=>'flash-content', | |
| 59 | + :url => { :action => "reorder", :id=>page } ) if !page.children.empty? and page.children.length > 1 %> | |
| 60 | +</li> | ... | ... |
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +<h1> | |
| 2 | + Page Delete Confirmation | |
| 3 | +</h1> | |
| 4 | + | |
| 5 | +<blockquote> | |
| 6 | + <p>Are you sure you want to delete the page titled "<b><%= @page.title %></b>"?</p> | |
| 7 | +<% unless @page.children.empty? %> | |
| 8 | + <p>It has <b><%= @page.children.length %></b> child pages that will also be deleted...</p> | |
| 9 | +<% end %> | |
| 10 | +</blockquote> | |
| 11 | + | |
| 12 | +<%= start_form_tag %> | |
| 13 | +<div id="button-group"> | |
| 14 | + <%= submit_tag "Yes, Delete The Page" %> | |
| 15 | + or | |
| 16 | + <%= link_to "Cancel", :action=>'index' %> | |
| 17 | +</div> | |
| 18 | +<%= end_form_tag %> | ... | ... |
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +<div class="action"> | |
| 2 | + <%= link_to 'Clear Page Cache', :controller=>controller.controller_name, :action=>'expire_page_cache' %> | |
| 3 | +</div> | |
| 4 | + | |
| 5 | +<h1> | |
| 6 | + Page List | |
| 7 | + <%= image_tag 'comatose/spinner.gif', :id=>'spinner', :align=>'absmiddle', :style=>'display:none;' %> | |
| 8 | +</h1> | |
| 9 | + | |
| 10 | +<ul class="page-list root"> | |
| 11 | +<% @root_pages.each do |page| %> | |
| 12 | + <%= render :partial=>'page_list_item', :locals=>{ :page=>page, :level=>1 } %> | |
| 13 | +<% end %> | |
| 14 | +</ul> | |
| 15 | + | |
| 16 | +<div id="status"></div> | |
| 17 | + | |
| 18 | +<%= javascript_tag "ComatoseList.init()" %> | ... | ... |
| ... | ... | @@ -0,0 +1,30 @@ |
| 1 | +<h1>Reorder Pages</h1> | |
| 2 | + | |
| 3 | +<h3>"<%= @page.title %>" child pages:</h3> | |
| 4 | + | |
| 5 | +<ul class="page-list"> | |
| 6 | +<% @page.children.each do |page| %> | |
| 7 | + <li> | |
| 8 | + <table cellpadding="0" cellspacing="0"> | |
| 9 | + <tr> | |
| 10 | + <td rowspan="2" valign="center"> | |
| 11 | + <%= image_tag 'comatose/page.gif', :size=>'25x31', :align=>"absmiddle" %> | |
| 12 | + </td> | |
| 13 | + <td> | |
| 14 | + <a class="page"><%= page.title %></a> | |
| 15 | + </td> | |
| 16 | + </tr> | |
| 17 | + <tr> | |
| 18 | + <td class="commands"> | |
| 19 | + <%= link_to "Move Up", :action=>'reorder', :cmd=>'up', :page=>page.id %>, | |
| 20 | + <%= link_to "Move Down", :action=>'reorder', :cmd=>'down', :page=>page.id %> | |
| 21 | + </td> | |
| 22 | + </tr> | |
| 23 | + </table> | |
| 24 | + </li> | |
| 25 | +<% end %> | |
| 26 | +</ul> | |
| 27 | + | |
| 28 | +<div id="button-group"> | |
| 29 | + <%= link_to "Finished", :action=>'index' %> | |
| 30 | +</div> | |
| 0 | 31 | \ No newline at end of file | ... | ... |
| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | +<h1>Page Revisions</h1> | |
| 2 | +<form> | |
| 3 | +<div class="revisions older-content"> | |
| 4 | + <div class="header"> | |
| 5 | + <div class="header-actions"> | |
| 6 | + <% form_tag :action => 'versions', :id => @page, :html => { :method => :get } do %> | |
| 7 | + View Version: <%= select_tag "version", options_from_collection_for_select(@page.versions, 'version', 'version', @version_num), {'onchange'=>'this.form.submit();'} %> | |
| 8 | + <%= submit_tag 'Go', {'id'=>'go-btn'} %> | |
| 9 | + <% end %> | |
| 10 | + </div> | |
| 11 | + Version <%= @version_num %> | |
| 12 | + </div> | |
| 13 | + <div class="meta"> | |
| 14 | + <label class="title"><span>Title:</span><%= @version.title %></label> | |
| 15 | + <label><span>Slug:</span> <%= @version.slug %></label> | |
| 16 | + <label><span>Keywords:</span> <%= @version.keywords %></label> | |
| 17 | + </div> | |
| 18 | + <%= @version.body.split("\n").join('<br/>') unless @version.body.nil? %> | |
| 19 | + <div id="button-group" class="footer"> | |
| 20 | + <% form_tag :action=>'set_version', :id => @page, :version => @version_num do %> | |
| 21 | + <%= submit_tag "Set As Current Version" %> | |
| 22 | + or | |
| 23 | + <%= link_to "Cancel", :action=>'index' %> | |
| 24 | + <% end %> | |
| 25 | + </div> | |
| 26 | +</div> | |
| 27 | + | |
| 28 | +<div class="revisions current-content"> | |
| 29 | + <div class="header"> | |
| 30 | + Current Version | |
| 31 | + </div> | |
| 32 | + <div class="meta"> | |
| 33 | + <label class="title"><span>Title:</span><%= @page.title %></label> | |
| 34 | + <label><span>Slug:</span> <%= @page.slug %></label> | |
| 35 | + <label><span>Keywords:</span> <%= @page.keywords %></label> | |
| 36 | + </div> | |
| 37 | + <%= @page.body.split("\n").join('<br/>') unless @page.body.nil? %> | |
| 38 | +</div> | |
| 39 | + | |
| 40 | +<div style="clear:both"> </div> | ... | ... |
app/views/layouts/application.rhtml
| 1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| 2 | - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 3 | -<html class="noscript" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| 1 | +<html> | |
| 4 | 2 | <head> |
| 5 | - <meta http-equiv="Content-Type" content="text/html; charset=<%= Comatose.config.content_type %>"/> | |
| 6 | - <title>Comatose Admin</title> | |
| 7 | - <%= stylesheet_link_tag 'comatose_admin' %> | |
| 8 | 3 | <%= javascript_include_tag :defaults %> |
| 4 | + <%= stylesheet_link_tag 'common' %> | |
| 5 | + <%= design_all_header_tags %> | |
| 9 | 6 | <%= javascript_include_tag 'comatose_admin' %> |
| 7 | + <% if params[:controller] == 'comatose_admin' %> | |
| 8 | + <%= stylesheet_link_tag 'comatose_admin' %> | |
| 9 | + <% end %> | |
| 10 | + | |
| 10 | 11 | </head> |
| 12 | + | |
| 11 | 13 | <body> |
| 12 | - <div id="page-container"> | |
| 13 | - <div id="header"> | |
| 14 | - <h1><%= link_to Comatose.config.admin_title, :controller=>controller.controller_name, :action=>'index' %></h1> | |
| 15 | - <div id="flash"> | |
| 16 | - <span id="flash-content"><%= flash[:notice] %></span> | |
| 14 | + <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %> | |
| 15 | + <div id="wrap"> | |
| 16 | + <div id="frame"> | |
| 17 | + <div id="menu"> | |
| 18 | + <%= _('Skip to:') %> | |
| 19 | + <a href="#main_content"><%= _('Content') %></a> | | |
| 20 | + <a href="#sidebar"><%= _('Navigation') %></a> | | |
| 21 | + <a href="#footer"><%= _('Footer') %></a> | |
| 22 | + </div> | |
| 23 | + | |
| 24 | + <div id="header"> | |
| 25 | + <%= header %> | |
| 26 | + </div> | |
| 27 | + | |
| 28 | + <% unless flash[:notice].nil? %> | |
| 29 | + <div id='notice'> | |
| 30 | + <%= flash[:notice] %> | |
| 31 | + </div> | |
| 32 | + <% end %> | |
| 33 | + | |
| 34 | + <div id='content'> | |
| 35 | + <!-- <a name='main_content'/></a> --> | |
| 36 | + <div id='header_content'> | |
| 37 | + <!-- Aqui entra um conteudo tipo o titulo da pagina do usuário e os botoes do comatose? --> | |
| 38 | + </div> | |
| 39 | + <% if params[:controller] == 'comatose_admin' %> | |
| 40 | + <div id='boxes'> | |
| 41 | + <%= yield %> | |
| 42 | + </div> | |
| 43 | + <% else %> | |
| 44 | + <%= design_display(yield) %> | |
| 45 | + <% end %> | |
| 46 | + </div> | |
| 47 | + | |
| 48 | + <div id="footer"> | |
| 49 | + <!-- <a name='footer'/></a> --> | |
| 50 | + <%= footer %> | |
| 51 | + <%= design_display_icon('back', _('Back') , :action => 'list')%> | |
| 17 | 52 | </div> |
| 18 | - <h5><%= Comatose.config.admin_sub_title %></h5> | |
| 19 | - </div> | |
| 20 | - <div id="content"> | |
| 21 | - <%= yield %> | |
| 22 | - </div> | |
| 23 | - <div id="footer"> | |
| 24 | - Powered by <a href="http://comatose.rubyforge.org" target="_new_window">Comatose <%= Comatose::VERSION %></a>, created by <a href="http://www.mattmccray.com" target="_new_window">M@ McCray</a>. | |
| 25 | 53 | </div> |
| 26 | 54 | </div> |
| 55 | + | |
| 27 | 56 | </body> |
| 57 | + | |
| 28 | 58 | </html> | ... | ... |
public/stylesheets/comatose_admin.css
| 1 | -BODY { | |
| 2 | - background: #DDD; | |
| 3 | - margin: 0px 100px; | |
| 4 | - padding: 0px; | |
| 5 | - font-family: "Lucida Grande", Tahoma, Verdana, Arial, Sans-Serif; | |
| 6 | - font-size: 12px; | |
| 7 | - min-width: 450px; | |
| 8 | -} | |
| 9 | -/* General Layout and Header Area */ | |
| 10 | -#page-container { | |
| 11 | - margin: 0px; | |
| 12 | - padding: 0px; | |
| 13 | -} | |
| 14 | -#header { | |
| 15 | - background: #0053C2; | |
| 16 | - padding: 5px; | |
| 17 | - border-bottom: 4px solid #00398B; | |
| 18 | -} | |
| 19 | -#header A { | |
| 20 | - text-decoration: none; | |
| 21 | - color: white; | |
| 22 | -} | |
| 23 | -#header A:hover { | |
| 24 | - color: white; | |
| 25 | -} | |
| 26 | -#header h1 { | |
| 27 | - margin: 0px; | |
| 28 | - padding: 0px; | |
| 29 | - padding-left: 10px; | |
| 30 | -} | |
| 31 | -#header h5 { | |
| 32 | - margin: 0px; | |
| 33 | - padding: 0px; | |
| 34 | - padding-left: 15px; | |
| 35 | - color: silver; | |
| 36 | -} | |
| 37 | -#header #flash { | |
| 38 | - float: right; | |
| 39 | - color: #4BA8FF; | |
| 40 | - font-weight: bold; | |
| 41 | - margin-right: 5px; | |
| 42 | -} | |
| 43 | -/* Content Area */ | |
| 44 | -#content { | |
| 45 | - padding: 15px; | |
| 46 | - background: white; | |
| 47 | - border-left: 1px solid silver; | |
| 48 | - border-right: 1px solid silver; | |
| 49 | -} | |
| 50 | -#content h1 { | |
| 51 | - margin: 0px; | |
| 52 | - padding: 0px; | |
| 53 | - font-size: 135%; | |
| 54 | - color: gray; | |
| 55 | -} | |
| 56 | -#content .action { | |
| 57 | - float: right; | |
| 58 | - color: gray; | |
| 59 | -} | |
| 60 | -#content .action A { | |
| 61 | - font-weight: bold; | |
| 62 | - text-decoration: none; | |
| 63 | - color: darkgreen; | |
| 64 | - border-bottom: 1px solid black; | |
| 65 | -} | |
| 66 | -#content .action A:hover { | |
| 67 | - color: red; | |
| 68 | - border-bottom: 1px solid red; | |
| 69 | -} | |
| 70 | -#content .page-header { | |
| 71 | - color: gray; | |
| 72 | -} | |
| 73 | 1 | |
| 74 | 2 | /* Page Listing */ |
| 75 | 3 | #content .tree-controller { |
| ... | ... | @@ -87,10 +15,10 @@ BODY { |
| 87 | 15 | display: none; |
| 88 | 16 | } |
| 89 | 17 | #content .page-list { |
| 90 | - background: white; | |
| 18 | + /* background: white; */ | |
| 91 | 19 | clear: both; |
| 92 | 20 | list-style: none; |
| 93 | - border-left: 0px dotted silver; | |
| 21 | + border-left: none; | |
| 94 | 22 | margin: 0px; |
| 95 | 23 | padding: 0px; |
| 96 | 24 | padding-left: 15px; |
| ... | ... | @@ -107,30 +35,29 @@ BODY { |
| 107 | 35 | #content .page-list .commands { |
| 108 | 36 | font-size: 90%; |
| 109 | 37 | padding-left: 5px; |
| 110 | - color: silver; | |
| 111 | 38 | } |
| 112 | 39 | #content .page-list .commands A { |
| 113 | - color: gray; | |
| 40 | + /* color: gray; */ | |
| 114 | 41 | } |
| 115 | 42 | #content .page-list .commands A.add-page:hover { |
| 116 | - color: blue; | |
| 43 | + /* color: blue; */ | |
| 117 | 44 | } |
| 118 | 45 | #content .page-list .commands A.reorder-children:hover { |
| 119 | - color: black; | |
| 46 | +/* color: black; */ | |
| 120 | 47 | } |
| 121 | 48 | #content .page-list .commands A.delete-page:hover { |
| 122 | - color: white; | |
| 49 | +/* color: white; */ | |
| 123 | 50 | } |
| 124 | 51 | #content .page-list .commands A.reordering { |
| 125 | - background: navy; | |
| 126 | - color: white; | |
| 52 | +/* background: navy; */ | |
| 53 | +/* color: white; */ | |
| 127 | 54 | } |
| 128 | 55 | #content .page-list .commands A.reordering:hover { |
| 129 | - color: white; | |
| 56 | +/* color: white; */ | |
| 130 | 57 | } |
| 131 | 58 | #content .page-list A.page { |
| 132 | 59 | text-decoration: none; |
| 133 | - color: black; | |
| 60 | +/* color: black; */ | |
| 134 | 61 | margin-left: 3px; |
| 135 | 62 | font-size: 150%; |
| 136 | 63 | display: block; |
| ... | ... | @@ -144,29 +71,29 @@ BODY { |
| 144 | 71 | } |
| 145 | 72 | |
| 146 | 73 | #content .page-list .hover { |
| 147 | - background: #F1F0DB; | |
| 74 | +/* background: #F1F0DB; */ | |
| 148 | 75 | } |
| 149 | 76 | #content .page-list .hover-delete { |
| 150 | 77 | background: red; |
| 151 | - color: #FF8E90; | |
| 78 | +/* color: #FF8E90; */ | |
| 152 | 79 | } |
| 153 | 80 | #content .page-list .hover-delete A, |
| 154 | 81 | #content .page-list .hover-delete .commands A { |
| 155 | - color: #FF8E90; | |
| 82 | +/* color: #FF8E90; */ | |
| 156 | 83 | } |
| 157 | 84 | #content .page-list .hover-delete A.page { |
| 158 | - color: white; | |
| 85 | +/* color: white; */ | |
| 159 | 86 | border-bottom: 0px; |
| 160 | 87 | } |
| 161 | 88 | #content .page-list .hover-delete UL LI A.page { |
| 162 | - color: red; | |
| 89 | +/* color: red; */ | |
| 163 | 90 | border-bottom: 0px; |
| 164 | 91 | } |
| 165 | 92 | |
| 166 | 93 | #content .do-reorder LI .handle { |
| 167 | 94 | display: inline; |
| 168 | - background: gray; | |
| 169 | - color: white; | |
| 95 | +/* background: gray; */ | |
| 96 | +/* color: white; */ | |
| 170 | 97 | padding: 1px 3px; |
| 171 | 98 | cursor: move; |
| 172 | 99 | } |
| ... | ... | @@ -181,10 +108,10 @@ BODY { |
| 181 | 108 | } |
| 182 | 109 | #content .page-form LABEL { |
| 183 | 110 | font-weight: bold; |
| 184 | - color: #555; | |
| 111 | +/* color: #555; */ | |
| 185 | 112 | } |
| 186 | 113 | #content .page-form .meta-info LABEL { |
| 187 | - color: #999 !important; | |
| 114 | +/* color: #999 !important; */ | |
| 188 | 115 | } |
| 189 | 116 | #content .page-form .label { |
| 190 | 117 | padding-top: 5px; |
| ... | ... | @@ -200,28 +127,29 @@ BODY { |
| 200 | 127 | padding-top: 5px; |
| 201 | 128 | } |
| 202 | 129 | #content .page-form .field-help { |
| 203 | - color: gray; | |
| 130 | +/* color: gray; */ | |
| 204 | 131 | } |
| 205 | 132 | #content .page-form #page_title { |
| 206 | 133 | font-size: 125%; |
| 207 | 134 | font-weight: bold; |
| 208 | 135 | } |
| 209 | 136 | #content .page-form #page_slug { |
| 210 | - color: gray; | |
| 137 | +/* color: gray; */ | |
| 211 | 138 | } |
| 212 | 139 | #content .page-form #page_body { |
| 213 | 140 | font-family: monospace; |
| 214 | 141 | font-size: 110%; |
| 215 | 142 | } |
| 143 | + | |
| 216 | 144 | #content #button-group { |
| 217 | 145 | padding: 10px; |
| 218 | 146 | text-align: right; |
| 219 | - background-color: #EAEAEA; | |
| 147 | +/* background-color: #EAEAEA; */ | |
| 220 | 148 | margin-top: 10px; |
| 221 | 149 | } |
| 222 | 150 | #content #button-group .last-update { |
| 223 | 151 | float: left; |
| 224 | - color: gray; | |
| 152 | +/* color: gray; */ | |
| 225 | 153 | padding-top: 4px; |
| 226 | 154 | font-weight: bold; |
| 227 | 155 | } |
| ... | ... | @@ -229,19 +157,20 @@ BODY { |
| 229 | 157 | font-weight: normal; |
| 230 | 158 | } |
| 231 | 159 | #content #button-group .last-update A { |
| 232 | - color: gray; | |
| 160 | +/* color: gray; */ | |
| 233 | 161 | } |
| 234 | 162 | #content #button-group A { |
| 235 | - color: maroon; | |
| 163 | +/* color: maroon; */ | |
| 236 | 164 | } |
| 237 | 165 | #content #button-group A:hover { |
| 238 | - color: red; | |
| 166 | +/* color: red; */ | |
| 239 | 167 | } |
| 168 | + | |
| 240 | 169 | #content #preview-area { |
| 241 | 170 | margin-top: 10px; |
| 242 | 171 | } |
| 243 | 172 | #content #preview-area FIELDSET { |
| 244 | - border: 1px solid silver; | |
| 173 | +/* border: 1px solid silver; */ | |
| 245 | 174 | } |
| 246 | 175 | #content #preview-area LEGEND { |
| 247 | 176 | font-size: 125%; |
| ... | ... | @@ -250,18 +179,18 @@ BODY { |
| 250 | 179 | padding: 10px; |
| 251 | 180 | } |
| 252 | 181 | #content #preview-area .preview-note { |
| 253 | - background: #FFFFD9; | |
| 182 | +/* background: #FFFFD9; */ | |
| 254 | 183 | padding: 15px; |
| 255 | 184 | } |
| 256 | 185 | #content #preview-area .commands { |
| 257 | 186 | text-align: right; |
| 258 | - color: gray; | |
| 187 | +/* color: gray; */ | |
| 259 | 188 | } |
| 260 | -#content #preview-area .commands A{ | |
| 261 | - color: gray; | |
| 189 | +#content #preview-area .commands A { | |
| 190 | +/* color: gray; */ | |
| 262 | 191 | } |
| 263 | -#content #preview-area .commands A:hover{ | |
| 264 | - color: black; | |
| 192 | +#content #preview-area .commands A:hover { | |
| 193 | +/* color: black; */ | |
| 265 | 194 | } |
| 266 | 195 | #content .revisions { |
| 267 | 196 | padding: 10px; |
| ... | ... | @@ -270,16 +199,16 @@ BODY { |
| 270 | 199 | #content .current-content { |
| 271 | 200 | } |
| 272 | 201 | #content .older-content { |
| 273 | - background: #E9E9E9; | |
| 202 | +/* background: #E9E9E9; */ | |
| 274 | 203 | float: right; |
| 275 | 204 | } |
| 276 | 205 | |
| 277 | 206 | #content .revisions label { |
| 278 | 207 | display: block; |
| 279 | - color: #000; | |
| 208 | +/* color: #000; */ | |
| 280 | 209 | } |
| 281 | 210 | #content .revisions label span { |
| 282 | - color: #999; | |
| 211 | +/* color: #999; */ | |
| 283 | 212 | font-weight: normal !important; |
| 284 | 213 | } |
| 285 | 214 | #content .revisions .title { |
| ... | ... | @@ -295,7 +224,7 @@ BODY { |
| 295 | 224 | float: right; |
| 296 | 225 | font-size: 90%; |
| 297 | 226 | font-weight: normal; |
| 298 | - color: #999; | |
| 227 | +/* color: #999; */ | |
| 299 | 228 | } |
| 300 | 229 | #content .revisions .meta { |
| 301 | 230 | margin-bottom: 15px; |
| ... | ... | @@ -310,14 +239,14 @@ BODY { |
| 310 | 239 | /* Errors */ |
| 311 | 240 | #errorExplanation { |
| 312 | 241 | border: 1px solid red; |
| 313 | - background: #FFEAEB; | |
| 242 | +/* background: #FFEAEB; */ | |
| 314 | 243 | padding: 10px; |
| 315 | 244 | margin-top: 10px; |
| 316 | 245 | } |
| 317 | 246 | #errorExplanation h2 { |
| 318 | 247 | margin: 0px; |
| 319 | 248 | padding: 0px; |
| 320 | - color: maroon; | |
| 249 | +/* color: maroon; */ | |
| 321 | 250 | } |
| 322 | 251 | #errorExplanation p { |
| 323 | 252 | margin: 0px; |
| ... | ... | @@ -335,7 +264,9 @@ BODY { |
| 335 | 264 | padding: 0px; |
| 336 | 265 | padding-top: 5px; |
| 337 | 266 | } |
| 267 | + | |
| 338 | 268 | /* Footer Area*/ |
| 269 | +/* | |
| 339 | 270 | #footer { |
| 340 | 271 | border-top: 4px solid #AAA; |
| 341 | 272 | text-align: center; |
| ... | ... | @@ -353,6 +284,7 @@ BODY { |
| 353 | 284 | color: #333; |
| 354 | 285 | text-decoration: underline; |
| 355 | 286 | } |
| 287 | +*/ | |
| 356 | 288 | |
| 357 | 289 | /* Modifiers */ |
| 358 | 290 | |
| ... | ... | @@ -379,3 +311,8 @@ BODY { |
| 379 | 311 | .noscript #content .revisions #go-btn { |
| 380 | 312 | display: inline; |
| 381 | 313 | } |
| 314 | + | |
| 315 | +ul.page-list li table, | |
| 316 | +ul.page-list li td { | |
| 317 | + border: none; | |
| 318 | +} | ... | ... |