]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: redo style of front page
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 25 Oct 2016 14:55:39 +0000 (16:55 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 11 Nov 2016 12:15:03 +0000 (12:15 +0000)
Use a large logo banner across the front page. Tile the
three lists of links into three panels

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
docs/404.html.in
docs/Makefile.am
docs/index.html.in
docs/libvirt.css
docs/libvirtLogo.png [deleted file]
docs/libvirtLogo404.png [deleted file]
docs/page.xsl
docs/search.php.in
libvirt.spec.in
mingw-libvirt.spec.in

index 5b771bb156b564b1bdf3e47bfafb445cfda876f6..8942864c211cbfd90b4c627f27756bedb48ae2e8 100644 (file)
         locate the content on this site or mailing list archives</li>
     </ul>
 
-    <p class="image">
-      <img src="/libvirtLogo404.png" alt="libvirt Logo"/>
-    </p>
-
-
   </body>
 </html>
index 0bc9b6f7d25e55bbfc657bf6eec52f34640fbac0..8f12eb1db427f100e1d1a9441cf424d185ef0a25 100644 (file)
@@ -85,7 +85,6 @@ logofiles = \
 
 png = \
   32favicon.png \
-  libvirtLogo.png \
   libvirt-net-logical.png \
   libvirt-net-physical.png \
   libvirt-daemon-arch.png \
@@ -379,7 +378,6 @@ install-data-local:
        for file in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
            $(INSTALL) -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \
        done
-       $(INSTALL_DATA) $(srcdir)/libvirtLogo.png $(DESTDIR)$(pkgdatadir)
 
 uninstall-local:
        for f in $(css) $(dot_html) $(gif) $(png); do \
@@ -396,4 +394,3 @@ uninstall-local:
        for f in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
          rm -f $(DESTDIR)$(DEVHELP_DIR)/$$(basename $$f); \
        done
-       rm -f $(DESTDIR)$(pkgdatadir)/libvirtLogo.png
index c4025de101691434bee9ebc62a9b49f7e7cb6b0b..b151cea2cf9b0dbe924a156ef1822e925128693b 100644 (file)
@@ -1,10 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
-  <body>
+  <body class="index">
     <h1>The virtualization API</h1>
 
-    <h2>libvirt is:</h2>
+    <div class="panel">
+    <h2>libvirt is</h2>
 
     <ul>
       <li>
         of their contributions.
       </li>
     </ul>
+    </div>
 
-    <h2>libvirt supports:</h2>
+    <div class="panel">
+    <h2>libvirt supports</h2>
 
     <ul>
       <li>
       </li>
     </ul>
 
-    <h2>libvirt provides:</h2>
+    </div>
+
+    <div class="panel">
+    <h2>libvirt provides</h2>
 
     <ul>
       <li>Remote management using TLS encryption and x509 certificates</li>
       <li>Management of virtual machines, virtual networks and storage</li>
       <li>Portable client API for Linux, Solaris and Windows</li>
     </ul>
+    </div>
+
+    <br class="clear"/>
 
-    <p class="image">
-      <img src="libvirtLogo.png" alt="libvirt Logo"/>
-    </p>
   </body>
 </html>
index 573d7e9db6c1adbbdc9b463841a92da8707b60d0..dfa7b58b01ae7d25ca86c74cc90faa941e25e963 100644 (file)
@@ -473,3 +473,32 @@ h5:hover > a.headerlink,
 h6:hover > a.headerlink {
     visibility: visible;
 }
+
+div.panel {
+    width: 24%;
+    margin-left: 7%;
+    float: left;
+    background: rgb(230, 230, 230);
+}
+
+div.panel h2 {
+    margin-top: 0px;
+    padding: 0.5em;
+    padding-left: 1em;
+    padding-right: 1em;
+    background: rgb(0, 95, 97);
+    color: rgb(255, 255, 255);
+    text-align: center;
+}
+
+body.index h1 {
+    border: 0px;
+    text-indent: 100%; white-space: nowrap; overflow: hidden;
+    background: url(logos/logo-banner-dark-800.png) no-repeat center center;
+    height: 300px;
+}
+
+br.clear {
+    clear: both;
+    border: 0px;
+}
diff --git a/docs/libvirtLogo.png b/docs/libvirtLogo.png
deleted file mode 100644 (file)
index 56236fe..0000000
Binary files a/docs/libvirtLogo.png and /dev/null differ
diff --git a/docs/libvirtLogo404.png b/docs/libvirtLogo404.png
deleted file mode 100644 (file)
index 059c0eb..0000000
Binary files a/docs/libvirtLogo404.png and /dev/null differ
index 70c06a2d188996bc2316cbe1f279b611ccb280bf..e3b8d5bf15eaf743d8262fe86ed84d3505a0b424 100644 (file)
         <meta name="description" content="libvirt, virtualization, virtualization API"/>
       </head>
       <body>
+        <xsl:if test="html:html/html:body/@class">
+          <xsl:attribute name="class">
+            <xsl:value-of select="html:html/html:body/@class"/>
+          </xsl:attribute>
+        </xsl:if>
         <div id="body">
           <div id="menu">
             <xsl:apply-templates select="exsl:node-set($sitemap)/html:ul" mode="menu">
index 3e1fea253575dd7647736773e393d681824bc5bd..9157223e1442108faf635cbb9e4084904ea26f06 100644 (file)
@@ -12,7 +12,5 @@
 
 <span id="php_placeholder"/>
 
-    <img src="libvirtLogo.png" alt="libvirt Logo" />
-
   </body>
 </html>
index a2c2f2f10625cb298dde6bcbf70fb27bb4e0578a..533aaa12b97a5a553e09a2c85e2e2caf0ee156f6 100644 (file)
@@ -1830,7 +1830,6 @@ exit 0
 %{_datadir}/libvirt/schemas/storagevol.rng
 
 %{_datadir}/libvirt/cpu_map.xml
-%{_datadir}/libvirt/libvirtLogo.png
 
 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
 
index c9bf5039878c936eddcafeb8aa0949c19051b2c7..65d3e6df96f317f03ea7b9507225defb0c8919ac 100644 (file)
@@ -231,7 +231,6 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
 %{mingw32_datadir}/libvirt/api/libvirt-admin-api.xml
 
 %{mingw32_datadir}/libvirt/cpu_map.xml
-%{mingw32_datadir}/libvirt/libvirtLogo.png
 
 %{mingw32_datadir}/locale/*/LC_MESSAGES/libvirt.mo
 
@@ -314,7 +313,6 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
 %{mingw64_datadir}/libvirt/api/libvirt-admin-api.xml
 
 %{mingw64_datadir}/libvirt/cpu_map.xml
-%{mingw64_datadir}/libvirt/libvirtLogo.png
 
 %{mingw64_datadir}/locale/*/LC_MESSAGES/libvirt.mo