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.

35 lines
1.5 KiB

<% semantic_navigation :application_nav, html: { class: 'nav' } do |n| %>
<%#= link_to('Dashboard', dashboard_path, :data => {:pjax => '#main'}) %>
<%= n.item '', link: domains_path do %>
<i class="icon-white icon-th-list"></i> My Domains
<% end %>
<%= n.item '', link: hosts_path do %>
<i class="icon-white icon-th"></i> Dynamic Hosts
<% end %>
<%= n.item '', link: page_path('help') do %>
<i class="icon-white icon-question-sign"></i> Help & Support
<% end %>
<% end %>
13 years ago
<% semantic_navigation :user_nav, html: { class: 'nav pull-right' } do |n| %>
<%= n.item '', link: Settings.news_link, html: { rel: 'tooltip', title: Settings.news_link } do %>
<i class="icon-white icon-share-alt"></i> News
<% end %>
<%= n.item '', link: page_path('donate'), html: { rel: 'tooltip', title: 'PayPal', class: 'highlight' } do %>
<i class="icon-white icon-heart"></i> Donate
<% end %>
13 years ago
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-white icon-user"></i> <%= current_user.email %> <b class="caret"></b>
</a>
<%= n.group do %>
<%= n.item '', link: edit_user_registration_path, html: { rel: 'tooltip', title: "IP: #{client_remote_ip}" } do %>
<i class="icon-cog"></i> Settings
<% end %>
<%= n.item '', link: destroy_user_session_path, link_html: { data: { :'skip-pjax' => true } } do %>
<i class="icon-off"></i> Sign out
<% end %>
<% end %>
</li>
<% end %>