Commit d888e5cc authored by 神楽坂玲奈's avatar 神楽坂玲奈

lotus的底部定位修正

git-svn-id: http://glupx.googlecode.com/svn/trunk/Reliz@74 189f022a-1064-8ae2-3e6f-c4a67275c50b
parent 0e9e30c9
module ApplicationHelper module ApplicationHelper
def logged? def logged?
@correct_user.id != 0 @correct_user != User::Guest
end end
end end
\ No newline at end of file
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
width:1200px; width:1200px;
height:532px; height:auto;
} }
#b2 #b2
{ {
......
<div id="header"> <div id="header">
<div id="h2" class="ui-dialog-titlebar ui-widget-header ui-corner-all"> <div id="h2" class="ui-dialog-titlebar ui-widget-header ui-corner-all">
<style type="text/css"> <style type="text/css">
#userbar{margin-left: 900px;} #userbar{margin-left: 900px;}
</style> </style>
<%= render 'layouts/userbar' %> <%= render 'layouts/userbar' %>
</div> </div>
<div id="h3" style="background-image:url(<%= image_path 'common/banner.jpg' %>);background-repeat:no-repeat; background-position:right;"> <div id="h3" style="background-image:url(<%= image_path 'common/banner.jpg' %>);background-repeat:no-repeat; background-position:right;">
<div id="logo" style=" color:#FFFFFF; width:800px; height:113px; float:left;"> <div id="logo" style=" color:#FFFFFF; width:800px; height:113px; float:left;">
LOGO LOGO
</div> </div>
<div class="toggler" > <div class="toggler" >
<div id="effect"><%= image_tag 'common/banner2.jpg' %> </div> <div id="effect"><%= image_tag 'common/banner2.jpg' %> </div>
</div> </div>
</div> </div>
<div class=" box ui-widget-content ui-corner-all ui-helper-clearfix" > <div class=" box ui-widget-content ui-corner-all ui-helper-clearfix" >
<div id="h4" class="ui-dialog-titlebar ui-widget-header ui-corner-all"><table border="0" cellspacing="0" cellpadding="0" id="tb1"> <div id="h4" class="ui-dialog-titlebar ui-widget-header ui-corner-all"><table border="0" cellspacing="0" cellpadding="0" id="tb1">
<tr> <tr>
<%= render "layouts/navibar" %> <%= render "layouts/navibar" %>
<div style="float: right;"><%= render "layouts/searchbar" %></div> <div style="float: right;"><%= render "layouts/searchbar" %></div>
</tr> </tr>
</table></div> </table></div>
<div id="h5" > <div id="h5" >
<table border="0" cellspacing="0" cellpadding="0" id="tb2"> <table border="0" cellspacing="0" cellpadding="0" id="tb2">
<tr> <% if logged? %>
<tr>
<td rowspan="2" width="80"> <td rowspan="2" width="80">
<div id="dtx"><%= @correct_user.avatar :small %></div> <div id="dtx"><%= @correct_user.avatar :small %></div>
</td> </td>
<td width="700" height="28"style="padding-left:5px">欢迎回来 <%= @correct_user %></td> <td width="700" height="28"style="padding-left:5px">欢迎回来 <%= @correct_user %></td>
<td width="400" align="right" style="padding-right:10px" >欢迎新会员 <%= User.last %></td> <td width="400" align="right" style="padding-right:10px" >欢迎新会员 <%= User.last %></td>
</tr> </tr>
<tr> <% end %>
<td width="700" style="padding-left:5px">公告:</td> <tr>
<td width ="400"align="right" style="padding-right:10px">天气</td> <td width="700" style="padding-left:5px">公告:</td>
</tr> <td width ="400"align="right" style="padding-right:10px">天气</td>
</table> </tr>
</div> </table>
<div id="h6"> </div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="tb3"> <div id="h6">
<tr> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tb3">
<td width="600"style="padding-left:15px"><%= render 'layouts/actionbar' %></td> <tr>
<td width="600"align="right" style="padding-right:20px"> <td width="600"style="padding-left:15px"><%= render 'layouts/actionbar' %></td>
<select name="effects" id="effectTypes" style="visibility:hidden"><option value="fade">Drop</option></select> <td width="600"align="right" style="padding-right:20px">
<div style="float: right;"><%= render 'layouts/themebar' %></div> <select name="effects" id="effectTypes" style="visibility:hidden"><option value="fade">Drop</option></select>
</td> <div style="float: right;"><%= render 'layouts/themebar' %></div>
</tr> </td>
</table> </tr>
</div> </table>
</div> </div>
</div>
</div> </div>
\ No newline at end of file
This diff is collapsed.
6920 1712
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment