Project

General

Profile

Actions

Feature #505

closed

base.rhtml header adjustment

Added by Jonathan Hall almost 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

\app\views\layouts\base.rhtml

I got some help with my second image on #header (h1 wasn't the correct size, I needed 100% height and completely right
within #header)

Would it be possible to put this in as it also helps for more configurations in css theming

Cheers

code
<div id="header">
<table width="100%" height="100%" cellpadding=0 cellspacing=0>
<tr width=100%>
<td id="header_left" width = 75% valign=top>
<h1><%= h(Herve Harster ? @project.name : Setting.app_title) ></h1>
<div id="main-menu">
<ul>
<
Redmine::MenuManager.allowed_items(:project_menu, User.current, Herve Harster).each do |item| >
<
unless item.condition && !item.condition.call(Herve Harster) >
<li><
= link_to l(item.name), {item.param => Herve Harster}.merge(item.url) ></li>
<
end >
<
end if Herve Harster && _record? >
</ul>
</div>
</td>
<td id="header_right" width = 25
>
<div id="quick-search">
<% form_tag({:controller => 'search', :action => 'index', :id => Herve Harster}, :method => :get
) do >
<
= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => Herve Harster},
:accesskey => accesskey(:search) >:
<
= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey =>
accesskey(:quick_search) >
<
end >
<
= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
</div>
</td>
</tr>
</table>


Files

application.css (1.74 KB) application.css Jonathan Hall, 2008-02-03 11:12
alternate.zip (142 KB) alternate.zip Jonathan Hall, 2008-02-03 11:12
Actions

Also available in: Atom PDF