Theme the site with the current OpenFest WP Theme
This commit is contained in:
parent
28d99528de
commit
fdd2656a7b
|
@ -12,5 +12,4 @@
|
|||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require turbolinks
|
||||
//= require_tree .
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<nav class="menu">
|
||||
<ul class="sf-menu sf-js-enabled">
|
||||
<%= content_tag :li, class: [('current_page_item' if controller_name == 'home')] do %>
|
||||
<%= link_to 'Начало', root_path %>
|
||||
<% end %>
|
||||
|
||||
<% unless user_signed_in? %>
|
||||
<%= content_tag :li, class: [('current_page_item' if controller_name == 'sessions')] do %>
|
||||
<%= link_to "Вход", new_user_session_path %>
|
||||
<% end %>
|
||||
<%= content_tag :li, class: [('current_page_item' if controller_name == 'registrations')] do %>
|
||||
<%= link_to "Регистрация", new_user_registration_path %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= content_tag :li, class: [('current_page_item' if controller_name == 'registrations')] do %>
|
||||
<%= link_to "Редакция на профил", edit_user_registration_path %>
|
||||
<% end %>
|
||||
<li>
|
||||
<%= link_to "Изход", destroy_user_session_path, method: :delete %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<li>
|
||||
<a href="#">English</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
|
@ -1,14 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Clarion</title>
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
<head>
|
||||
<title>Clarion</title>
|
||||
<%= stylesheet_link_tag 'application' %>
|
||||
<%= stylesheet_link_tag 'http://openfest.org/wp-content/themes/thematic-openfest/style.css' %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper" class="hfeed">
|
||||
<header id="header">
|
||||
<div id="branding">
|
||||
<div id="blog-title">
|
||||
<span>
|
||||
<a href="http://openfest.org/" title="OpenFest" rel="home">
|
||||
<img src="//openfest.org/images/logo-header.png" alt="OpenFest" />
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<h1 id="blog-description">да споделим свободата</h1>
|
||||
</div><!-- #branding -->
|
||||
|
||||
<%= yield %>
|
||||
<div id="access">
|
||||
<%= render partial: '/layouts/nav' %>
|
||||
</div><!-- #access -->
|
||||
</header>
|
||||
|
||||
</body>
|
||||
<div id="main">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue