]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka/Wiki/Interpreter/Base.hs
misc changes
[Rakka.git] / Rakka / Wiki / Interpreter / Base.hs
index 5daba841ae7021abeabcff9ade57fc75baa29737..8a3ada996290f8e1e1e2c00e7932974b52b50d95 100644 (file)
@@ -103,7 +103,7 @@ otherLangsInterp
 -- <input type="button"
 --        value="Create new page"
 --        onclick="Rakka.newPage()"
---        class="newButton" />
+--        class="newButton controls" />
 newPageInterp :: Interpreter
 newPageInterp 
     = InlineCommandInterpreter {
@@ -114,7 +114,7 @@ newPageInterp
                 attrs = [ ("type"   , "button")
                         , ("value"  , label)
                         , ("onclick", "Rakka.newPage()")
-                        , ("class"  , "newButton")
+                        , ("class"  , "newButton controls")
                         ]
             in
               return (Input attrs)
@@ -124,7 +124,7 @@ newPageInterp
 -- <input type="button"
 --        value="Edit"
 --        onclick="Rakka.editPage(\"Foo\")"
---        class="editButton" />
+--        class="editButton controls" />
 editPageInterp :: Interpreter
 editPageInterp 
     = InlineCommandInterpreter {
@@ -136,7 +136,7 @@ editPageInterp
                 attrs = [ ("type"   , "button")
                         , ("value"  , label)
                         , ("onclick", "Rakka.editPage(\"" ++ name ++ "\")")
-                        , ("class"  , "editButton")
+                        , ("class"  , "editButton controls")
                         ]
             in
               return (Input attrs)
@@ -145,7 +145,7 @@ editPageInterp
 
 -- <input type="button"
 --        value="Login"
---        class="loginButton" />
+--        class="loginButton controls" />
 loginInterp :: Interpreter
 loginInterp 
     = InlineCommandInterpreter {
@@ -154,7 +154,7 @@ loginInterp
           = \ _ _ ->
             let attrs = [ ("type" , "button")
                         , ("value", "Login")
-                        , ("class", "loginButton")
+                        , ("class", "loginButton controls")
                         ]
             in
               return (Input attrs)
@@ -178,7 +178,7 @@ searchFieldInterp
 
 -- <input type="button"
 --        value="Configuration"
---        class="configButton" />
+--        class="configButton controls" />
 configurationInterp :: Interpreter
 configurationInterp 
     = InlineCommandInterpreter {
@@ -187,7 +187,7 @@ configurationInterp
           = \ _ _ ->
             let attrs = [ ("type" , "button")
                         , ("value", "Configuration")
-                        , ("class", "configButton")
+                        , ("class", "configButton controls")
                         ]
             in
               return (Input attrs)