diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 2e645ddb..95ada11d 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -1,11 +1,13 @@ -
+
- <%= l(:label_welcome_trustie) %> - , <%= l(:label_welcome_trustie_description) %> + + +
<%= l(:label_welcome_trustie) %> , <%= l(:label_welcome_trustie_description) %>
-
- <%= call_hook :view_account_login_top %> + + + - + - + <% end %>
<%= call_hook :view_account_login_top %>
<%= form_tag(signin_path) do %> <%= back_url_hidden_field_tag if is_logout? %> @@ -27,31 +29,27 @@ <% end %>
- <% if Setting.autologin? %> - <% end %> - <% if Setting.autologin? %> <% end %>
- <% if Setting.lost_password? %> + <% if Setting.lost_password? %> <%= link_to l(:label_password_lost), lost_password_path %> - <% end %> -
<% else %> - +
+ - + @@ -62,18 +60,20 @@
<%= l(:label_welcome) %> <%=link_to User.current.lastname< <%= l(:label_join) %>
<%= image_tag(url_to_avatar(User.current), :class => 'avatar') %><%= image_tag(url_to_avatar(User.current), :class => 'avatar') %> <%= link_to l(:label_user_watcher)+"("+User.watched_by(User.current).count.to_s+")", user_path(User.current) %>  <%=link_to l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count)+"("+User.current.watcher_users(User.current.id).count.to_s+")", user_path(User.current) %>
+ +
<% end %> <% end %> -
- <%= call_hook :view_account_login_bottom %> +
<%= call_hook :view_account_login_bottom %> <% if params[:username].present? %> <%= javascript_tag "$('#password').focus();" %> <% else %> <%= javascript_tag "$('#username').focus();" %> - <% end %> + <% end %> + +
- @@ -224,6 +224,8 @@






+ +
diff --git a/public/images/avatars/User/4246 b/public/images/avatars/User/4246 index 65ef363c..78704a09 100644 Binary files a/public/images/avatars/User/4246 and b/public/images/avatars/User/4246 differ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 72da6759..066986e3 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -9,16 +9,22 @@ h4, .wiki h3 {font-size: 13px;} h4 {border-bottom: 1px dotted #bbb;} /*huang*/ /*current position*/ -div.positon-f{ +div.position-f{ float: left; + width: width: 238px; + line-height: 1em; } div.position-s{ - + float: left; + width: width: 430px; + line-height: 1em; } div.position-t{ - + float: left; + width: width: 238px; + line-height: 1em; } /*end current position*/ /*forums-index*/ @@ -611,6 +617,7 @@ ul.tool li{list-style-type:none; margin-top: 70px; float:left; width: 49%; + padding-left: 0px; } .welcome_right{ diff --git a/public/stylesheets/welcome.css b/public/stylesheets/welcome.css index bd8ec1d9..baa3fd49 100644 --- a/public/stylesheets/welcome.css +++ b/public/stylesheets/welcome.css @@ -77,7 +77,7 @@ ul { padding: 0px; margin-top: 0px; margin-bottom: 0px; - width: 50%; + /*width: 50%;*/ } ul.welcome-message-list{