Commit a783d767 authored by Leo Iannacone's avatar Leo Iannacone

moved archtitectures under brand link

parent b33e230d
......@@ -14,27 +14,12 @@
<body>
<div id="wrapper" class="container-fluid">
<nav class="navbar navbar-inverse" role="navigation">
<div onclick="window.location.href='/'" class="navbar-header home-link">
<div class="navbar-header home-link">
<span class="pull-left icon"></span>
<span class="navbar-brand">Deb-o-Matic <small><%= web.debomatic.architecture %></small></span>
</div>
<div class="collapse navbar-collapse">
<div id="distributions">
<ul class="nav navbar-nav"></ul>
</div>
<div id="pages">
<ul class="nav navbar-nav pull-right">
<% if (web.paths.history) { %>
<li><a href="<%= web.paths.history %>">History</a></li>
<% } %>
<% if (web.paths.commands) { %>
<li><a href="<%= web.paths.commands %>">Commands</a></li>
<% } %>
<% if (web.paths.preferences) { %>
<li><a href="<%= web.paths.preferences %>">Preferences</a></li>
<% } %>
<span style="padding-right: 5px;" onclick="window.location.href='/'" class="navbar-brand">Deb-o-Matic</span>
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Architectures <span class="caret"></span></a>
<a style="color: #eee; padding-left: 5px; padding-right: 5px" href="#" class="dropdown-toggle" data-toggle="dropdown"><%= web.debomatic.architecture %> <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<script>
var all_services = ['amd64', 'i386', 'armel', 'armhf', 'powerpc', 's390x'];
......@@ -46,12 +31,28 @@
} else {
document.write('<li><a href="http://' + host + '">'+ arch +'</a></li>');
}
}
</script>
</ul>
</li>
</ul>
</div>
<div class="collapse navbar-collapse">
<div id="distributions">
<ul class="nav navbar-nav"></ul>
</div>
<div id="pages">
<ul class="nav navbar-nav pull-right">
<% if (web.paths.history) { %>
<li><a href="<%= web.paths.history %>">History</a></li>
<% } %>
<% if (web.paths.commands) { %>
<li><a href="<%= web.paths.commands %>">Commands</a></li>
<% } %>
<% if (web.paths.preferences) { %>
<li><a href="<%= web.paths.preferences %>">Preferences</a></li>
<% } %>
</ul>
</div>
</div>
</nav>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment