This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Harley Trung
committed
May 22, 2009
1 parent
6e32aa2
commit 44b4474
Showing
8 changed files
with
104 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div id="nav_top"> | ||
<ul class="no_underlined"> | ||
<li class="<%= tab('users') %>"><%= link_to "Users", department_users_path(@department) %></li> | ||
<li class="<%= tab('roles') %>"><%= link_to "Roles", department_roles_path(@department) %></li> | ||
<li class="<%= tab('loc_groups') %>"><%= link_to "Loc Groups", department_loc_groups_path(@department) %></li> | ||
<ul> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<% content_for :my_content do %> | ||
<div id="nav_bar"> | ||
<ul> | ||
<li><%= link_to "New User", new_department_user_path(@department) %></li> | ||
<li><%= link_to "Mass Add", mass_add_department_users_path(@department) %></li> | ||
<li><%= link_to "All Users", department_users_path(@department) %></li> | ||
<ul> | ||
</div> | ||
|
||
<div id="tab_content"> | ||
<%= yield %> | ||
</div> | ||
|
||
<div class="clear"></div> | ||
<% end %> | ||
<%= render :file => 'layouts/application.html.erb' %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.no_underlined a{ | ||
text-decoration: none; | ||
color: whitesmoke; | ||
} | ||
|
||
li.current_tab{ | ||
background: #222; | ||
} | ||
|
||
div#nav_top{ | ||
width: 84.2%; | ||
margin: 0 auto; | ||
} | ||
|
||
div#nav_top ul{ | ||
margin: 0 auto; | ||
} | ||
|
||
div#nav_top li{ | ||
display: inline; | ||
padding-right: 20px; | ||
padding-left: 20px; | ||
width: 200px; | ||
} | ||
|
||
div #nav_bar{ | ||
width: 20%; | ||
height: 100%; | ||
float: left; | ||
border: 1px solid black; | ||
background-color: whitesmoke; | ||
padding: 10px; | ||
word-wrap: break-word; | ||
} | ||
|
||
a{ | ||
color: blue; | ||
} | ||
a:hover{ | ||
color: orange; | ||
} | ||
|
||
div #tab_content{ | ||
float: right; | ||
width: 70%; | ||
} | ||
|