Skip to content

Commit

Permalink
'logo-text'
Browse files Browse the repository at this point in the history
  • Loading branch information
ohiodn8 committed Apr 18, 2018
1 parent 44d7484 commit d776c8d
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 48 deletions.
8 changes: 3 additions & 5 deletions app/views/layouts/hd/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" method="get">
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<%= link_to logotext.text, "/", method: :get, class: "navbar-brand" %>
<% end %>
<% else %>
The Docimer Project
<% else %>
<%= link_to "The Docimer Project", "/", method: :get, class: "navbar-brand" %>
<% end %>
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
Expand Down
20 changes: 7 additions & 13 deletions app/views/layouts/hd/_header2.html.erb
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
<!-- Static navbar -->
<ul class="docile-bar">
<li>
<a class="active" href="/" method="get">
<strong>
<em>
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<% end %>
<% else %>
The Docimer Project
<% end %>
</em>
</strong>
</a>
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<strong><em><%= link_to logotext.text, "/", method: :get %></em></strong>
<% end %>
<% else %>
<strong><em><%= link_to "The Docimer Project", "/", method: :get %></em></strong>
<% end %>
</li>
<div style="float:right">
<% @pages.each do |page| %>
Expand Down
22 changes: 8 additions & 14 deletions app/views/layouts/hd/_header3.html.erb
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
<!-- Static navbar -->
<ul class="docile-bar navbar" style="background-color: #A9A9A9;">
<li>
<a class="header3 active" href="/" method="get">
<strong>
<em>
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<% end %>
<% else %>
The Docimer Project
<% end %>
</em>
</strong>
</a>
<li>
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<strong><em><%= link_to logotext.text, "/", method: :get, class: "header3" %></em></strong>
<% end %>
<% else %>
<strong><em><%= link_to "The Docimer Project", "/", method: :get, class: "header3" %></em></strong>
<% end %>
</li>
<div style="float:right">
<% @pages.each do |page| %>
Expand Down
10 changes: 4 additions & 6 deletions app/views/layouts/hd/_header4.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" method="get" style="color: white;">
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<%= link_to logotext.text, "/", method: :get, class: "navbar-brand", style: "color: white;" %>
<% end %>
<% else %>
The Docimer Project
<% else %>
<%= link_to "The Docimer Project", "/", method: :get, class: "navbar-brand", style: "color: white;" %>
<% end %>
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
Expand All @@ -35,4 +33,4 @@
</div><!--/.nav-collapse -->
</div>
</div>
</nav>
</nav>
8 changes: 3 additions & 5 deletions app/views/layouts/hd/_header5.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" method="get">
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<%= link_to logotext.text, "/", method: :get, class: "navbar-brand" %>
<% end %>
<% else %>
The Docimer Project
<% else %>
<%= link_to "The Docimer Project", "/", method: :get, class: "navbar-brand" %>
<% end %>
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
Expand Down
8 changes: 3 additions & 5 deletions app/views/layouts/hd/_header6.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" method="get">
<% if @logotexts.present? %>
<% @logotexts.each do |logotext| %>
<%= logotext.text %>
<%= link_to logotext.text, "/", method: :get, class: "navbar-brand" %>
<% end %>
<% else %>
The Docimer Project
<% else %>
<%= link_to "The Docimer Project", "/", method: :get, class: "navbar-brand" %>
<% end %>
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d776c8d

Please sign in to comment.