Hübschified "Schnelle Formatierungshilfe"

This commit is contained in:
sandoz 2009-08-15 15:08:02 +02:00
parent d5342f5ff9
commit aa5166bb16
4 changed files with 94 additions and 15 deletions

View File

@ -2,21 +2,85 @@
%h2 Vorschau %h2 Vorschau
#preview= render :partial => 'body' #preview= render :partial => 'body'
#wiki-syntax-help{:style => "float:right"} #wiki-syntax-help
%p %p
%b Schnelle Formatierungshilfe .box_title
%br/ %h2 Schnelle Formatierungshilfe
:plain .column_content
[[Foodsoft Wiki Seite]]<br /> %table(frame="void")
[http://addresse.net Externe Seite]<br /> %tbody
==Erste Überschrift==<br /> %tr
===Unterüberschrift===<br /> %td(colspan=2)
''kursiv''<br /> %b Zeichenformatierung
'''Fett'''<br /> %tr
* Erster Listenpunkt<br /> %td
* Zweiter Listenpunkt<br /> %i kursiv
** Unterpunkt<br /> %td
= link_to "Tabellen", "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank' %pre
''kursiv''<br />
%tr
%td
%b fett
%td
%pre '''Fett'''<br />
%tr
%td
Keine Wiki-<br/>Formatierung
%td
%pre &lt;nowiki&gt;text&lt;/nowiki&gt;
%tr
%td(colspan=2)
%b Block-Formatierung
%tr
%td
Überschriften
%td
%pre
\= Ebene 1 =
%pre
\== Ebene 2 ==
%pre
\=== Ebene 3 ===
%pre
\==== Ebene 4 ====
%tr
%td
Listen mit Punkten
%td
%pre
* Erster Punkt
%pre
** Zweiter Punkt
%tr
%td
Listen mit Zahlen
%td
%pre
1. Ersten Punkt
%pre
1. Zweiter Punkt
%tr
%td(colspan=2)
%b Link-Formatierung
%tr
%td
Wiki-Links
%td
%pre
[[Foodsoft Wiki Seite]]
%tr
%td
Externe Links
%td
%pre
[http://addresse.net Externe Seite]
%tr
%td(colspan=2)
%b Tabellenformatierung
%tr
%td
Siehe
= link_to "Tabellen", "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank'
- form_for @page do |f| - form_for @page do |f|
= f.error_messages = f.error_messages

View File

@ -466,3 +466,8 @@ a.new_wiki_link {
color: black; } color: black; }
#wiki_content span.editsection { #wiki_content span.editsection {
display: none; } display: none; }
#wiki-syntax-help {
float: right; }
#wiki-syntax-help table {
border-color: #78b74e; }

View File

@ -467,6 +467,11 @@ a.new_wiki_link {
#wiki_content span.editsection { #wiki_content span.editsection {
display: none; } display: none; }
#wiki-syntax-help {
float: right; }
#wiki-syntax-help table {
border-color: #78b74e; }
#logininfo, #header, #footer { #logininfo, #header, #footer {
display: none; } display: none; }

View File

@ -511,4 +511,9 @@ a.new_wiki_link
h1, h2, h3, h4, h5 h1, h2, h3, h4, h5
color: black color: black
span.editsection span.editsection
display: none display: none
#wiki-syntax-help
float: right
table
border-color: #78b74e