[Kimchi-devel] [PATCH] Added a style sheet to make the html look pretty

Crístian Viana vianac at linux.vnet.ibm.com
Wed Mar 12 13:51:44 UTC 2014


Hi Kersten!

Am 11-03-2014 23:10, schrieb Kersten Richter:
> Style sheet is called kimchi.css. Not sure how the xsl works so wasn't sure how to get it included in the build.  Can  someone please take a look? This line needs to be in the header:
> <link rel="stylesheet" type="text/css" href="kimchi.css" />
> I looked around the open source site but didn't see anything promising.
>
> let me know if I can do anything to help or if this is a pipe dream.

It's very easy to link a CSS to an XSL file. Inside the tag 
"<xsl:template match="/">" there's a full template of the HTML page. 
Notice the regular <head> tag, with <title> and a <link> tag to set a 
custom icon. You can add exactly that line you provided above to the 
<head> tag, just like a regular HTML file. So we would have something like:

<html>
   <head>
     <title>...</title>
     <link set-custom-icon />
*    <link set-css-file />*
   </head>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140312/e1188557/attachment.html>


More information about the Kimchi-devel mailing list