From 25abf5115801153d753dff33957fbba4f55870fa Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 20 Sep 2017 17:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E7=89=88=E6=9C=AC=E5=BA=93?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=E4=B8=8E=E5=85=B6=E5=AE=83=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_single_or_multiple_question.html.erb | 2 +- .../repositories/_latest_commit.html.erb | 6 +- .../_shixun_dir_list_content.html.erb | 2 +- app/views/repositories/shixun_show.html.erb | 111 ++++++++++-------- public/stylesheets/css/project.css | 12 +- public/stylesheets/css/public.css | 2 + public/stylesheets/repository.css | 4 +- 7 files changed, 74 insertions(+), 65 deletions(-) diff --git a/app/views/challenges/_single_or_multiple_question.html.erb b/app/views/challenges/_single_or_multiple_question.html.erb index 04496dd2d..9ce3fb2eb 100644 --- a/app/views/challenges/_single_or_multiple_question.html.erb +++ b/app/views/challenges/_single_or_multiple_question.html.erb @@ -23,7 +23,7 @@ <%#= form_tag(url_for(new_or_edit_choose_question_shixun_challenge_path(@challenge, :shixun_id => @shixun, :type => @type, :position => @position)), :remote => true, :id => 'challenge_choose_update') do |f| %>
diff --git a/app/views/repositories/_latest_commit.html.erb b/app/views/repositories/_latest_commit.html.erb index b828aee73..768966623 100644 --- a/app/views/repositories/_latest_commit.html.erb +++ b/app/views/repositories/_latest_commit.html.erb @@ -1,11 +1,11 @@ <% if @changesets_latest_coimmit && @changesets_latest_coimmit.try(:time) %> -
- <%= image_tag(url_to_avatar(user_commit_rep(@changesets_latest_coimmit.try(:author_email))), :width => "25", :height => "25", :class => "fl portraitRadius mt2 ml4 mr5") %> +
+ <%= image_tag(url_to_avatar(user_commit_rep(@changesets_latest_coimmit.try(:author_email))), :width => "35", :height => "35", :class => "fl portraitRadius mt2 ml4 mr5") %> <%= link_to_user_mail(@changesets_latest_coimmit.try(:author_email), "fb fontGrey3 mr5 fl hidden maxwidth150 ml5") %>
提交于 <%= time_tag(@changesets_latest_coimmit.try(:time)) %> 前:
<%= @changesets_latest_coimmit.message %>
-
+
<%= render :partial => 'link_to_functions' %>
<% end %> \ No newline at end of file diff --git a/app/views/repositories/_shixun_dir_list_content.html.erb b/app/views/repositories/_shixun_dir_list_content.html.erb index 76986c8df..d966d4616 100644 --- a/app/views/repositories/_shixun_dir_list_content.html.erb +++ b/app/views/repositories/_shixun_dir_list_content.html.erb @@ -7,7 +7,7 @@ <%# latest_changes = get_trees_last_changes(@project.gpid, @rev, ent_path, @g) %> - + <%= link_to h(ent_name), {:action => (entry.is_dir? ? 'shixun_show' : 'shixun_entry'), :id => @shixun, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev}, diff --git a/app/views/repositories/shixun_show.html.erb b/app/views/repositories/shixun_show.html.erb index 78b04fec7..969ecde34 100644 --- a/app/views/repositories/shixun_show.html.erb +++ b/app/views/repositories/shixun_show.html.erb @@ -1,59 +1,66 @@ -
-