zeus.ugent.be/layouts/partials/_navbar.erb

58 lines
2 KiB
Text
Raw Normal View History

2016-08-23 20:21:02 +02:00
<div id="navbar">
<div class="columns">
2016-08-27 20:15:00 +02:00
<div class="column is-narrow is-hidden-mobile">
2016-08-23 20:21:02 +02:00
<a id="logo-link" href="/">
2016-09-02 00:05:38 +02:00
<img id="logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
2016-08-02 19:54:18 +02:00
</a>
</div>
2016-08-23 20:21:02 +02:00
<div class="column">
<nav class="nav">
<div class="nav-left">
2016-09-02 00:05:38 +02:00
<a class="is-hidden-tablet nav-item" href="/">
<img id="inline-logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
</a>
2016-08-23 20:21:02 +02:00
<% nav_items do |item, active| %>
<a class="nav-item is-tab <%= 'is-active' if active %>" href="<%= relative_path_to(item) %>">
<%= item[:title] %>
</a>
<% end %>
</div>
2016-10-04 16:25:03 +02:00
<form action="/search/?" method="get">
2016-10-04 22:04:34 +02:00
<div id="tipue_search_input">
<input type="text" name="q" id="tipue_search_input_field" autocomplete="off">
</div>
2016-10-04 16:25:03 +02:00
</form>
2016-07-27 20:27:28 +02:00
2016-08-27 20:15:00 +02:00
<div class="nav-right is-hidden-mobile">
2016-08-23 20:21:02 +02:00
<a class="nav-item" href="https://github.com/ZeusWPI" target="_blank">
<span class="icon">
2016-10-04 17:42:56 +02:00
<%= fa :github %>
2016-08-23 20:21:02 +02:00
</span>
</a>
<a class="nav-item" href="https://www.facebook.com/zeus.wpi/" target="_blank">
<span class="icon">
2016-10-04 17:42:56 +02:00
<%= fa :facebook %>
2016-08-23 20:21:02 +02:00
</span>
</a>
<a class="nav-item" href="/feed.xml" target="_blank">
<span class="icon">
2016-10-04 17:42:56 +02:00
<%= fa :rss %>
2016-08-23 20:21:02 +02:00
</span>
</a>
<a class="nav-item" href="/ical.ics">
<span class="icon">
2016-10-04 17:42:56 +02:00
<%= fa :calendar %>
</span>
</a>
<a class="nav-item" href="//zeus.ugent.be/wiki">
<span class="icon">
<%= fa :'wikipedia-w' %>
2016-08-23 20:21:02 +02:00
</span>
</a>
</div>
</nav>
2016-08-02 19:54:18 +02:00
</div>
2016-08-23 20:21:02 +02:00
</div>
</div>