lib/simplabs/excellent/formatters/html.rb in simplabs-excellent-1.3.1 vs lib/simplabs/excellent/formatters/html.rb in simplabs-excellent-1.4.0

- old
+ new

@@ -89,10 +89,28 @@ dd.warning span.number { width: 30px; text-align: right; display: inline-block; } + + #footer { + margin: 20px 0 20px 0; + padding: 5px; + text-align: center; + } + + #footer a { + color: #000; + background-color: #ddd; + text-decoration: none; + padding: 0 2px 0 2px; + } + + #footer a:active, #footer a:hover { + color: #fff; + background-color: #222; + } </style> </head> <body> <div id="header"> <div id="label"> @@ -116,9 +134,12 @@ WARNING_TEMPLATE = <<-END <dd class="warning"><span class="lineNumber">Line <span class="number">{{line_number}}</span></span>{{message}}</dd> END FOOTER_TEMPLATE = <<-END + </div> + <div id="footer"> + <a href="http://github.com/simplabs/excellent" title="Excellent at github">Excellent</a> by <a href="http://simplabs.com" title="simplabs">simplabs</a> </div> </body> </html> END