|
|
|
@ -66,16 +66,96 @@
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!--add by huang-->
|
|
|
|
|
<div class="table_" style="height:230px;">
|
|
|
|
|
</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>
|
|
|
|
|