Permalink
Browse files

Reorganize the top of the page and add HAProxy logo

  • Loading branch information...
1 parent b10ea46 commit 653c8b2d906c599b3a6bddb80beebcea3ab75b3e @cbonte committed May 26, 2012
Showing with 25 additions and 19 deletions.
  1. +25 −19 templates/template.html
View
@@ -8,28 +8,34 @@
</head>
<body>
<div class="container">
- <ul class="nav nav-tabs">
- <li><a href="http://haproxy.1wt.eu/"><b>HAProxy home page</b></a></li>
- <li class="${"active" if headers['version'].startswith("version 1.4") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.4.html">Configuration Manual for HAProxy 1.4</a></li>
- <li class="${"active" if headers['version'].startswith("version 1.5") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.5.html">Configuration Manual for HAProxy 1.5</a></li>
- </ul>
-
- <div class="page-header">
- <div class="container-fluid">
- <div class="row-fluid">
- <div class="span8">
- <h1>${headers['title']} <small>${headers['version']}</small></h1>
- <h2>${headers['subtitle']}</h2>
- </div>
- <div class="span4 pagination-right">
- <div>${headers['date']}</div>
- <div>${headers['author']}</div>
- </div>
+ <div class="row-fluid">
+ <div class="span2">
+ <a href="http://haproxy.1wt.eu/" title="HAProxy Home Page">
+ <img src="http://haproxy.1wt.eu/img/logo-med.png" />
+ </a>
+ </div>
+ <div class="span10">
+ <ul class="nav nav-tabs">
+ <li class="${"active" if headers['version'].startswith("version 1.4") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.4.html">Configuration Manual for HAProxy 1.4</a></li>
+ <li class="${"active" if headers['version'].startswith("version 1.5") and headers['subtitle'] == 'Configuration Manual' else ""}"><a href="configuration-1.5.html">Configuration Manual for HAProxy 1.5</a></li>
+ </ul>
+ <div class="pagination-right">
+ <h4><small>Converted with <a href="http://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>${version}</b> on <b>${date}</b></small></h4>
</div>
</div>
</div>
- <div class="alert alert-success pagination-centered">
- Converted with <a href="http://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>${version}</b> on <b>${date}</b>
+
+ <div class="page-header">
+ <div class="row-fluid">
+ <div class="span8">
+ <h1>${headers['title']} <small>${headers['version']}</small></h1>
+ <h2>${headers['subtitle']}</h2>
+ </div>
+ <div class="span4 pagination-right">
+ <div>${headers['date']}</div>
+ <div>${headers['author']}</div>
+ </div>
+ </div>
</div>
<form class="well form-search" onsubmit="if (this.keyword.value) window.location.hash=this.keyword.value; return false">

0 comments on commit 653c8b2

Please sign in to comment.