]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- format commands as <pre> blocks
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Aug 2010 11:55:26 +0000 (11:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/request.py -> 1.77
    PLD_Builder/request_handler_server.py -> 1.18

PLD_Builder/request.py
PLD_Builder/request_handler_server.py

index 643deaadaf8a9f72faea2e1f3f652044ee8370d7..5b54ea250606c2586b9bc904062505ef96478d9a 100644 (file)
@@ -212,7 +212,7 @@ class Batch:
     def dump_html(self, f, rid):
         f.write("<li>\n")
         if self.is_command():
-            desc = "SH: %s [%s]" % (self.command, ' '.join(self.command_flags))
+            desc = "SH: <pre>%s</pre> flags: [%s]" % (self.command, ' '.join(self.command_flags))
         else:
             package_url = "http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/%(package)s/%(spec)s?only_with_tag=%(branch)s" % {
                 'spec': self.spec,
index 63e6574f9186438aede66dd41a70caee45726b7c..49728d07647f2c3f0b424866b04ef55900b3da0f 100644 (file)
@@ -77,6 +77,15 @@ a:hover {
        color: #006;
 }
 
+pre {
+       background: #FFF8EB;
+       border: 1pt solid #FFE2AB;
+       font-family: courier, monospace;
+       padding: 0.5em;
+       white-space: pre-wrap;
+       word-wrap: break-word;
+}
+
 @media screen, projection {
        html {
                background-color: #f3efe3;
This page took 0.202859 seconds and 4 git commands to generate.