修改了主页面,用户界面
This commit is contained in:
parent
8c80e56019
commit
23fc4b8589
|
@ -33,12 +33,12 @@
|
||||||
<td>
|
<td>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="info_font"><%= h @user.name%></td>
|
<td class="info_font"><%= h @user.name%> <img src="/images/sidebar/male.png" width="11" height="11"/> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><% unless User.current == @user %>
|
<td align="center"><% unless User.current == @user %>
|
||||||
<%= watcher_link(@user, User.current) %>
|
<%= watcher_link(@user, User.current) %>
|
||||||
<% else %><img src="/images/sidebar/male.png" width="11" height="11"/> <%= link_to(l(:label_user_edit), edit_user_path(@user)) if User.current.admin? %><% end %></td>
|
<% else %><%= link_to(l(:label_user_edit), edit_user_path(@user)) if User.current.admin? %><% end %></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></td>
|
</table></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
<td class="font_lighter_sidebar">邮件地址:</td><td><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
<td class="font_lighter_sidebar">邮件地址:</td><td><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class="user_underline"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="user_underline"></div>
|
<div class="user_underline"></div>
|
||||||
<!--关注-->
|
<!--关注-->
|
||||||
|
|
|
@ -119,25 +119,44 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<tr><td>
|
</table></div>
|
||||||
<table width="600" align="center" style="padding-top: 120px" cellspacing="0" cellpadding="0" >
|
<!--model-->
|
||||||
<tr><td width="200" bgcolor="#00adee"><img src="/images/welcome/1.png" width="200" height="200"/></td>
|
<div>
|
||||||
|
<table width="600" align="center" style="padding-top: 100px" cellspacing="0" cellpadding="0" >
|
||||||
|
<tr><td width="200" bgcolor="#00adee"><a href="/projects/show"><img src="/images/welcome/1.png" width="200" height="200"/></td>
|
||||||
<td width="200" bgcolor="#54c8f3"><img src="/images/welcome/2.png" width="200" height="200"/></td>
|
<td width="200" bgcolor="#54c8f3"><img src="/images/welcome/2.png" width="200" height="200"/></td>
|
||||||
<td width="200" bgcolor="#93c5d8"><img src="/images/welcome/3.png" width="200" height="200"/></td>
|
<td width="200" bgcolor="#93c5d8"><img src="/images/welcome/3.png" width="200" height="200"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr height="50"><td align="center">
|
<tr class="font_welcome" height="70"><td align="center">
|
||||||
<p><%=link_to "项目管理",:controller => 'projects', :action => 'new' %></p>
|
<p class="font_welcome2">项目管理</p>
|
||||||
|
<p class="font_lighter">添加描述添加描述添加描述添加描述...</p>
|
||||||
</td><td align="center">
|
</td><td align="center">
|
||||||
<p><%=link_to "项目需求",:controller => 'bids', :action => 'index' %></p>
|
<p class="font_welcome2">项目需求</p>
|
||||||
|
<p class="font_lighter">添加描述添加描述添加描述添加描述...</p>
|
||||||
</td><td align="center">
|
</td><td align="center">
|
||||||
<p><%=link_to "发现开源",:controller=>'projects',:action=>'index' %></p>
|
<p class="font_welcome2">发现开源</p>
|
||||||
|
<p class="font_lighter">添加描述添加描述添加描述添加描述...</p>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table></td>
|
</table>
|
||||||
</tr>
|
</div>
|
||||||
</table>
|
<!--feature-->
|
||||||
<!--feature-->
|
<div class="font_welcome_feature">
|
||||||
<div align="center" padding-top="50px">特性</div>
|
<div align="center">特性
|
||||||
<div>
|
<div class="user_underline3"></div></div>
|
||||||
<table><tr><td></td><td></td><td</td><td></td></tr></table></div>
|
</div>
|
||||||
|
<div style="padding-top: 30px">
|
||||||
|
<table width="600" align="center" cellspacing="0" cellpadding="0">
|
||||||
|
<tr class="font_welcome" align="center">
|
||||||
|
<td width="200" valign="middle"><table><td><img src="/images/welcome/discuss.png" width="30" height="27" /></td><td valign="middle" align="left">讨论区</td></table>
|
||||||
|
<td width="200" valign="middle"><table><td><img src="/images/welcome/news.png" width="30" height="27" /></td><td>新闻</td></table>
|
||||||
|
<td width="200" valign="middle"><table><td><img src="/images/welcome/boards.png" width="30" height="27" /></td><td>里程碑</td></table>
|
||||||
|
</tr>
|
||||||
|
<tr class="font_lighter">
|
||||||
|
<td style="padding-left: 25px">互信、分享互信、分享互信、分享互信、分享互信、分享互信、分享互信、分享互信、分享...</td>
|
||||||
|
<td style="padding-left: 25px">最新动态,最新动态,最新动态,最新动态,最新动态,最新动态,最新动态,最新动态,最新动态,...</td>
|
||||||
|
<td style="padding-left: 25px">我们的历程,我们的历程,我们的历程,我们的历程,我们的历程,我们的历程,我们的历程,我们的历程,...</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div></div>
|
||||||
|
<div style="padding-top: 40px">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
|
@ -82,6 +82,25 @@ ul.tool li{list-style-type:none;
|
||||||
.main_context{
|
.main_context{
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
.font_welcome{
|
||||||
|
font-family:微软雅黑;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
color:#6d6e6e;
|
||||||
|
}
|
||||||
|
.font_welcome2{
|
||||||
|
font-family:微软雅黑;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
color:#6d6e6e;
|
||||||
|
}
|
||||||
|
.font_welcome_feature{
|
||||||
|
font-family:微软雅黑;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
color:#09b2c8;
|
||||||
|
padding-top: 50px;
|
||||||
|
}
|
||||||
.info_font{
|
.info_font{
|
||||||
font-family:微软雅黑;
|
font-family:微软雅黑;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
|
@ -93,12 +112,16 @@ ul.tool li{list-style-type:none;
|
||||||
color:#acaeb1;
|
color:#acaeb1;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
}
|
}
|
||||||
|
.font_lighter_welcome{
|
||||||
|
color:#acaeb1;
|
||||||
|
font-size:12px;
|
||||||
|
font-family:宋体;
|
||||||
|
}
|
||||||
.font_lighter_sidebar{
|
.font_lighter_sidebar{
|
||||||
font-family:微软雅黑;
|
font-family:微软雅黑;
|
||||||
color:#919294;
|
color:#919294;
|
||||||
font-size:13px;
|
font-size:13px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
|
||||||
}
|
}
|
||||||
.font_description{
|
.font_description{
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
|
@ -198,6 +221,15 @@ ul.tool li{list-style-type:none;
|
||||||
background-color:#c6e9fe;
|
background-color:#c6e9fe;
|
||||||
overflow:hidden
|
overflow:hidden
|
||||||
}
|
}
|
||||||
|
.user_underline3{
|
||||||
|
margin:1;
|
||||||
|
padding:1;
|
||||||
|
width:120px;
|
||||||
|
height:1px;
|
||||||
|
background-color:#c6e9fe;
|
||||||
|
overflow:hidden;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
.line_under{
|
.line_under{
|
||||||
border-bottom: 1px dashed rgb(204, 204, 204);
|
border-bottom: 1px dashed rgb(204, 204, 204);
|
||||||
}
|
}
|
||||||
|
@ -794,17 +826,14 @@ margin-left:-10px;
|
||||||
#header a {font-family: Verdana, sans-serif; font-size: 12px; color:#808080;}
|
#header a {font-family: Verdana, sans-serif; font-size: 12px; color:#808080;}
|
||||||
#login-form_new table
|
#login-form_new table
|
||||||
{
|
{
|
||||||
padding:25px 28px;
|
padding:20px 25px;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
|
|
||||||
width:380px;
|
width:380px;
|
||||||
margin:10px auto;
|
margin-top: 50px;
|
||||||
margin-top:100px;
|
|
||||||
|
|
||||||
width:310px;
|
width:310px;
|
||||||
margin:10px auto;
|
|
||||||
|
|
||||||
font-family:微软雅黑,lucida grande,verdana;
|
font-family:微软雅黑,lucida grande,verdana;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
-webkit-border-radius:10px;
|
-webkit-border-radius:10px;
|
||||||
|
|
Loading…
Reference in New Issue