Add graphics and website sources to the php-virt-control
authorMichal Novotny <mignov@gmail.com>
Thu, 23 Jun 2011 10:36:10 +0000 (12:36 +0200)
committerMichal Novotny <mignov@gmail.com>
Thu, 23 Jun 2011 10:36:10 +0000 (12:36 +0200)
Signed-off-by: Michal Novotny <minovotn@redhat.com>

19 files changed:
graphics/php-virt-control-bg.png [new file with mode: 0644]
graphics/php-virt-control.png [new file with mode: 0644]
html/contact.html [new file with mode: 0644]
html/contributions.html [new file with mode: 0644]
html/downloads.html [new file with mode: 0644]
html/generic.css [new file with mode: 0644]
html/graphics/32favicon.png [new file with mode: 0644]
html/graphics/footer_corner.png [new file with mode: 0644]
html/graphics/footer_pattern.png [new file with mode: 0644]
html/graphics/php-virt-control-bg.png [new file with mode: 0644]
html/graphics/php-virt-control.png [new file with mode: 0644]
html/index.html [new file with mode: 0644]
html/links.html [new file with mode: 0644]
html/main.css [new file with mode: 0644]
html/news.html [new file with mode: 0644]
html/php-virt-control.css [new file with mode: 0644]
index.php
manager.css
pages/info.php

diff --git a/graphics/php-virt-control-bg.png b/graphics/php-virt-control-bg.png
new file mode 100644 (file)
index 0000000..b269ed5
Binary files /dev/null and b/graphics/php-virt-control-bg.png differ
diff --git a/graphics/php-virt-control.png b/graphics/php-virt-control.png
new file mode 100644 (file)
index 0000000..12cc7ed
Binary files /dev/null and b/graphics/php-virt-control.png differ
diff --git a/html/contact.html b/html/contact.html
new file mode 100644 (file)
index 0000000..6c7cf51
--- /dev/null
@@ -0,0 +1,69 @@
+<?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">
+<!--
+        This file is autogenerated from contact.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <a title="Home" class="inactive" href="index.html">Home</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Information on contributing to libvirt-php" class="inactive" href="contributions.html">Contributions</a>
+            </div>
+          </li><li>
+            <div>
+              <span class="active">Contact</span>
+          </li><li>
+            <div>
+              <a title="Related links" class="inactive" href="links.html">Related links</a>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>Contacting the development team</h1>
+        <ul><li>
+            <a href="#email">Mailing lists</a>
+          </li></ul>
+        <h2>
+          <a name="email" id="email">Mailing lists</a>
+        </h2>
+        <p>
+      If you want to send patches or if you see for advice that's related to libvirt-php or libvirt you can use following mailing list:
+    </p>
+        <dl><dt><a href="https://fedorahosted.org/mailman/listinfo/php-virt-control">php-virt-control@lists.fedorahosted.org</a></dt><dd>
+        Archives at <a href="https://fedorahosted.org/pipermail/php-virt-control/">https://fedorahosted.org/pipermail/php-virt-control/</a>
+      </dd><dd>
+        This list is a place for discussions
+        about the <strong>development</strong> of php-virt-control.
+      </dd><dd>
+        Topics for discussion include:
+        <ul><li>New features for php-virt-control</li><li>Bug fixing of php-virt-control</li><li>Testing and documentation of php-virt-control</li></ul></dd></dl>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/contributions.html b/html/contributions.html
new file mode 100644 (file)
index 0000000..9cba268
--- /dev/null
@@ -0,0 +1,83 @@
+<?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">
+<!--
+        This file is autogenerated from contributions.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+      <div id="headerSearch">
+        <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
+            <input id="query" name="query" type="text" size="12" value="" />
+            <input id="submit" name="submit" type="submit" value="Search" />
+          </div></form>
+      </div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <a title="Home" class="inactive" href="index.html">Home</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Downloads" class="inactive" href="downloads.html">Downloads</a>
+            </div>
+          </li><li>
+            <div>
+              <span class="active">Contributions</span>
+            </div>
+          </li><li>
+            <div>
+              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
+          </li><li>
+            <div>
+              <a title="List of links related to php-virt-control project" class="inactive" href="links.html">Related links</a>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>Contributions to php-virt-control</h1>
+        <h3>(aka php-virt-control hacking)</h3>
+        <ul><li>
+            <a href="#hacking">Hacking php-virt-control</a>
+          </li><li>
+            <a href="#sending">Sending patches</a>
+          </li></ul>
+        <h2>
+          <a name="hacking" id="hacking">Hacking php-virt-control</a>
+        </h2>
+        <p>
+      If you want to implement new features to php-virt-control or fix some bugs you have found you can download the source from
+      our GIT repository using</p>
+        <pre>git://git.fedorahosted.org/php-virt-control.git</pre>
+        <p>
+      Please make sure you're using the coding style in which the code is already written (beware of spaces instead of tabs etc).
+      When you have the patch prepared please send us the patch using the procedure mentioned in <a href="#sending">Sending patches</a> paragraph.
+    </p>
+        <h2>
+          <a name="sending" id="sending">Sending patches</a>
+        </h2>
+        <p>If you would like to contribute to the php-virt-control project you could write patches for it but please make sure you're following the procedure below:</p>
+        <ol><li>Sign up to php-virt-control list if you're not on it yet (php-virt-control@lists.fedorahosted.org).</li><li>Set your git username and e-mail and also set the subject prefix in the project's repository using:
+     <pre>git config --local format.subjectprefix "PATCH"</pre>
+
+ </li><li>Create the patch in the form of the commits and include also information about usage (example source codes maybe) and testing</li><li>Format it using <code>git format-patch -X</code> where X is the number of patch parts to be posted, for multipart patch (X is greater than 1) please use also numbering (-n) option and include the cover-letter (--cover-letter).</li><li>Send to php-virt-control@lists.fedorahosted.org using the <code>git send-email &lt;files&gt; --to php-virt-control@lists.fedorahosted.org</code> command where &lt;files&gt; can be <i>000*</i> to send all the patches formatted by git format-patch since git format-patch names the files starting with the 4 digit numbers.</li></ol>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/downloads.html b/html/downloads.html
new file mode 100644 (file)
index 0000000..a72d9e4
--- /dev/null
@@ -0,0 +1,62 @@
+<?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">
+<!--
+        This file is autogenerated from downloads.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <a title="Home" class="inactive" href="index.html">Home</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
+            </div>
+          </li><li>
+            <div>
+              <span class="active">Downloads</span>
+            </div>
+          </li><li>
+            <div>
+              <a title="Information on contributing to libvirt-php" class="inactive" href="contributions.html">Contributions</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
+          </li><li>
+            <div>
+              <a title="List of links related to php-virt-control project" class="inactive" href="links.html">Related links</a>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>Downloads</h1>
+        <h2>Official Releases</h2>
+        <p>
+      There's no official release of php-virt-control yet.
+    </p>
+        <h2>GIT source repository</h2>
+        <p>
+      You can clone the development version of libvirt-php from GIT repository:
+    </p>
+        <pre>git://git.fedorahosted.org/php-virt-control.git</pre>
+        <p>If you want to contribute to the php-virt-control project please refer to <a href="contributions.html">Contributions</a>.</p>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/generic.css b/html/generic.css
new file mode 100644 (file)
index 0000000..dbf7b56
--- /dev/null
@@ -0,0 +1,75 @@
+
+body {
+  margin: 0em;
+  padding: 0px;
+  color: rgb(0,0,0);
+  font-family: Verdana, Arial, Helvetica, sans-serif;
+  font-size: 80%;
+  background: #ffffff;
+}
+
+p, ul, ol, dl {
+  padding: 0px;
+  margin: 0px;
+}
+
+ol,ul {
+  margin-left: 3em;
+}
+
+ol,ul,dl,p {
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+p:first-line {
+  margin-right: 1em;
+}
+
+div.body p:first-letter {
+  font-size: 1.2em;
+  font-weight: bold;
+}
+
+h1,h2,h3,h4,h5,h6 {
+  font-weight: bold;
+  margin: 0px;
+  padding: 0px;
+  margin-top: 0.5em;
+}
+
+div.footer {
+  margin-top: 1em;
+}
+
+h1 {
+  font-size: 2em;
+}
+h2 {
+  font-size: 1.6em;
+}
+h3 {
+  font-size: 1.4em;
+}
+h4 {
+  font-size: 1.2em;
+}
+h5 {
+  font-size: 1em;
+}
+h6 {
+  font-size: 0.8em;
+}
+
+dl dt {
+  margin-left: 1em;
+  margin-right: 2em;
+  font-weight: bold;
+  font-size: larger;
+}
+
+dl dd {
+  margin-left: 2em;
+  margin-right: 2em;
+  margin-bottom: 0.5em;
+}
diff --git a/html/graphics/32favicon.png b/html/graphics/32favicon.png
new file mode 100644 (file)
index 0000000..1af7c70
Binary files /dev/null and b/html/graphics/32favicon.png differ
diff --git a/html/graphics/footer_corner.png b/html/graphics/footer_corner.png
new file mode 100644 (file)
index 0000000..090bfce
Binary files /dev/null and b/html/graphics/footer_corner.png differ
diff --git a/html/graphics/footer_pattern.png b/html/graphics/footer_pattern.png
new file mode 100644 (file)
index 0000000..647c52a
Binary files /dev/null and b/html/graphics/footer_pattern.png differ
diff --git a/html/graphics/php-virt-control-bg.png b/html/graphics/php-virt-control-bg.png
new file mode 100644 (file)
index 0000000..b269ed5
Binary files /dev/null and b/html/graphics/php-virt-control-bg.png differ
diff --git a/html/graphics/php-virt-control.png b/html/graphics/php-virt-control.png
new file mode 100644 (file)
index 0000000..12cc7ed
Binary files /dev/null and b/html/graphics/php-virt-control.png differ
diff --git a/html/index.html b/html/index.html
new file mode 100644 (file)
index 0000000..9f24650
--- /dev/null
@@ -0,0 +1,59 @@
+<?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">
+<!--
+        This file is autogenerated from index.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <span class="active">Home</span>
+            </div>
+          </li><li>
+            <div>
+              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Information on contributing to libvirt-php" class="inactive" href="contributions.html">Contributions</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
+          </li><li>
+            <div>
+              <a title="List of links related to php-virt-control project" class="inactive" href="links.html">Related links</a>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>php-virt-control</h1>
+        <p>Project php-virt-control is the project to allow virtual machine control (management) for PHP-based websites.</p>
+        <p>Project requires libvirt-php to be installed and configured in your PHP configuration to allow the libvirt access.</p>
+        <h2>Using php-virt-control</h2>
+        <p>Since <i>php-virt-control</i> acts only as a front-end for libvirt-php you can access the website using any internet browser with JavaScript enabled.
+        For some functionality the JavaScript is essential in the project however it's not strictly necessary to access libvirt because of the connection URI
+        is being stored in the session variables.</p>
+        <p>In my cases you will need the <a href="http://libvirt.org/auth.html" target="_blank">libvirt authentication</a> to be set up to connect the remote hosts.</p>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/links.html b/html/links.html
new file mode 100644 (file)
index 0000000..b48edc3
--- /dev/null
@@ -0,0 +1,59 @@
+<?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">
+<!--
+        This file is autogenerated from links.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <a title="Home" class="inactive" href="index.html">Home</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Information on contributing to libvirt-php" class="inactive" href="contributions.html">Contributions</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
+          </li><li>
+            <div>
+              <span class="active">Related links</span>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>Related links</h1>
+        <p>
+      Those links are related to libvirt-php project:
+    </p>
+        <ul>
+        <li><a href="http://libvirt.org">Libvirt</a></li>
+        <li><a href="http://www.php.net">PHP</a></li>
+        </ul>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/main.css b/html/main.css
new file mode 100644 (file)
index 0000000..408902d
--- /dev/null
@@ -0,0 +1,2 @@
+@import url(generic.css);
+@import url(php-virt-control.css);
diff --git a/html/news.html b/html/news.html
new file mode 100644 (file)
index 0000000..161e812
--- /dev/null
@@ -0,0 +1,58 @@
+<?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">
+<!--
+        This file is autogenerated from news.html.in
+        Do not edit this file. Changes will be lost.
+      -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" type="text/css" href="main.css" />
+    <link rel="SHORTCUT ICON" href="graphics/32favicon.png" />
+    <title>php-virt-control: Virtual machine control for PHP</title>
+    <meta name="description" content="php-virt-control, virtual machine control, php" />
+  </head>
+  <body>
+    <div id="header">
+      <div id="headerLogo"></div>
+    </div>
+    <div id="body">
+      <div id="menu">
+        <ul class="l0"><li>
+            <div>
+              <a title="Home" class="inactive" href="index.html">Home</a>
+            </div>
+          </li><li>
+            <div>
+              <span class="active">News</span>
+            </div>
+          </li><li>
+            <div>
+              <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="Information on contributing to libvirt-php" class="inactive" href="contributions.html">Contributions</a>
+            </div>
+          </li><li>
+            <div>
+              <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
+          </li><li>
+            <div>
+              <a title="List of links related to php-virt-control project" class="inactive" href="links.html">Related links</a>
+            </div>
+          </li></ul>
+      </div>
+      <div id="content">
+        <h1>News</h1>
+        <p>Here will the list of official releases of php-virt-control project but it's empty now since no release has been done yet.</p>
+        <p>If you want to see the commits or download the source from <a href="http://git-scm.com">git</a> please refer to project's GIT repository at:</p>
+        <pre>git://git.fedorahosted.org/php-virt-control.git</pre>
+        <p>
+    If you want to see the latest patches committed to the repository can also refer to <a href="http://git.fedorahosted.org/git/?p=php-virt-control.git;a=log">GIT log</a>.
+    </p>
+      </div>
+    </div>
+    <div id="footer"></div>
+  </body>
+</html>
diff --git a/html/php-virt-control.css b/html/php-virt-control.css
new file mode 100644 (file)
index 0000000..98a325f
--- /dev/null
@@ -0,0 +1,362 @@
+
+
+h1 {
+    font-weight: normal;
+    color: #3c857c;
+}
+h1 strong {
+    font-weight: bold;
+}
+
+h2, h3, h4, h5, h6 {
+    color: #3c857c;
+}
+
+#header {
+    margin: 0px;
+    height: 104px;
+    width: 100%;
+    background: url(graphics/php-virt-control-bg.png);
+    border: 0px;
+}
+
+#body {
+    float: left;
+    width: 100%;
+    border: 0px;
+    left: 0px;
+    margin: 0px;
+}
+
+#content {
+    margin-left: 230px;
+    margin-right: 1em;
+    padding: 0px;
+    padding-bottom: 1em;
+}
+
+#menu {
+    float: left;
+    width: 220px;
+    margin-bottom: 1em;
+}
+
+#menu ul {
+    margin: 0px;
+    padding: 0px;
+    margin-left: 40px;
+}
+
+#menu li ul {
+    margin-left: 0px;
+}
+
+#menu ul li {
+    list-style: none;
+    color: black;
+    padding: 0px;
+    margin: 0px;
+    border: 0px;
+    font-weight: bold;
+    font-size: 1.2em;
+}
+
+#menu li ul li {
+    font-size: 1em;
+}
+
+#menu ul li a, #menu ul li span {
+    text-decoration: inherit;
+    color: inherit;
+    display: block;
+    padding: 6px;
+    margin: 2px;
+}
+
+#menu ul li .active {
+    background: #a4c6c2;
+}
+
+#menu ul.l0 li .inactive {
+    background: #c5dbd8;
+}
+
+
+#menu ul.l1 li .inactive,
+#menu ul.l2 li .inactive {
+    background: #dfebea;
+    border-left: 8px solid #dfebea;
+}
+
+#menu ul.l1 li .inactive,
+#menu ul.l1 li .active {
+    padding-left: 1em;
+}
+
+#menu ul.l1 li .inactive {
+    border-left: 6px solid #dfebea;
+}
+#menu ul.l1 li .active {
+    border-left: 6px solid #a5c6c2;
+}
+
+#menu ul.l2 li .inactive,
+#menu ul.l2 li .active {
+    padding-left: 2em;
+    border-left: 8px solid #c5dbd8;
+}
+
+#menu ul.l3 li .inactive,
+#menu ul.l3 li .active {
+    padding-left: 3em;
+}
+
+
+#headerLogo {
+    position: absolute;
+    top: 0px;
+    left: 0px;
+    height: 104px;
+    width: 400px;
+    background: url(graphics/php-virt-control.png);
+}
+#headerSearch {
+    position: absolute;
+    top: 0px;
+    right: 0px;
+    padding: 2em;
+    z-index: 10;
+}
+
+#headerSearch input {
+    border: 1px solid #999999;
+    color: #999999;
+    background: white;
+    padding: 3px;
+    font-size: 1em;
+}
+
+#headerSearch #submit {
+    border: 1px solid #999999;
+    background: #eeeeee;
+    color: black;
+    padding: 3px;
+    font-size: 1em;
+}
+
+
+#sitemap ul li {
+    list-style: none;
+}
+
+#sitemap ul {
+    margin: 1em;
+    padding: 0em;
+}
+
+#sitemap ul ul {
+    padding-left: 2em;
+}
+
+#sitemap li {
+    margin: 0.5em;
+}
+
+#sitemap a {
+    color: inherit;
+    text-decoration: underline;
+    font-weight: bold;
+}
+
+pre {
+    border: 1px solid #999999;
+    background: #eeeeee;
+    color: black;
+    padding: 1em;
+}
+
+a {
+    color: #566866;
+}
+
+
+div.api {
+    border: 1px solid #999999;
+    background: #eeeeee;
+    color: black;
+}
+
+div.api pre {
+    margin: 0px;
+    border: 0px;
+    background: inherit;
+}
+
+div.api table {
+    margin: 0px;
+    padding-left: 2em;
+    font-family: fixed;
+    whitespace: pre;
+}
+
+
+h1 a, h2 a, h3 a, h4 a, h5 a {
+    color: inherit;
+    text-decoration: inherit;
+}
+
+#changelog .author {
+    color: #3c857c;
+    font-weight: bold;
+}
+
+p.image {
+    text-align: center;
+}
+
+.top_table {
+    border-collapse: collapse;
+}
+
+.top_table th {
+    background: #a4c6c2;
+}
+
+.top_table th a {
+    color: inherit;
+    text-decoration: inherit;
+}
+
+.top_table td, .top_table th {
+    border: 1px solid #999999;
+}
+
+.top_table tr:hover td, .top_table col:hover td {
+    background: #eeeeee;
+}
+
+.top_table tr td:hover {
+    background: #c5dbd8;
+}
+
+#footer {
+    clear: both;
+    position: relative;
+    margin: 0px;
+    padding: 0px;
+    border: 0px;
+    width: 100%;
+    height: 180px;
+    background: #FFFFFF;
+/*    background: #757575; */
+}
+/* This is hidden from IE <= 6 because it can't do transparency */
+/* body > #footer {
+    background: #757575 url(graphics/footer_pattern.png) repeat-x;
+} */
+
+#footer p {
+    position: absolute;
+    top: 0px;
+    left: 0px;
+    margin: 0px;
+    border: 0px solid red;
+    width: 220px;
+    text-align: center;
+}
+
+#footer p a img {
+    border: 0px;
+}
+
+#projects {
+    margin: 0px;
+    border: 0px;
+    position: absolute;
+    top: 0px;
+    left: 0px;
+    width: 100%;
+}
+
+
+#projects dl {
+    margin: 0px;
+    border: 0px solid white;
+    height: 180px;
+    position: absolute;
+    top: 0px;
+    left: 0px;
+}
+/* This is hidden from IE <= 6 because it can't do transparency */
+head:first-child+body #projects dl {
+    background: url(graphics/footer_corner.png) no-repeat ! important;
+}
+
+#projects #p1 {
+    margin-left: 25%;
+    width: 75%;
+}
+
+#projects #p2 {
+    margin-left: 50%;
+    width: 50%;
+}
+
+#projects #p3 {
+    margin-left: 75%;
+    width: 25%;
+}
+
+#projects dt, #projects dd {
+    padding: 0px;
+    margin: 0px;
+}
+
+#projects #p1 dt, #projects #p1 dd {
+    width: 33%;
+}
+#projects #p2 dt, #projects #p2 dd {
+    width: 50%;
+}
+#projects #p3 dt, #projects #p3 dd {
+    width: 99%;
+}
+
+#projects {
+}
+
+#projects span {
+    font-size: 0.8em;
+    display: block;
+    padding-left: 1em;
+    padding-top: 0.5em;
+}
+
+#projects a {
+    font-size: 0.8em;
+    display: block;
+    padding-left: 0.8em;
+    padding-top: 1em;
+}
+
+#projects a {
+    color: white;
+    text-decoration: inherit;
+}
+
+#projects span {
+    color: #ccc;
+}
+
+
+#sponsor {
+    color: #757575;
+    text-decoration: inherit;
+    font-size: 1.2em;
+}
+
+span.since {
+    color: #3c857c;
+    font-style: italic;
+    font-weight: bold;
+}
index 1dec1ec..8f89abc 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,5 +1,6 @@
 <?php
   define('PHPVIRTCONTROL_VERSION', '0.0.1');
+  define('PHPVIRTCONTROL_WEBSITE', 'http://minovotn.fedorapeople.org/php-virt-control');
 
   session_start();
   require('libvirt.php');
 ?>
 <html>
 <head>
- <title>phpVirtControl - Virtual machine controller</title>
+ <title>php-virt-control - Virtual machine controller</title>
  <link rel="STYLESHEET" type="text/css" href="manager.css"> 
 </head>
 <body>
-  <h1>PHP Virtual machine controller</h1>
-
-  <?php include('main-menu.php'); ?>
+  <div id="header">
+    <div id="headerLogo"></div>
+  </div>
 
   <?php
+       include('main-menu.php');
        if ($name):
   ?>
        <h2 id="vm-name">Virtual machine <?= $name ?></h2>
index 5534dee..b423864 100644 (file)
@@ -1,3 +1,19 @@
+#header {
+       margin: 0px;
+       height: 104px;
+       width: 100%;
+       background: url(graphics/php-virt-control-bg.png);
+       border: 0px;
+}
+
+#headerLogo {
+       position: absolute;
+       left: 0px;
+       height: 104px;
+       width: 400px;
+       background: url(graphics/php-virt-control.png);
+}
+
 #vm-name {
        padding-left: 10px;
 }
index 75f97bb..54cb0e5 100644 (file)
         <div class="nl">
 </div>
 
+<div class="item">
+        <div class="label">Website</div>
+        <div class="value"><a target="_blank" href="<?= PHPVIRTCONTROL_WEBSITE ?>"><?= PHPVIRTCONTROL_WEBSITE ?></a></div>
+        <div class="nl">
+</div>
+
 <div class="section">Connection details</div>
 
 <?php