You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.3 KiB
47 lines
2.3 KiB
<div id="header"> |
|
<div class="header-inner"> |
|
<h1><a href="/">EntryDNS</a></h1> |
|
<div id="main-navigation"> |
|
<ul class="wat-cf"> |
|
<% if user_signed_in? %> |
|
<li><%#= link_to('Dashboard', dashboard_path, :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to 'My Domains', domains_path, :data => {:pjax => '#main'} %></li> |
|
<li><%= link_to 'Dynamic Hosts', hosts_path, :data => {:pjax => '#main'} %></li> |
|
<% else %> |
|
<li><%= link_to('Home', root_path, :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('About', page_path('about'), :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('Team', page_path('team'), :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('Contact', page_path('contact'), :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('Help & Support', page_path('help'), :data => {:pjax => '#main'}) %></li> |
|
<% end %> |
|
</ul> |
|
</div> |
|
<div id="user-navigation"> |
|
<ul class="wat-cf"> |
|
<li> |
|
<%= link_to 'Tweet', "https://twitter.com/share", :class => "twitter-share-button", |
|
:data => { |
|
:url => root_url, |
|
:text => "EntryDNS a nice free DNS service", |
|
:count => "horizontal", |
|
:via => "entrydns", |
|
:related => "_clyfe:vaijab" |
|
} %> |
|
</li> |
|
<li><%= link_to('News', Settings.news_link) %></li> |
|
<li><%= link_to('Donate', page_path('donate'), :class => 'highlight', :data => {:pjax => '#main'}) %></li> |
|
<% if user_signed_in? %> |
|
<li><%= link_to('Help & Support', page_path('help'), :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to(current_user.email, edit_user_registration_path, :title => "IP: #{client_remote_ip}", :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('Sign out', destroy_user_session_path, :method => :delete) %></li> |
|
<% else %> |
|
<li><%= link_to('Sign up', new_user_registration_path, :data => {:pjax => '#main'}) %></li> |
|
<li><%= link_to('Sign in', new_user_session_path, :data => {:pjax => '#main'}) %></li> |
|
<% end %> |
|
</ul> |
|
</div> |
|
<div id="main-navigation"> |
|
<ul class="wat-cf"></ul> |
|
</div> |
|
</div> |
|
</div>
|
|
|