添加界面文字描述、界面风格
This commit is contained in:
parent
1cf8b8bbd1
commit
ec97ecdcf6
|
@ -66,16 +66,96 @@
|
|||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div> -->
|
||||
<!--add by huang-->
|
||||
</div>
|
||||
|
||||
<div class="table_" style="height:230px;">
|
||||
<div class="welcone_left">
|
||||
<table width="240px">
|
||||
<tr><td><span class="font_welcome_trustie">Trustieforge</span><span class="">是一个社交化的项目管理、软件开发和众包平台。</span></td></tr>
|
||||
<tr><td class="font_lighter_trustie">Trustieforge is a socialized collaboration platform for project management,
|
||||
software development and software crowdsourcing.</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
<table>
|
||||
<tr><td align="left">
|
||||
<%= call_hook :view_account_login_top %>
|
||||
<div id="login-form_new">
|
||||
<%= form_tag(signin_path) do %>
|
||||
<%= back_url_hidden_field_tag %>
|
||||
<% unless User.current.logged? %><!--Modified by young-->
|
||||
<% unless User.current.logged? %>
|
||||
<table class="welcone_right">
|
||||
<tr>
|
||||
<td align="right"><label for="username">用户:</label></td>
|
||||
<td align="left"><%= text_field_tag 'username', params[:username], :tabindex => '1' %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><label for="password">密码:</label></td>
|
||||
<td align="left"><%= password_field_tag 'password', nil, :tabindex => '2' %></td>
|
||||
</tr>
|
||||
<% if Setting.openid? %>
|
||||
<tr>
|
||||
<td align="right"><label for="openid_url"><%=l(:field_identity_url)%></label></td>
|
||||
<td align="left"><%= text_field_tag "openid_url", nil, :tabindex => '3' %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="left">
|
||||
<% if Setting.autologin? %>
|
||||
<label for="autologin"><%= check_box_tag 'autologin', 1, false, :tabindex => 4 %> <%= l(:label_stay_logged_in) %></label>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<% if Setting.lost_password? %>
|
||||
<%= link_to l(:label_password_lost), lost_password_path %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="submit" name="login" value="<%=l(:button_login)%> »" tabindex="5"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= call_hook :view_account_login_bottom %>
|
||||
|
||||
<% if params[:username].present? %>
|
||||
<%= javascript_tag "$('#password').focus();" %>
|
||||
<% else %>
|
||||
<%= javascript_tag "$('#username').focus();" %>
|
||||
<% end %>
|
||||
|
||||
</td></tr>
|
||||
</table></div></div>
|
||||
|
||||
-->
|
||||
<!--add by huang-->
|
||||
|
||||
|
||||
|
||||
<!--add by huang-->
|
||||
<div style="height:200px;">
|
||||
<div class="welcone_left">
|
||||
<table width="300px">
|
||||
<tr><td><span class="font_welcome_trustie">Trustieforge</span> <span class="font_welcome_Cdescription">是一个社交化的项目管理、软件开发和众包平台。</span></td></tr>
|
||||
<tr><td class="font_welcome_Edescription">Trustieforge is a socialized collaboration platform for project management,
|
||||
software development and software crowdsourcing.</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<table>
|
||||
<tr><td>
|
||||
<%= call_hook :view_account_login_top %>
|
||||
<div id="login-form_new">
|
||||
<%= form_tag(signin_path) do %>
|
||||
<%= back_url_hidden_field_tag %>
|
||||
<% unless User.current.logged? %> <!--modified by young-->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="right"><label for="username">用户:</label></td>
|
||||
|
|
|
@ -106,12 +106,26 @@ ul.tool li{list-style-type:none;
|
|||
font-size: 16px;
|
||||
color:#6d6e6e;
|
||||
}
|
||||
.font_welcome2{
|
||||
font-family:微软雅黑;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color:#6d6e6e;
|
||||
|
||||
.font_welcome_trustie{
|
||||
font-family:Impact;
|
||||
font-weight: regular;
|
||||
font-size: 24px;
|
||||
color:#15bccf;
|
||||
}
|
||||
|
||||
.font_welcome_Cdescription{
|
||||
font-family: 微软雅黑;
|
||||
font-size: 18px;
|
||||
color: #5c5c5c;
|
||||
}
|
||||
|
||||
.font_welcome_Edescription{
|
||||
font-family: Default;
|
||||
font-size: 16px;
|
||||
color: #9a9a9a;
|
||||
}
|
||||
|
||||
.font_welcome_feature{
|
||||
font-family:微软雅黑;
|
||||
font-weight: bold;
|
||||
|
@ -131,6 +145,7 @@ ul.tool li{list-style-type:none;
|
|||
color:#acaeb1;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.font_lighter_welcome{
|
||||
color:#acaeb1;
|
||||
font-size:12px;
|
||||
|
@ -161,7 +176,22 @@ ul.tool li{list-style-type:none;
|
|||
}
|
||||
|
||||
.spaceleft{float: left; width: 240px;}
|
||||
|
||||
.spaceright{float:left; width:620px;}
|
||||
|
||||
.welcone_left{
|
||||
margin-top: 70px;
|
||||
margin-left: 90px;
|
||||
float:left;
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
.welcome_right{
|
||||
margin-right:200px;
|
||||
float:right;
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
.inf_user_motto{
|
||||
padding-left:8px;
|
||||
margin:5px 0px 0px 0px;
|
||||
|
@ -869,7 +899,7 @@ margin-left:-10px;
|
|||
-webkit-box-shadow:0 0 6px #039ea0;
|
||||
box-shadow:0 0 6px #039ea0;
|
||||
border:1px solid #AAA;
|
||||
margin-left: 600px;
|
||||
margin-left:20px;
|
||||
}
|
||||
/*end*/
|
||||
.splitcontentright{float:right; width:49%;}
|
||||
|
|
Loading…
Reference in New Issue