Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
faab40456a
|
@ -957,16 +957,17 @@ class ProjectsController < ApplicationController
|
|||
end
|
||||
# end
|
||||
|
||||
before_filter :toggleCourse, only: [:finishcourse, :restartcourse]
|
||||
# TODO:#finishcourse and #restartcourse 没有设置权限,也就是说,任何人的调用都会关闭or重启课程。
|
||||
# 最好通过用户与项目的权限解决这种事情。还没写
|
||||
def finishcourse
|
||||
course_prefs = Course.find_by_extra(@project.identifier)
|
||||
#course_prefs = Course.find_by_extra(@project.identifier)
|
||||
# setup_time = Time.parse(course_prefs.setup_time)
|
||||
# end_time = Time.parse(course_prefs.endup_time)
|
||||
yesterday = Date.today.prev_day.to_time
|
||||
|
||||
course_prefs.endup_time = yesterday
|
||||
@save_flag = course_prefs.save
|
||||
@course_prefs.endup_time = yesterday
|
||||
@save_flag = @course_prefs.save
|
||||
|
||||
respond_to do |format|
|
||||
format.js
|
||||
|
@ -974,11 +975,11 @@ class ProjectsController < ApplicationController
|
|||
end
|
||||
|
||||
def restartcourse
|
||||
course_prefs = Course.find_by_extra(@project.identifier)
|
||||
#course_prefs = Course.find_by_extra(@project.identifier)
|
||||
day = Time.parse("3000-01-01")
|
||||
|
||||
course_prefs.endup_time = day
|
||||
@save_flag = course_prefs.save
|
||||
@course_prefs.endup_time = day
|
||||
@save_flag = @course_prefs.save
|
||||
|
||||
respond_to do |format|
|
||||
format.js {
|
||||
|
@ -988,6 +989,13 @@ class ProjectsController < ApplicationController
|
|||
end
|
||||
|
||||
private
|
||||
def toggleCourse
|
||||
@course_prefs = Course.find_by_extra(@project.identifier)
|
||||
unless (@course_prefs.teacher == User.current || User.current.admin?)
|
||||
render_403
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def select_project_layout
|
||||
project = Project.find_by_id(params[:id])
|
||||
|
|
|
@ -8,6 +8,30 @@ class SoftapplicationsController < ApplicationController
|
|||
def index
|
||||
@softapplications = Softapplication.all
|
||||
|
||||
#new added fenyefunction
|
||||
@limit = 5
|
||||
@softapplication_count = @softapplications.count
|
||||
@softapplication_pages = Paginator.new @softapplication_count, @limit, params['page']
|
||||
@offset ||= @softapplication_pages.offset
|
||||
#@softapplications = @softapplications[@offset,@limit]
|
||||
#new added end
|
||||
|
||||
#new added sort
|
||||
if params[:softapplication_sort_type].present?
|
||||
case params[:softapplication_sort_type]
|
||||
when '0'
|
||||
@softapplications = @softapplications[@offset, @limit]
|
||||
@s_state = 0
|
||||
when '1'
|
||||
@softapplications = @softapplications.sort { |x, y| y[:created_at] <=> x[:created_at]}[@offset, @limit]
|
||||
@s_state = 1
|
||||
end
|
||||
else
|
||||
@softapplications = @softapplications.sort { |x, y| y[:created_at] <=> x[:created_at]}[@offset, @limit]
|
||||
@s_state = 1
|
||||
end
|
||||
#new added end
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.json { render json: @softapplications }
|
||||
|
@ -16,8 +40,25 @@ class SoftapplicationsController < ApplicationController
|
|||
|
||||
# GET /softapplications/1
|
||||
# GET /softapplications/1.json
|
||||
|
||||
def percent_of(num, percent)
|
||||
num.to_f / percent.to_f * 100.0
|
||||
end
|
||||
|
||||
def show
|
||||
@softapplication = Softapplication.find(params[:id])
|
||||
# 打分统计
|
||||
stars_reates = @softapplication.
|
||||
rates(:quality)
|
||||
stars_reates_count = stars_reates.count == 0 ? 1 : stars_reates.count
|
||||
stars_status = stars_reates.select("stars, count(*) as scount").
|
||||
group("stars")
|
||||
|
||||
@stars_status_map = Hash.new(0.0)
|
||||
stars_status.each do |star_status|
|
||||
@stars_status_map["star#{star_status.stars.to_i}".to_sym] =
|
||||
percent_of(star_status.scount, stars_reates_count).to_s + "%"
|
||||
end
|
||||
@jours = @softapplication.journals_for_messages.order('created_on DESC')
|
||||
@image_results = []
|
||||
@softapplication.attachments.each do |f|
|
||||
|
|
|
@ -39,17 +39,18 @@ class WelcomeController < ApplicationController
|
|||
@courseCount = Project.course_entities.count
|
||||
@teacherCount = User.teacher.count
|
||||
@studentCount = User.student.count
|
||||
@logoLink = logolink(params[:school_id])
|
||||
@logoLink = logolink()
|
||||
end
|
||||
|
||||
|
||||
|
||||
def logolink(id)
|
||||
def logolink()
|
||||
id = params[:school_id]
|
||||
logo_link = ""
|
||||
if id.nil? and User.current.user_extensions.school.nil?
|
||||
logo_link = '/images/transparent.png'
|
||||
else
|
||||
if id.to_i == 0
|
||||
if id == "0"
|
||||
logo_link = '/images/transparent.png'
|
||||
else
|
||||
if id.nil?
|
||||
|
|
|
@ -59,7 +59,13 @@ module IssuesHelper
|
|||
|
||||
def issue_heading(issue)
|
||||
#h("#{issue.tracker} ##{issue.id}")
|
||||
h("#{issue.tracker} #{issue.source_from}")
|
||||
#h("#{issue.tracker} #{issue.source_from}")
|
||||
s = ''
|
||||
s << ">>"
|
||||
s << link_to(@issue.project.name+l(:issue_list), project_issues_path(@issue.project))
|
||||
s << " >"
|
||||
s << @issue.source_from
|
||||
s.html_safe
|
||||
end
|
||||
|
||||
def render_issue_subject_with_tree(issue)
|
||||
|
|
|
@ -1,2 +1,18 @@
|
|||
module SoftapplicationsHelper
|
||||
def sort_softapplication(state)
|
||||
content = ''.html_safe
|
||||
case state
|
||||
when 0
|
||||
content << content_tag('li', link_to(l(:label_sort_by_time), {controller: 'softapplications', action: 'index' ,:softapplication_sort_type => '1'}))
|
||||
content << content_tag('li', link_to(l(:label_sort_by_active), {controller: 'softapplications', action: 'index' ,:softapplication_sort_type => '0'}, :class=>"selected"), :class=>"selected")
|
||||
|
||||
when 1
|
||||
content << content_tag('li', link_to(l(:label_sort_by_time), {controller: 'softapplications', action: 'index' ,:softapplication_sort_type => '1'}, :class=>"selected"), :class=>"selected")
|
||||
content << content_tag('li', link_to(l(:label_sort_by_active), {controller: 'softapplications', action: 'index' ,:softapplication_sort_type => '0'}))
|
||||
end
|
||||
content = content_tag('ul', content)
|
||||
content_tag('div', content, :class => "tabs")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -54,57 +54,111 @@ module UserScoreHelper
|
|||
watcher_count = Watcher.where("watchable_type = 'principal' AND watchable_id = ?", user.id).count
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
def calculate_skill_count(user)
|
||||
|
||||
praise_count = 0
|
||||
tread_count = 0
|
||||
praise_count_l0 = 0
|
||||
praise_count_l1 = 0
|
||||
praise_count_l2 = 0
|
||||
tread_count_l0 = 0
|
||||
tread_count_l1 = 0
|
||||
tread_count_l2 = 0
|
||||
issues = Issue.where('author_id = ?', user.id)
|
||||
issues.each do |i|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', i.id)
|
||||
ptcs.each do |p|
|
||||
praise_count = praise_count + p.praise_num
|
||||
tread_count = tread_count + p.tread_num
|
||||
pts = PraiseTread.where('praise_tread_object_id = ?', i.id)
|
||||
pts.each do |p|
|
||||
templevel = calculate_level(User.find(p.user_id))
|
||||
|
||||
if templevel.to_i == 0
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l0 = praise_count_l0 + 1
|
||||
else
|
||||
tread_count_l0 = tread_count_l0 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 1
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l1 = praise_count_l1 + 1
|
||||
else
|
||||
tread_count_l1 = tread_count_l1 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 2
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l2 = praise_count_l2 + 1
|
||||
else
|
||||
tread_count_l2 + tread_count_l2 + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
bids = Bid.where('author_id = ?', user.id)
|
||||
bids.each do |b|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', b.id)
|
||||
ptcs = PraiseTread.where('praise_tread_object_id = ?', b.id)
|
||||
ptcs.each do |p|
|
||||
praise_count = praise_count + p.praise_num
|
||||
tread_count = tread_count + p.tread_num
|
||||
templevel = calculate_level(User.find(p.user_id))
|
||||
|
||||
if templevel.to_i == 0
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l0 = praise_count_l0 + 1
|
||||
else
|
||||
tread_count_l0 = tread_count_l0 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 1
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l1 = praise_count_l1 + 1
|
||||
else
|
||||
tread_count_l1 = tread_count_l1 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 2
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l2 = praise_count_l2 + 1
|
||||
else
|
||||
tread_count_l2 + tread_count_l2 + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
contests = Contest.where('author_id = ?', user.id)
|
||||
contests.each do |c|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', c.id)
|
||||
ptcs = PraiseTread.where('praise_tread_object_id = ?', c.id)
|
||||
ptcs.each do |p|
|
||||
praise_count = praise_count + p.praise_num
|
||||
tread_count = tread_count + p.tread_num
|
||||
templevel = calculate_level(User.find(p.user_id))
|
||||
|
||||
if templevel.to_i == 0
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l0 = praise_count_l0 + 1
|
||||
else
|
||||
tread_count_l0 = tread_count_l0 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 1
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l1 = praise_count_l1 + 1
|
||||
else
|
||||
tread_count_l1 = tread_count_l1 + 1
|
||||
end
|
||||
end
|
||||
if templevel.to_i == 2
|
||||
if p.praise_or_tread == 1
|
||||
praise_count_l2 = praise_count_l2 + 1
|
||||
else
|
||||
tread_count_l2 + tread_count_l2 + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
level = calculate_level(user)
|
||||
|
||||
skill_score = 0
|
||||
|
||||
if level == 0
|
||||
skill_score = praise_count - 0.5 * tread_count
|
||||
end
|
||||
if level == 1
|
||||
skill_score = 2 * praise_count - 1.5 * tread_count
|
||||
end
|
||||
if level == 2
|
||||
skill_socre = 3 * praise_count - 2.5 * tread_count
|
||||
end
|
||||
if level == 3
|
||||
skill_socre = 4 * praise_count - 3.5 * tread_count
|
||||
end
|
||||
if level == 4
|
||||
skill_socre = 5 * praise_count - 4.5 * tread_count
|
||||
end
|
||||
|
||||
# case level
|
||||
# when 0 skill_score = praise_count - 0.5 * tread_count
|
||||
|
@ -114,12 +168,19 @@ module UserScoreHelper
|
|||
# when 4 skill_socre = 5 * praise_count - 4.5 * tread_count
|
||||
# end
|
||||
|
||||
|
||||
skill_score = 2 * praise_count_l0.to_f + 3 * praise_count_l1.to_f + 4 * praise_count_l2.to_f
|
||||
- 1 * tread_count_l0.to_f - 1.5 * tread_count_l1.to_f - 2 * tread_count_l2.to_f
|
||||
|
||||
tread_user_count = PraiseTread.where('praise_or_tread = ? AND user_id = ?', 0, user.id).count
|
||||
|
||||
skill_score = skill_score - 0.5 * tread_user_count
|
||||
|
||||
skill_score = skill_score.to_f - tread_user_count.to_f
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return skill_score
|
||||
|
||||
|
||||
|
@ -135,7 +196,7 @@ module UserScoreHelper
|
|||
issues.each do |i|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', i.id)
|
||||
ptcs.each do |p|
|
||||
if p.praise_num > max_praise_num
|
||||
if p.praise_num.to_i > max_praise_num.to_i
|
||||
max_praise_num = p.praise_num
|
||||
end
|
||||
end
|
||||
|
@ -145,7 +206,7 @@ module UserScoreHelper
|
|||
bids.each do |b|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', b.id)
|
||||
ptcs.each do |p|
|
||||
if p.praise_num > max_praise_num
|
||||
if p.praise_num.to_i > max_praise_num.to_i
|
||||
max_praise_num = p.praise_num
|
||||
end
|
||||
end
|
||||
|
@ -155,7 +216,7 @@ module UserScoreHelper
|
|||
contests.each do |c|
|
||||
ptcs = PraiseTreadCache.where('object_id = ?', c.id)
|
||||
ptcs.each do |p|
|
||||
if p.praise_num > max_praise_num
|
||||
if p.praise_num.to_i > max_praise_num.to_i
|
||||
max_praise_num = p.praise_num
|
||||
end
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<tr>
|
||||
<td>简介:</td>
|
||||
<td>
|
||||
<%= c_softapplication.softapplication.description %>
|
||||
<%= c_softapplication.softapplication.description.truncate(90, omission: '...') %>
|
||||
</td>
|
||||
</tr></br>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
<%
|
||||
id = "finish_course_#{project.id}"
|
||||
display = (project.course_extra.teacher.id == User.current.id )
|
||||
display = (project.course_extra.teacher.id == User.current.id || User.current.admin?)
|
||||
%>
|
||||
|
||||
<% if display && course_endTime_timeout?(project) #如果课程已结束%>
|
||||
<%= link_to '重启课程', restartcourse_project_path(project), :remote => true, :method => :post, :id => id, :confirm => ('确定要重启课程?') %>
|
||||
<% if display #如果课程已结束%>
|
||||
<% linkPath = course_endTime_timeout?(project) ? restartcourse_project_path(project) : finishcourse_project_path(project, format: :js) %>
|
||||
<% desc = course_endTime_timeout?(project) ? '重启' : '关闭' %>
|
||||
|
||||
<%= link_to "#{desc}课程", linkPath, :remote => true, :method => :post, :id => id, :confirm => ("确定要#{desc}课程?") %>
|
||||
<% else %>
|
||||
<%= link_to '关闭课程', finishcourse_project_path(project), :remote => true, :method => :post, :id => id, :confirm => ('确定要关闭课程?') %>
|
||||
<!-- 关闭课程block -->
|
||||
<% end %>
|
||||
|
|
|
@ -1,4 +1,132 @@
|
|||
<!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 -->
|
||||
<style>
|
||||
#ver-zebra, .file_table_des
|
||||
{
|
||||
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
|
||||
font-size: 12px;
|
||||
margin: 5px 10px;
|
||||
width: 98%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
#ver-zebra th
|
||||
{
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
padding: 12px 15px;
|
||||
border-right: 1px solid #fff;
|
||||
border-left: 1px solid #fff;
|
||||
color: #039;
|
||||
text-align: left;
|
||||
}
|
||||
#ver-zebra td
|
||||
{
|
||||
padding: 8px 15px;
|
||||
border-right: 1px solid #fff;
|
||||
border-left: 1px solid #fff;
|
||||
color: #669;
|
||||
}
|
||||
#ver-zebra td.description {
|
||||
background-color: white;
|
||||
padding: 0px;
|
||||
margin: 0px auto;
|
||||
}
|
||||
div.tags_area {
|
||||
padding: 2px 10px 10px 10px;
|
||||
margin: 0px;
|
||||
margin-bottom: 10px;
|
||||
/*border-bottom: 1px dashed #CCCCCC;*/
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.tags_gradint {
|
||||
}
|
||||
.read-more{
|
||||
padding: 5px;
|
||||
border-top: 4px double #ddd;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
}
|
||||
.read-more a{
|
||||
padding-right: 22px;
|
||||
background: url() no-repeat 100% 50%;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
.read-more a:hover{
|
||||
color: #000;
|
||||
}
|
||||
.vzebra-odd
|
||||
{
|
||||
background: #eff2ff;
|
||||
}
|
||||
.vzebra-even
|
||||
{
|
||||
background: #e8edff;
|
||||
}
|
||||
#ver-zebra #vzebra-adventure, #ver-zebra #vzebra-children
|
||||
{
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #c8d4fd;
|
||||
}
|
||||
#ver-zebra #vzebra-comedy, #ver-zebra #vzebra-action
|
||||
{
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #d6dfff;
|
||||
}
|
||||
.filename{
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
div.pagination{
|
||||
margin: 10px 0px;
|
||||
height: 1.5em;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
}
|
||||
.m5p5{
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
color: white !important;
|
||||
margin: 8px;
|
||||
padding: 3px 7px;
|
||||
}
|
||||
.m5p5:hover {
|
||||
text-decoration: none;
|
||||
/*padding-bottom: 3px;*/
|
||||
/*border-bottom: 1px solid #666666;*/
|
||||
border-radius: 4px;
|
||||
border: 1px solid #15bccf;
|
||||
box-shadow: 3px 3px 3px #666666;
|
||||
}
|
||||
.relation_file_div{
|
||||
margin: 0px 25px;
|
||||
}
|
||||
.relation_file_div fieldset{
|
||||
margin: 0px 0px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
transition: all 2s linear 1s;
|
||||
}
|
||||
.relation_file_div input#attach_search:focus{
|
||||
border: 1px solid #1B95C6;
|
||||
box-shadow: 0px 0px 4px #1B95C6;
|
||||
width: 200px;
|
||||
}
|
||||
.relation_file_div input#attach_search{
|
||||
width: 150px;
|
||||
outline: none;
|
||||
border-radius: 5px;
|
||||
-webkit-transition: 1s width;
|
||||
-moz-transition : 1s width;
|
||||
-o-transition : 1s width;
|
||||
transition : 1s width;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<span class="borad-title"><%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>资源共享区</span>
|
||||
|
||||
|
@ -88,9 +216,7 @@
|
|||
<td class='description' colspan="5">
|
||||
<div class="tags_area">
|
||||
<% @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设Z | %>
|
||||
<div id='attach_<%=file.id%>' ><%#需要交由浏览器异步刷新,或者一次连表查询,n+1 查询问题搞不定%>
|
||||
<%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"}%>
|
||||
</div>
|
||||
<%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"}%>
|
||||
<div class="tags_gradint"></div>
|
||||
</div>
|
||||
<div class="read-more hidden"><a href="javascript:void(0);" onclick="readmore(this);"> 更多 </a></div>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<%# html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
||||
|
||||
<% html_title "#{@issue.tracker.name} #{@issue.source_from}: #{@issue.subject}" %>
|
||||
|
||||
<%= render :partial => 'action_menu' %>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<div class="top-content">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="info_font" style="width: 240px; color: #15bccf">创新竞赛社区</td>
|
||||
<td style="width: 430px; color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
|
||||
<td rowspan="2" width="300px">
|
||||
<div class="project-search" style="float: right">
|
||||
<%= text_field_tag 'name', params[:name], :size => 25 %>
|
||||
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
||||
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding-left: 8px"><%=link_to request.host()+"/softapplications", :controller=>'softapplications', :action=>'index' %></td>
|
||||
<td ><%=link_to l(:field_homepage), home_path %> >
|
||||
<%=link_to l(:label_contest_softapplication), :controller=>'softapplications', :action=>'index' %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
|
@ -4,5 +4,5 @@
|
|||
<% end %>
|
||||
$('#finish_course_<%=@project.id%>').replaceWith("<%= j(render partial: 'courses/set_course_time', :locals => {:project => @project} )%>")
|
||||
<% else %>
|
||||
alert('设置失败,请在论坛提交问题,等待管理员处理。');
|
||||
alert('权限不足,设置失败,请在论坛提交问题,等待管理员处理。');
|
||||
<% end %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h1>参赛应用</h1>
|
||||
<!-- <h1>参赛应用</h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -30,4 +30,44 @@
|
|||
|
||||
<br />
|
||||
|
||||
<%= link_to 'New Softapplication', new_softapplication_path %>
|
||||
<%= link_to '发布新应用', new_softapplication_path %> -->
|
||||
|
||||
|
||||
|
||||
<%=render :partial => 'layouts/base_softapplication_index_top_content'%>
|
||||
|
||||
<% if @softapplications.size > 0%>
|
||||
<%= sort_softapplication(@s_state)%>
|
||||
|
||||
<div width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
||||
<% @softapplications.each do |softapplication| %>
|
||||
<div>
|
||||
<span style="font-size: 15px; margin-right: 10px;"><strong><%= link_to softapplication.name, softapplication, :target => "_blank" %></strong></span>
|
||||
<span><%= rating_for softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %></span>
|
||||
|
||||
</div>
|
||||
<div class="avatar-4"; style="float: left; margin-top: 7px "><%= image_tag('/images/app1.png')%></div>
|
||||
<div style="float: left; width: 600px; padding-top: 6px; margin-left: 8px"><%= softapplication.description.truncate(95, omission: '...') %></div>
|
||||
<div style="float: left; width: 200px; margin-left: 70px; margin-top: -3px; line-height: 0.5em">
|
||||
<%contest = softapplication.contests.first%>
|
||||
<p>所属竞赛:<%= contest ? link_to(contest.name, show_softapplication_contest_path(contest) ) : '尚未加入竞赛'%></p>
|
||||
<p>所属类别:<%= softapplication.app_type_name %></p>
|
||||
<p>系统支持:<%= softapplication.android_min_version_available %></p>
|
||||
</div>
|
||||
<div style="padding-left: 53px">
|
||||
<span>开发人员:<%= softapplication.application_developers %></span>
|
||||
<span style="padding-left: 50px">发布时间:<%=format_time softapplication.created_at %></span>
|
||||
</div>
|
||||
<div style="border-left: 1px solid #d9d8d8; border-bottom: 1px solid #d9d8d8; margin-left: 50px; padding-bottom: 10px; margin-bottom: 20px; width: 66%"></div>
|
||||
<div class="underline-contests_one" style="margin-top: -7px"></div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
<%= render :partial => "layouts/no_content"%>
|
||||
<% end %>
|
||||
|
||||
|
||||
<div class="pagination"><%= pagination_links_full @softapplication_pages, @softapplication_count, :per_page_links => false %></div>
|
||||
|
||||
<% html_title l(:label_softapplication_list)%>
|
|
@ -27,7 +27,7 @@
|
|||
<tr>
|
||||
<td style="width: 570px; padding-left:40px; word-wrap: break-word; word-break: break-all">所属类别:<%= @softapplication.app_type_name %></td>
|
||||
<% contest = @softapplication.contests.first %>
|
||||
<td style="width: 240px; word-wrap: break-word; word-break: break-all">所属竞赛:<%= contest ? link_to(contest.name, show_contest_contest_path(contest)) : '尚未加入竞赛'%></td>
|
||||
<td style="width: 240px; word-wrap: break-word; word-break: break-all">所属竞赛:<%= contest ? link_to(contest.name, show_softapplication_contest_path(contest)) : '尚未加入竞赛'%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-left: 40px">发布人员:<%= @softapplication.user.name %></td>
|
||||
|
@ -56,14 +56,40 @@
|
|||
<div class="underline-contests_one"></div>
|
||||
|
||||
<div style="height: auto; padding-bottom: 10px">
|
||||
<strong><div style="font-size: 15px">应用简介:</div></strong>
|
||||
<div><%= @softapplication.description.truncate(150, omission: '...') %></div>
|
||||
<strong><div style="font-size: 15px;">应用简介:</div></strong>
|
||||
<div style="padding-top: 5px"><%= @softapplication.description %></div>
|
||||
</div>
|
||||
<div class="underline-contests_one"></div>
|
||||
|
||||
<div style="height: auto; padding-bottom: 10px">
|
||||
<div style="font-size: 15px;"><strong>应用得分:</strong></div>
|
||||
<div style="overflow: hidden">
|
||||
<div style="margin-left: 25%; float: left">
|
||||
<div style="padding-left: 45px; padding-bottom: 5px">得分比例</div>
|
||||
<div>
|
||||
<% 100.step(20,-20) do |star| %>
|
||||
<div data-kls="Softapplication" data-id="2" data-dimension="quality" data-average="3.25" class="rateable div_inline jDisabled" style="height: 20px; width: 115px; overflow: hidden; z-index: 1; position: relative;">
|
||||
<div class="jRatingColor" style="width: <%=star%>%;"></div>
|
||||
<div class="jRatingAverage" style="width: 0px; top: -20px;"></div>
|
||||
<div class="jStar" style="width: 115px; height: 20px; top: -40px; background: url("/images/seems_rateable/stars.png") repeat-x scroll 0% 0% transparent;">
|
||||
</div>
|
||||
</div>
|
||||
<%= @stars_status_map["star#{(star/20).to_s}".to_sym] %>
|
||||
<br>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<div style="float: left; padding-left: 100px; padding-top:35px ">
|
||||
<div style="padding-left: 25px;">最终得分</div>
|
||||
<div style="padding-top: 3px"><%= rating_for @softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="underline-contests_one"></div>
|
||||
|
||||
<div style="height: 240px">
|
||||
<strong><div style="font-size: 15px">软件截图:</div></strong>
|
||||
<div class="softapplication-img">
|
||||
<div class="softapplication-img" style="padding-top: 5px">
|
||||
<% @image_results.take(4).each do |attachment| %>
|
||||
<%= link_to_attachment_img attachment, :class => "soft-application", :download => "true" %>
|
||||
<% end %>
|
||||
|
@ -72,7 +98,18 @@
|
|||
</div>
|
||||
|
||||
<div class="underline-contests_one"></div>
|
||||
|
||||
<!-- <div style="margin-left: 22%;">
|
||||
<% 100.step(20,-20) do |star| %>
|
||||
<div data-kls="Softapplication" data-id="2" data-dimension="quality" data-average="3.25" class="rateable div_inline jDisabled" style="height: 20px; width: 115px; overflow: hidden; z-index: 1; position: relative;">
|
||||
<div class="jRatingColor" style="width: <%=star%>%;"></div>
|
||||
<div class="jRatingAverage" style="width: 0px; top: -20px;"></div>
|
||||
<div class="jStar" style="width: 115px; height: 20px; top: -40px; background: url("/images/seems_rateable/stars.png") repeat-x scroll 0% 0% transparent;">
|
||||
</div>
|
||||
</div>
|
||||
<%= @stars_status_map["star#{(star/20).to_s}".to_sym] %>
|
||||
<br>
|
||||
<% end %>
|
||||
</div> -->
|
||||
<div style="height: 50px">
|
||||
<div style="font-size: 15px"><strong>软件评论:</strong></div>
|
||||
<div style="padding-left: 210px">评分: <%= rating_for @softapplication, dimension: :quality, class: 'rateable div_inline' %></div>
|
||||
|
|
|
@ -12,14 +12,13 @@
|
|||
|
||||
<tr>
|
||||
<td><%= user.lastname %><%= user.firstname %></td>
|
||||
<!-- <td><%= calculate_collaboration_count(user) %></td>
|
||||
<td><%= calculate_collaboration_count(user) %></td>
|
||||
<td><%= calculate_influence_count(user) %></td>
|
||||
<td><%= calculate_skill_count(user) %></td>
|
||||
<td><%= calculate_file(user) %></td>
|
||||
<td><%= calculate_issue(user) %></td>
|
||||
<td><%= calculate_file(user) %></td>
|
||||
<td><%= calculate_issue(user) %></td>
|
||||
<td><%= calculate_level(user) %></td>
|
||||
-->
|
||||
<td><%= user.changesets.count %></td>
|
||||
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
|
||||
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject">
|
||||
<h3 style="margin-left: 5px; color: #e8770d;"><strong>最新参赛应用</strong></h3>
|
||||
|
||||
<span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", {:controller => 'softapplications', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %></span>
|
||||
<div class="d-p-projectlist-box">
|
||||
<% if Softapplication.count > 0%>
|
||||
<div class="d-p-projectlist">
|
||||
|
|
|
@ -20,40 +20,37 @@
|
|||
</div>
|
||||
<div class="main-content-bar">
|
||||
<div style="float: left">
|
||||
<%= image_tag(@logoLink, size:'75x75') %>
|
||||
|
||||
</div>
|
||||
<div class="welcome_left" >
|
||||
|
||||
<span class="font_welcome_school">
|
||||
<% if params[:school_id].nil? and User.current.user_extensions.school.nil? %>
|
||||
<% else%>
|
||||
<% if params[:school_id] == "0" %>
|
||||
<% else %>
|
||||
<% if params[:school_id].nil? %>
|
||||
<%= image_tag(@logoLink, size:'75x75') %>
|
||||
|
||||
<%= School.find(User.current.user_extensions.school.id).name %>
|
||||
<br />
|
||||
</div>
|
||||
<div class="welcome_left" >
|
||||
<br />
|
||||
<span class="font_welcome_school"> <% if params[:school_id].nil? and User.current.user_extensions.school.nil? %>
|
||||
<% else%>
|
||||
<% if params[:school_id] == "0" %>
|
||||
<% else %>
|
||||
<%= School.find(params[:school_id]).name %>
|
||||
<br />
|
||||
<% if params[:school_id].nil? %>
|
||||
<%= School.find(User.current.user_extensions.school.id).name %>
|
||||
<br />
|
||||
<% else %>
|
||||
<%= School.find(params[:school_id]).name %>
|
||||
<br />
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</span>
|
||||
<% end %> </span>
|
||||
<span class="font_welcome_trustie"><%= l(:label_welcome_trustie) %><%= l(:label_welcome_trustie_course) %> </span>
|
||||
<% if params[:school_id].nil? and User.current.user_extensions.school.nil? %>
|
||||
<span class="font_welcome_tdescription">, <%= l(:label_welcome_trustie_course_description) %></span>
|
||||
<span class="font_welcome_tdescription">, <%= l(:label_welcome_trustie_course_description) %></span>
|
||||
<% else %>
|
||||
<% if params[:school_id] == "0" %>
|
||||
<span class="font_welcome_tdescription">, <%= l(:label_welcome_trustie_course_description) %></span>
|
||||
<span class="font_welcome_tdescription">, <%= l(:label_welcome_trustie_course_description) %></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="search-bar">
|
||||
<%= render :partial => "search_project", :locals => {:project_type => Project::ProjectType_course}%>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div class="search-bar">
|
||||
<%= render :partial => "search_project", :locals => {:project_type => Project::ProjectType_course}%>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -96,22 +96,28 @@
|
|||
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%></h3>
|
||||
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", forums_path %></span>
|
||||
</div>
|
||||
<div class="welcome-box-list-new">
|
||||
<% find_new_forum_topics(7).each do |topic|%>
|
||||
<li class="message-brief-intro" style="line-height: 1.63em;padding-bottom:3px;">
|
||||
<div style="display: inline-block; width: 100%;">
|
||||
<span style="color:gray; display: inline-block; margin-bottom:6px; background: url('/images/list-icon.png') no-repeat scroll ;background-position: left center;">
|
||||
<%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;", :target => "_blank" %>
|
||||
</span>
|
||||
<br>
|
||||
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
||||
<span style="margin-left: 8px; margin-bottom: 0px; color: rgb(172, 174, 177) !important; white-space: nowrap;">
|
||||
由 <%= link_to topic.author ? topic.author : 'Anonymous', user_path(topic.author_id), :style => "font-size: 9pt !important; color: rgb(17, 102, 173);", :target => "_blank" %> 发表
|
||||
</span>
|
||||
<span style="float: right; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;">回复(<%= link_to (topic.parent ? topic.parent.replies_count : topic.replies_count), topic.event_url, :target => "_blank" %>)</span>
|
||||
<div class="welcome-box-list-new memo_activity">
|
||||
<% find_new_forum_topics(7).each do |topic|%>
|
||||
<li class="message-brief-intro">
|
||||
<div class='memo_title'>
|
||||
<%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url,title: topic.subject %>
|
||||
</div>
|
||||
<div class='memo_attr'>
|
||||
<span class='memo_timestamp'>
|
||||
<%= "#{l(:label_updated_time, value: time_tag_welcome(topic_last_time topic))}".html_safe %>
|
||||
</span>
|
||||
<span class="memo_author">
|
||||
楼主: <%= link_to_user(topic.author) %>
|
||||
</span>
|
||||
<span class="memo_last_person">
|
||||
最后回复:<%=link_to_user topic.last_reply.try(:author) %>
|
||||
</span>
|
||||
<span class="memo_reply">
|
||||
回复(<%= link_to topic.try(:replies_count), topic.event_url %>)
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1425,7 +1425,7 @@ zh:
|
|||
label_has_praisers: 赞(%{count})
|
||||
label_has_watchers: 关注(%{count})
|
||||
label_has_fans: 粉丝(%{count})
|
||||
label_coursefile_sharingarea: 课程资源共享区
|
||||
label_coursefile_sharingarea: 课程文件共享专区
|
||||
#modify by men
|
||||
label_x_has_fans:
|
||||
zero: 粉丝(%{count})
|
||||
|
@ -1547,7 +1547,6 @@ zh:
|
|||
label_sort_by_time: 按时间排序
|
||||
label_sort_by_active: 按活跃度排序
|
||||
label_sort_by_influence: 按影响力排序
|
||||
label_sort_by_activity: 按动态数排序
|
||||
label_bids_published: 发布于
|
||||
label_bids_published_ago: 之前
|
||||
label_welcome_trustie: Trustie
|
||||
|
@ -1668,7 +1667,7 @@ zh:
|
|||
label_public_info: (打钩为公开,不打钩则不公开,若不公开,仅项目成员可见该项目。)
|
||||
label_course_view_student: 查看其他课程
|
||||
label_course_student: 学生
|
||||
label_homework: 课程实践
|
||||
label_homework: 课程作业
|
||||
label_course_file: 资源库 #资料共享
|
||||
label_stores_index: 资源搜索
|
||||
label_course_new_homework: 新建作业
|
||||
|
@ -1716,11 +1715,6 @@ zh:
|
|||
zero: 份资料
|
||||
one: 份资料
|
||||
other: 份资料
|
||||
#added by gcm
|
||||
label_x_activity:
|
||||
zero: 个动态
|
||||
one: 个动态
|
||||
other: 个动态
|
||||
|
||||
|
||||
|
||||
|
@ -1765,13 +1759,13 @@ zh:
|
|||
label_has_been: 已经被
|
||||
label_course_userd_by: 个课程引用
|
||||
|
||||
|
||||
label_school_all: 中国高校
|
||||
|
||||
|
||||
role_of_course: 课程角色
|
||||
label_student: 学生
|
||||
|
||||
#added by Wen
|
||||
label_school_all: 中国高校
|
||||
|
||||
|
||||
label_project_grade: 项目得分
|
||||
label_user_grade: 个人得分
|
||||
label_user_for_project_grade: 个人得分
|
||||
|
@ -1829,8 +1823,7 @@ zh:
|
|||
label_sumbit_empty: 搜索内容不能为空
|
||||
|
||||
#add by linchun (竞赛相关)
|
||||
label_upload_files: 上传资源
|
||||
label_relation_files: 关联已有资源
|
||||
label_upload_files: 上传文件
|
||||
label_upload_softwarepackage: 上传软件包
|
||||
label_upload_cuttingphoto: 上传截图
|
||||
label_contests_reward_method: 奖励方式
|
||||
|
@ -1869,8 +1862,20 @@ zh:
|
|||
label_add_contest_succeed_fail: 添加失败,该应用已参赛.
|
||||
label_no_ftapplication: 暂无应用
|
||||
label_edit_softapplication: 修改应用
|
||||
label_contest_delete: 删除竞赛
|
||||
label_softapplication_list: 应用列表
|
||||
|
||||
label_coursefile_sharingarea: 课程资源共享区
|
||||
label_sort_by_activity: 按动态数排序
|
||||
label_homework: 课程实践
|
||||
label_x_activity:
|
||||
zero: 个动态
|
||||
one: 个动态
|
||||
other: 个动态
|
||||
label_school_all: 中国高校
|
||||
label_upload_files: 上传资源
|
||||
label_relation_files: 关联已有资源
|
||||
label_contest_settings: 配置竞赛
|
||||
label_contest_delete: 删除竞赛
|
||||
|
||||
|
||||
|
||||
label_school_all: 学校列表
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 58 KiB |
|
@ -37,7 +37,7 @@ div.position-f{
|
|||
}
|
||||
|
||||
div.position-f p.font{
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #15bccf;
|
||||
|
@ -57,7 +57,7 @@ div.position-s p.font{
|
|||
div.position-t{
|
||||
padding-top: 13px;
|
||||
float: left;
|
||||
width: width: 238px;
|
||||
width: 238px;
|
||||
line-height: 0.5em;
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ div.sidebar-user{
|
|||
border: 1px solid #e5dfc7;
|
||||
float: left;
|
||||
display: block;
|
||||
height:80px;
|
||||
height:80px;
|
||||
width: 80px;
|
||||
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ div.sidebar-user{
|
|||
div.sidebar-f div.name{
|
||||
float: left;
|
||||
padding-left: 8px;
|
||||
font-family:微软雅黑;
|
||||
font-family:"Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
font-size:16px;
|
||||
color:#4d4d4d;
|
||||
|
@ -228,7 +228,7 @@ div.forums-info{
|
|||
}
|
||||
|
||||
div.forums-title{
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: rgb(237, 137, 36);
|
||||
|
@ -251,7 +251,7 @@ span.forums-avatar-right{
|
|||
}
|
||||
|
||||
.formus-first-title{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
padding-top:3px;
|
||||
padding-bottom:3px;
|
||||
|
@ -262,7 +262,7 @@ span.forums-avatar-right{
|
|||
width: 290px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellisis;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.contextual-borad{
|
||||
|
@ -374,7 +374,7 @@ span.forums-avatar-right{
|
|||
width: 430px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellisis;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
@ -382,7 +382,7 @@ span.forums-avatar-right{
|
|||
width: 650px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellisis;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
@ -468,7 +468,7 @@ span.forums-avatar-right{
|
|||
}
|
||||
|
||||
a.bids_user {
|
||||
font-family:微软雅黑;
|
||||
font-family:"Microsoft YaHei";
|
||||
color:#15bccf;
|
||||
font-size:14px;
|
||||
font-weight: bold;
|
||||
|
@ -519,23 +519,23 @@ ul.tool li{list-style-type:none;
|
|||
height:auto;}
|
||||
.font_index{
|
||||
font-size:22px;
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
color:#068d9c;
|
||||
}
|
||||
.font_aram{
|
||||
font-size: 14px;
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
}
|
||||
.font_content{
|
||||
font-size:14px;
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
color:#FFFFFF;
|
||||
}
|
||||
|
||||
.time_project{
|
||||
font-size:12px;
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
}
|
||||
.line_bottom{
|
||||
margin-top: 1px;
|
||||
|
@ -548,7 +548,7 @@ ul.tool li{list-style-type:none;
|
|||
/*white-space:nowrap;*/
|
||||
overflow: hidden;
|
||||
height:35px;
|
||||
width:200px;
|
||||
width:200px;
|
||||
text-align: left;
|
||||
font-family: arial;
|
||||
font-size:12px;
|
||||
|
@ -573,7 +573,7 @@ ul.tool li{list-style-type:none;
|
|||
}
|
||||
|
||||
.font_title_tag{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
padding-top:3px;
|
||||
padding-bottom:3px;
|
||||
|
@ -582,7 +582,7 @@ ul.tool li{list-style-type:none;
|
|||
}
|
||||
|
||||
.font_title_left{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
padding-left: 10px;
|
||||
padding-top:3px;
|
||||
|
@ -591,7 +591,7 @@ ul.tool li{list-style-type:none;
|
|||
/*color:#05a8bb;*/
|
||||
}
|
||||
.font_small_watch{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
color:#15bccf;
|
||||
}
|
||||
|
@ -607,7 +607,7 @@ ul.tool li{list-style-type:none;
|
|||
|
||||
}
|
||||
.font_welcome{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color:#6d6e6e;
|
||||
|
@ -624,17 +624,17 @@ ul.tool li{list-style-type:none;
|
|||
font-family: Tahoma,"Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
color:#FF9900;
|
||||
color:#e8770d;
|
||||
}
|
||||
|
||||
.font_welcome_Cdescription{
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size: 16px;
|
||||
color: #5c5c5c;
|
||||
}
|
||||
|
||||
.font_welcome_tdescription{
|
||||
font-family: '微软雅黑';
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size: 16px;
|
||||
color: #5c5c5c;
|
||||
text-align: justify;
|
||||
|
@ -654,7 +654,7 @@ ul.tool li{list-style-type:none;
|
|||
border: 1px solid #e5dfc7;
|
||||
float: left;
|
||||
display: block;
|
||||
height:80px;
|
||||
height:80px;
|
||||
width: 80px;
|
||||
|
||||
}
|
||||
|
@ -675,7 +675,7 @@ ul.tool li{list-style-type:none;
|
|||
}
|
||||
|
||||
.font_welcome_feature{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color:#09b2c8;
|
||||
|
@ -684,7 +684,7 @@ ul.tool li{list-style-type:none;
|
|||
|
||||
.info-course{
|
||||
padding-left: 8px;
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
font-size:16px;
|
||||
color:#4d4d4d;
|
||||
|
@ -699,7 +699,7 @@ ul.tool li{list-style-type:none;
|
|||
|
||||
.info_font{
|
||||
padding-left: 8px;
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-weight:bold;
|
||||
font-size:16px;
|
||||
color:#4d4d4d;
|
||||
|
@ -707,7 +707,7 @@ ul.tool li{list-style-type:none;
|
|||
word-break: break-all;
|
||||
}
|
||||
.font_lighter{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
color:#acaeb1;
|
||||
font-size:13px;
|
||||
}
|
||||
|
@ -717,7 +717,7 @@ ul.tool li{list-style-type:none;
|
|||
font-size:13px;
|
||||
}
|
||||
.font_lighter2{
|
||||
font-family:'微软雅黑';
|
||||
font-family: "Microsoft YaHei";
|
||||
color:#9a9a9a;
|
||||
font-size:14px;
|
||||
}
|
||||
|
@ -725,7 +725,7 @@ ul.tool li{list-style-type:none;
|
|||
.font_lighter_welcome{
|
||||
color:#acaeb1;
|
||||
font-size:12px;
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
}
|
||||
.justify_side > span{
|
||||
text-align: justify;
|
||||
|
@ -754,7 +754,7 @@ ul.tool li{list-style-type:none;
|
|||
padding-left: 10px;
|
||||
}
|
||||
.font_tool{
|
||||
font-family:微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size:14px;
|
||||
color: #1a1a1a;
|
||||
padding-left: 6px;
|
||||
|
@ -768,7 +768,7 @@ ul.tool li{list-style-type:none;
|
|||
float:left;
|
||||
display:inline-block;
|
||||
/*margin-top: 50px;*/
|
||||
padding-left: 20px;
|
||||
/*padding-left: 20px;*/
|
||||
max-width: 315px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -915,7 +915,7 @@ ul.user_project_sort li{list-style-type:none;
|
|||
/*h写的样式*/
|
||||
.lbadding{float:left; padding-left: 10px} /*huang*/
|
||||
.rlbadding{float:left; padding-left: 0px; margin-top:40px} /*huang*/
|
||||
.lbadding h7{letter-spacing: -0.0125em; font-weight:700}/*未用*/
|
||||
/*.lbadding h7{letter-spacing: -0.0125em; font-weight:700}*//*未用*/
|
||||
.newsplitcontentright{float:right; width:49%;}/*huang*/
|
||||
.newsplitcontentleft{float:left; width:49%;}/*huang*/
|
||||
.newsplitcontentall{float:left; padding-left: 30px; width:95%}
|
||||
|
@ -946,17 +946,20 @@ a.logical_int{
|
|||
color: #ed8924;
|
||||
}
|
||||
|
||||
.contextdescription2{font-family: '微软雅黑';
|
||||
font-size:12px;
|
||||
font-weight:ligher;
|
||||
color:#7e7e7e;
|
||||
}
|
||||
.contextdescription2 {
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size: 12px;
|
||||
font-weight: lighter;
|
||||
color: #7e7e7e;
|
||||
}
|
||||
ul.context_projects{margin:0px; padding-left:0em;}
|
||||
|
||||
ul.context_projects ul {padding-left:1.6em;}
|
||||
|
||||
ul.context_projects li {list-style-type:none;
|
||||
height:50px;}
|
||||
ul.context_projects li {
|
||||
list-style-type:none;
|
||||
height:50px;
|
||||
}
|
||||
/*字体*/
|
||||
|
||||
.more{float:right; padding-right:40px; text-decoration: underline; color: #95c3bc}
|
||||
|
@ -984,7 +987,7 @@ ul.context_projects li {list-style-type:none;
|
|||
padding-top:12px;
|
||||
font-family: arial;
|
||||
font-size:12px;
|
||||
font-weight:ligher;
|
||||
font-weight:lighter;
|
||||
color:#7e7e7e;
|
||||
}
|
||||
|
||||
|
@ -998,7 +1001,7 @@ ul.context_projects li {list-style-type:none;
|
|||
.fontligher{
|
||||
font-family: arial;
|
||||
font-size:12px;
|
||||
font-weight:ligher;
|
||||
font-weight:lighter;
|
||||
color:#505050;
|
||||
|
||||
height: 34px;
|
||||
|
@ -1058,14 +1061,14 @@ ul.context_projects li {list-style-type:none;
|
|||
|
||||
font-size:24px;
|
||||
font-weight:bold;
|
||||
text-decoration:;
|
||||
text-decoration:none;
|
||||
color:#000000;
|
||||
}
|
||||
.firdtname_project{
|
||||
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
text-decoration:;
|
||||
text-decoration:none;
|
||||
color:#116699;
|
||||
|
||||
|
||||
|
@ -1080,8 +1083,8 @@ ul.context_projects li {list-style-type:none;
|
|||
text-decoration: underline;
|
||||
}
|
||||
.last_active{
|
||||
color:AA9C84;
|
||||
font-size:12px
|
||||
color: #AA9C84;
|
||||
font-size:12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
ul.newprojects{ /*huang*/
|
||||
|
@ -1103,16 +1106,16 @@ ul.newprojects li{ /*huang 块状*/
|
|||
border-bottom:5px #DBEDF4 solid;
|
||||
border-left:2px dotted #DBEDF4;
|
||||
min-height:260px;
|
||||
line-height: :30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
ul.newprojects li documenttext{ /*未wan*/
|
||||
/*ul.newprojects li documenttext{ *//*未wan*/
|
||||
/*overflow: hidden;*/
|
||||
height: 260px;
|
||||
width: 200px;
|
||||
margin-right:auto;
|
||||
|
||||
padding-top:10px;
|
||||
}
|
||||
/*height: 260px;*/
|
||||
/*width: 200px;*/
|
||||
/*margin-right:auto;*/
|
||||
/**/
|
||||
/*padding-top:10px;*/
|
||||
/*}*/
|
||||
ul.newprojects2{ /*huang*/
|
||||
margin: 0px;
|
||||
padding-left: 2em;
|
||||
|
@ -1133,7 +1136,6 @@ ul.newprojects2 li{
|
|||
|
||||
.newfeedback h1{
|
||||
color: inherit;
|
||||
text-d
|
||||
}
|
||||
/***** Layout *****/
|
||||
#wrapper {background: white;}
|
||||
|
@ -1389,7 +1391,7 @@ table.attributes { width: 100% }
|
|||
table.attributes th { vertical-align: top; text-align: left; }
|
||||
table.attributes td { vertical-align: top; }
|
||||
|
||||
table.boards a.board, h3.comments { /*background: url(../images/comment.png) */no-repeat 0% 50%; padding-left: 5px; }
|
||||
/*table.boards a.board, h3.comments {*background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 5px; }*/
|
||||
table.boards td.topic-count, table.boards td.message-count {text-align:center;}
|
||||
table.boards td.last-message {font-size:80%;}
|
||||
|
||||
|
@ -1478,7 +1480,7 @@ margin-left:-10px;
|
|||
|
||||
.project_right_tag{margin-top:44%;}
|
||||
.project_homepage_tag{float:left; margin-top:9%;color:#000000;}
|
||||
.project_infor_tag{float:auto;color:#000000;padding-left: 15px;}
|
||||
.project_infor_tag{/*float:auto;*/color:#000000;padding-left: 15px;}
|
||||
.project_page_tag{float:right;color:#C0C0C0; font-family: '微软雅黑';font-size: 13px;}
|
||||
.wiki_text{font-size:small;color:#000000;}
|
||||
.user_setting{float:right; color:#000000;padding-right: 10px;}
|
||||
|
@ -1486,13 +1488,13 @@ margin-left:-10px;
|
|||
|
||||
.project_right_tag{margin-top:40%;}
|
||||
.project_homepage_tag{padding-left:570px;color:#000000;}
|
||||
.project_infor_tag{float:auto;color:#000000;padding-left: 15px; }
|
||||
.project_infor_tag{/*float:auto;*/color:#000000;padding-left: 15px; }
|
||||
.project_page_tag{float:right;color:#C0C0C0; font-family: '微软雅黑';font-size: 13px;}
|
||||
.wiki_text{font-size:small;color:#000000;}
|
||||
.user_setting
|
||||
{
|
||||
float:right;
|
||||
color:#000000;
|
||||
/*color:#000000;*/
|
||||
padding-right:10px;
|
||||
background-color: #CCCCBB;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
|
@ -1523,7 +1525,7 @@ margin-left:-10px;
|
|||
|
||||
margin-top: 50px;
|
||||
width:320px;
|
||||
|
||||
|
||||
/*font-family:微软雅黑,lucida grande,verdana;*/
|
||||
font-size:12px;
|
||||
-webkit-border-radius:10px;
|
||||
|
@ -1540,15 +1542,15 @@ margin-left:-10px;
|
|||
form {display: inline;}
|
||||
|
||||
/*added by bai*/
|
||||
input[type="submit"].bid_btn {
|
||||
padding-bottom: 5px;
|
||||
width: 55px;
|
||||
height: 25px;
|
||||
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
|
||||
input[type="submit"].bid_btn {
|
||||
padding-bottom: 5px;
|
||||
width: 55px;
|
||||
height: 25px;
|
||||
font-family: '微软雅黑', Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
padding: 0px;
|
||||
background: #15bccf;
|
||||
background: #15bccf;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #15bccf;
|
||||
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2), 0px 0px 2px rgb(255, 255, 255) inset;
|
||||
|
@ -1557,20 +1559,20 @@ form {display: inline;}
|
|||
}
|
||||
|
||||
input[type="button"].bid_btn {
|
||||
padding-bottom: 5px;
|
||||
width: 55px;
|
||||
height: 25px;
|
||||
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
|
||||
/*padding-bottom: 5px;*/
|
||||
width: 55px;
|
||||
height: 25px;
|
||||
font-family: '微软雅黑', Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
padding: 0px;
|
||||
background: #15bccf;
|
||||
background: #15bccf;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #15bccf;
|
||||
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2), 0px 0px 2px rgb(255, 255, 255) inset;
|
||||
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2), 0px 1px 0px rgb(255, 255, 255);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
/*end */
|
||||
|
||||
fieldset {border: 1px solid #e4e4e4; margin:0;}
|
||||
|
@ -1588,9 +1590,9 @@ blockquote {
|
|||
padding-bottom: 0.6em;
|
||||
margin-left: 1.4em;
|
||||
margin-right: 0.4em;
|
||||
border-radius: 4px; # added by bai (边框变圆润)
|
||||
font-family: 微软雅黑;
|
||||
background: url(/images/requirements/reference.jpg)
|
||||
border-radius: 4px;
|
||||
font-family: "Microsoft YaHei";
|
||||
background: url('../images/requirements/reference.jpg')
|
||||
}
|
||||
|
||||
blockquote blockquote { margin-left: 0;}
|
||||
|
@ -1631,7 +1633,7 @@ fieldset#filters td.values select {min-width:130px;}
|
|||
fieldset#filters td.values input {height:1em;}
|
||||
fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
|
||||
|
||||
.toggle-multiselect {/*background: url(../images/bullet_toggle_plus.png)*/ no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
|
||||
.toggle-multiselect {/*background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%;*/ padding-left:8px; margin-left:0; cursor:pointer;}
|
||||
.buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
|
||||
|
||||
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
|
||||
|
@ -1763,7 +1765,7 @@ p.pagination {margin-top:8px; font-size: 90%}
|
|||
margin: 0;
|
||||
padding: 3px 0 3px 0;
|
||||
padding-left: 100px; /* width of left column containing the label elements *//*by young*/
|
||||
/*/*min-height: 1.8em;*/ by bai*/
|
||||
/*min-height: 1.8em;*/
|
||||
clear:left;
|
||||
}
|
||||
|
||||
|
@ -2114,7 +2116,7 @@ button.tab-right {
|
|||
}
|
||||
|
||||
#content .tabs_new ul li a.selected {
|
||||
background-color: rgba(28, 158, 199, 0.68); # added by bai
|
||||
background-color: rgba(28, 158, 199, 0.68);
|
||||
border: 1px solid #15BCCF;
|
||||
border-bottom: 1px solid #fff;
|
||||
color:#FFF;
|
||||
|
@ -2186,7 +2188,7 @@ button.tab_new-right {
|
|||
}
|
||||
|
||||
#content .tabs_new_enterprise ul li a.selected {
|
||||
background-color: #9f4056; # added by bai
|
||||
background-color: #9f4056;
|
||||
border: 1px solid #ac344f;
|
||||
border-bottom: 1px solid #fff;
|
||||
color:#FFF;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*
|
||||
* 再添加的时候按照功能划分区块,随便加的被删掉自负
|
||||
*/
|
||||
/************************** 某部分开始 *****************************/
|
||||
/************************** 某部分结束 *****************************/
|
||||
.top_bar{
|
||||
height: auto;
|
||||
}
|
||||
|
@ -285,8 +290,8 @@ div#tooltip::after {
|
|||
background-color: #FCE6EA;
|
||||
text-decoration: none;
|
||||
border-top: 1px solid #FFFFFF;
|
||||
border-left: 1px solid #FFFFFF:
|
||||
border-bottom: 1px solid #717171;
|
||||
border-left: 1px solid #FFFFFF;
|
||||
border-bottom: 1px solid #717171;
|
||||
border-right: 1px solid #717171;
|
||||
}
|
||||
.inner-content a:hover{
|
||||
|
@ -376,4 +381,66 @@ a.attachments_list_color {
|
|||
padding: 0 6px;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
/************************** 贴吧动态 开始 *****************************/
|
||||
/*贴吧活动*/
|
||||
.memo_activity{
|
||||
|
||||
}
|
||||
/*帖子li*/
|
||||
.memo_activity .message-brief-intro{
|
||||
line-height: 1.76em;
|
||||
padding:3px;
|
||||
margin:3px;
|
||||
}
|
||||
/*帖子中的链接*/
|
||||
.memo_activity a {
|
||||
color: #105CB6;
|
||||
}
|
||||
/*帖子标题*/
|
||||
.memo_activity .memo_title{
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 20px;
|
||||
background: url('/images/list-icon.png') no-repeat scroll;
|
||||
background-position: left center;
|
||||
font-size: 10pt;
|
||||
}
|
||||
/*帖子的各种属性*/
|
||||
.memo_activity .memo_attr{
|
||||
margin-left: 20px;
|
||||
}
|
||||
/*帖子的时间*/
|
||||
.memo_activity .memo_timestamp{
|
||||
color: #999999;
|
||||
white-space: nowrap;
|
||||
font-size: 9pt;
|
||||
}
|
||||
/*帖子的作者*/
|
||||
.memo_activity .memo_author{
|
||||
margin-left: 8px;
|
||||
margin-bottom: 0px;
|
||||
color: #999999;
|
||||
white-space: nowrap;
|
||||
font-size: 9pt;
|
||||
}
|
||||
.memo_activity span a{
|
||||
color: gray;
|
||||
}
|
||||
/*帖子的最后回复人*/
|
||||
.memo_activity .memo_last_person{
|
||||
margin-left: 8px;
|
||||
margin-bottom: 0px;
|
||||
color: #999999;
|
||||
white-space: nowrap;
|
||||
font-size: 9pt;
|
||||
}
|
||||
/*帖子的总回复数量*/
|
||||
.memo_activity .memo_reply{
|
||||
float: right;
|
||||
color: rgb(172, 174, 177);
|
||||
white-space: nowrap;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
/************************** 贴吧动态 结束 ****************************
|
|
@ -66,7 +66,9 @@ a
|
|||
.action-settings #header h1:before
|
||||
{
|
||||
font-family: Fontawesome;
|
||||
|
||||
/* content: "\f0f0 ";*/
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*by young*/
|
||||
.action-settings #header h1:before
|
||||
|
@ -190,11 +192,7 @@ a
|
|||
.controller-gantts #header h1:before
|
||||
{
|
||||
font-family: Fontawesome;
|
||||
|
||||
|
||||
|
||||
/* content: "\f080";*/
|
||||
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
|
@ -210,25 +208,16 @@ a
|
|||
.controller-welcome #header h1:before
|
||||
{
|
||||
font-family: Fontawesome;
|
||||
|
||||
|
||||
|
||||
/* content: "\f015 ";*/
|
||||
|
||||
/* content: "\f015 ";*/
|
||||
padding-right: 5px;
|
||||
font-weight: 100;
|
||||
}
|
||||
.controller-users #header h1:before
|
||||
{
|
||||
font-family: Fontawesome;
|
||||
|
||||
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* content: "\f0f0 ";*/
|
||||
padding-right: 5px;
|
||||
}
|
||||
/*end*/
|
||||
|
||||
|
||||
|
@ -373,11 +362,10 @@ ul.projects li.root
|
|||
background-color:#fff; /*顶层导航颜色*/
|
||||
color: #fff;
|
||||
font-size:13px; /* bai */
|
||||
font-family: 微软雅黑;
|
||||
font-family: "Microsoft YaHei";
|
||||
position:relative;
|
||||
padding:0;
|
||||
height:1px;
|
||||
padding-top:0;
|
||||
/*by bai*/
|
||||
border-radius: 5px;/*导航栏边角变圆*/
|
||||
/*end*/
|
||||
|
@ -403,7 +391,6 @@ ul.projects li.root
|
|||
{
|
||||
/*by young*/
|
||||
color:#fff; /*the color of the fonts*/
|
||||
font-weight:6px;
|
||||
padding:4px 3px
|
||||
}
|
||||
|
||||
|
@ -454,7 +441,7 @@ ul.projects li.root
|
|||
#main.nosidebar #content_
|
||||
{
|
||||
width:auto;
|
||||
float:center;
|
||||
/*float:center;*/
|
||||
min-height:800px;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
@ -537,7 +524,7 @@ ul.projects li.root
|
|||
margin:4px 20px 20px;
|
||||
padding-bottom:15px;
|
||||
text-align:left
|
||||
font-size: 18px;
|
||||
/*font-size: 18px;*/
|
||||
}
|
||||
|
||||
#footer a:hover
|
||||
|
@ -664,8 +651,8 @@ div.splitcontentleft h2
|
|||
position:relative;
|
||||
z-index: 2;
|
||||
background: #fff;*/
|
||||
font-family:微软雅黑, "PT Sans", Helvetica, Arial;
|
||||
font: color: #FFF;
|
||||
/*font-family:"Microsoft YaHei", "PT Sans", Helvetica, Arial;*/
|
||||
/*font: color: #FFF;*/
|
||||
transition:all .4s linear;
|
||||
-moz-transition:all .4s linear;
|
||||
-o-transition:all .4s linear;
|
||||
|
@ -695,8 +682,9 @@ div.splitcontentleft h2
|
|||
}
|
||||
#top-menu li a.my-page:before {
|
||||
font-family: Fontawesome;
|
||||
content: "\f0c9 ";
|
||||
|
||||
content: "\f0c9 ";
|
||||
/* content: "\f0f0 ";*/
|
||||
}
|
||||
/*by young*/
|
||||
#top-menu li a.home:before {
|
||||
font-family: Fontawesome;
|
||||
|
@ -745,9 +733,6 @@ div.splitcontentleft h2
|
|||
content: "\f08b ";
|
||||
}
|
||||
|
||||
|
||||
/* content: "\f0f0 ";*/
|
||||
}
|
||||
#top-menu #account a.logout:before {
|
||||
font-family: Fontawesome;
|
||||
/* content: "\f08b ";*/
|
||||
|
@ -1065,7 +1050,7 @@ input[type="submit"]
|
|||
|
||||
html > body #content
|
||||
{
|
||||
min-height:auto!important
|
||||
/*min-height:auto !important;*/
|
||||
}
|
||||
|
||||
pre,code,.line-code
|
||||
|
@ -1479,7 +1464,6 @@ div.pagination span {
|
|||
-moz-border-bottom-colors: none;
|
||||
border-image: none;
|
||||
}
|
||||
}
|
||||
|
||||
div.pagination span.current-page {
|
||||
/*color: rgb(153, 153, 153); add by huang*/
|
||||
|
@ -1548,7 +1532,6 @@ div.pagination_new span {
|
|||
-moz-border-bottom-colors: none;
|
||||
border-image: none;
|
||||
}
|
||||
}
|
||||
|
||||
div.pagination_new span.current-page {
|
||||
color: rgb(153, 153, 153);
|
||||
|
@ -1745,7 +1728,7 @@ div.project-search-block {
|
|||
margin-bottom: 0px;
|
||||
padding: 10px;
|
||||
width: 95%;
|
||||
border-top: 1px solid rgb(242,242,242);
|
||||
border-top: 1px solid rgb(242,242,242);
|
||||
/*border-bottom: 1px solid rgb(223, 223, 223);*/
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -1833,7 +1816,7 @@ a.usage {
|
|||
/*end*/
|
||||
|
||||
a.bid_user {
|
||||
font-family:微软雅黑;
|
||||
font-family:"Microsoft YaHei";
|
||||
color:#acaeb1;
|
||||
font-size:12px;
|
||||
}
|
||||
|
@ -1850,7 +1833,7 @@ a.bid_course{
|
|||
}
|
||||
|
||||
a.bids_user {
|
||||
font-family:微软雅黑;
|
||||
font-family:"Microsoft YaHei";
|
||||
color:#15bccf;
|
||||
font-size:14px;
|
||||
font-weight: bold;
|
||||
|
@ -1866,10 +1849,10 @@ input[type='text'].noline {
|
|||
.noline {
|
||||
/*border-style: none;
|
||||
border-color: white;*/
|
||||
font-family:微软雅黑; /*modify by men*/
|
||||
font-family:"Microsoft YaHei"; /*modify by men*/
|
||||
border: #d5dee9 1px solid;
|
||||
font-size: 12px;
|
||||
color: #818283; # modified by bai
|
||||
color: #818283;
|
||||
padding: 9px 5px;
|
||||
width: 98%;
|
||||
cursor: text;
|
||||
|
@ -2096,7 +2079,7 @@ ul.message-for-user {
|
|||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: 微软雅黑,Verdana,sans-serif,宋体;
|
||||
font-family: "Microsoft YaHei",Verdana,sans-serif,simsun;
|
||||
text-align: left;
|
||||
font-size: 10pt;
|
||||
width: 100%;
|
||||
|
@ -2247,130 +2230,4 @@ ul.messages-for-user-reply li {
|
|||
.footer_text_link{
|
||||
margin: 0px 5px;
|
||||
}
|
||||
/*gcm*/
|
||||
|
||||
#ver-zebra, .file_table_des
|
||||
{
|
||||
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
|
||||
font-size: 12px;
|
||||
margin: 5px 10px;
|
||||
width: 98%;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
#ver-zebra th
|
||||
{
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
padding: 12px 15px;
|
||||
border-right: 1px solid #fff;
|
||||
border-left: 1px solid #fff;
|
||||
color: #039;
|
||||
text-align: left;
|
||||
}
|
||||
#ver-zebra td
|
||||
{
|
||||
padding: 8px 15px;
|
||||
border-right: 1px solid #fff;
|
||||
border-left: 1px solid #fff;
|
||||
color: #669;
|
||||
}
|
||||
#ver-zebra td.description {
|
||||
background-color: white;
|
||||
padding: 0px;
|
||||
margin: 0px auto;
|
||||
}
|
||||
div.tags_area {
|
||||
padding: 2px 10px 10px 10px;
|
||||
margin: 0px;
|
||||
margin-bottom: 10px;
|
||||
/*border-bottom: 1px dashed #CCCCCC;*/
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.tags_gradint {
|
||||
}
|
||||
.read-more{
|
||||
padding: 5px;
|
||||
border-top: 4px double #ddd;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
}
|
||||
.read-more a{
|
||||
padding-right: 22px;
|
||||
background: url() no-repeat 100% 50%;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
.read-more a:hover{
|
||||
color: #000;
|
||||
}
|
||||
.vzebra-odd
|
||||
{
|
||||
background: #eff2ff;
|
||||
}
|
||||
.vzebra-even
|
||||
{
|
||||
background: #e8edff;
|
||||
}
|
||||
#ver-zebra #vzebra-adventure, #ver-zebra #vzebra-children
|
||||
{
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #c8d4fd;
|
||||
}
|
||||
#ver-zebra #vzebra-comedy, #ver-zebra #vzebra-action
|
||||
{
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #d6dfff;
|
||||
}
|
||||
.filename{
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
div.pagination{
|
||||
margin: 10px 0px;
|
||||
height: 1.5em;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
}
|
||||
.m5p5{
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
color: white !important;
|
||||
margin: 8px;
|
||||
padding: 3px 7px;
|
||||
}
|
||||
.m5p5:hover {
|
||||
text-decoration: none;
|
||||
/*padding-bottom: 3px;*/
|
||||
/*border-bottom: 1px solid #666666;*/
|
||||
border-radius: 4px;
|
||||
border: 1px solid #15bccf;
|
||||
box-shadow: 3px 3px 3px #666666;
|
||||
}
|
||||
.relation_file_div{
|
||||
margin: 0px 25px;
|
||||
}
|
||||
.relation_file_div fieldset{
|
||||
margin: 0px 0px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
transition: all 2s linear 1s;
|
||||
}
|
||||
.relation_file_div input#attach_search:focus{
|
||||
border: 1px solid #1B95C6;
|
||||
box-shadow: 0px 0px 4px #1B95C6;
|
||||
width: 200px;
|
||||
}
|
||||
.relation_file_div input#attach_search{
|
||||
width: 150px;
|
||||
outline: none;
|
||||
border-radius: 5px;
|
||||
-webkit-transition: 1s width;
|
||||
-moz-transition : 1s width;
|
||||
-o-transition : 1s width;
|
||||
transition : 1s width;
|
||||
}
|
||||
/*gcm*/
|
Loading…
Reference in New Issue