]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Nov 2005 04:54:09 +0000 (04:54 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Nov 2005 04:54:09 +0000 (04:54 +0000)
doc/build/components/formatting.myt
doc/style.css

index 28d45f8eb8fd2176928d2d19bd5040916a46ee8e..e22a7fd15b89c8038abc694653df612dbd12273c 100644 (file)
         whitespace = None
         for line in lines:
             if whitespace is None:
-                match = re.match(r"^([ ]+)", line)
+                match = re.match(r"^([ ]*).+", line)
                 if match is not None:
                     whitespace = match.group(1)
 
@@ -321,15 +321,17 @@ javascript:togglePopbox('<% name %>', '<% show %>', '<% hide %>')
 <div id="<% name %>_div" class="<% class_ %>" style="display:none;"><% m.content().strip() %></div>
 </%method>
 
-
-<%method codepopper trim="both">
+<%method poplink trim="both">
     <%args>
-        link
+        link='sql'
     </%args>
     <%init>
         href = m.scomp('SELF:popboxlink')
     </%init>
     '''PYESC<& SELF:link, href=href, text=link, class_="codepoplink" &>PYESC'''
+</%method>
+
+<%method codepopper trim="both">
     '''PYESC<&|SELF:popbox, class_="codepop" &><% m.content() %></&>PYESC'''
 </%method>
 
index 858a5571903d5bac863de935bc3ea3dee4ff7504..bc4d8a31ab25ca2a52281ff5b4394483c3db0863 100644 (file)
@@ -99,24 +99,3 @@ a:hover {color:#700000;}
        width:auto;
 }
 
-.code {
-}
-
-.codepop {
-       font-weight:bold;
-       font-family: verdana, sans-serif;
-       font-size:12px;
-       color:#000000;
-       border:1px solid;
-       padding:10px;
-}
-
-.codepoplink {
-       font-weight:bold;
-       font-family: verdana, sans-serif;
-       font-size:11px;
-       color:#000000;
-       border:1px solid;
-       padding:1px 2px 1px 2px;
-       margin:0px 0px 0px 15px;
-}