北斗框架(未完)

This commit is contained in:
huang 2016-03-28 14:11:40 +08:00
parent 326730f6b1
commit 4b6b5504ca
22 changed files with 604 additions and 164 deletions

View File

@ -29,7 +29,7 @@ class OrganizationsController < ApplicationController
helper :issues
include UsersHelper
before_filter :find_organization, :only => [:show, :members, :apply_subdomain, :select_org_layout]
layout 'base_org'
layout 'base_org_newstyle'
def index
end

View File

@ -1,6 +1,3 @@
<% @nav_dispaly_project_label = 1
@nav_dispaly_forum_label = 1 %>
<%#@nav_dispaly_project_label = 1 %>
<!DOCTYPE html>
<html lang="en">
<head>
@ -12,8 +9,8 @@
<%= favicon %>
<%= javascript_heads %>
<%= heads_for_theme %>
<%= stylesheet_link_tag 'pleft','prettify','jquery/jquery-ui-1.9.2','header','new_user','repository','courses','org', 'share' %>
<%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%>
<%= stylesheet_link_tag 'org_new_style' %>
<%= javascript_include_tag 'org'%>
<%= javascript_include_tag 'attachments' %>
<%= call_hook :view_layouts_base_html_head %>
<!-- page specific tags -->
@ -29,138 +26,434 @@
showMathMenuMSIE: false,
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
</script>
<script type="text/javascript">
window.onload = function () {
var oBtnLeft = document.getElementById("goleft");
var oBtnRight = document.getElementById("goright");
var oDiv = document.getElementById("indexmaindiv");
var oDiv1 = document.getElementById("maindiv1");
var oUl = oDiv.getElementsByTagName("ul")[0];
var aLi = oUl.getElementsByTagName("li");
var now = -5 * (aLi[0].offsetWidth + 13);
oUl.style.width = aLi.length * (aLi[0].offsetWidth + 13) + 'px';
oBtnRight.onclick = function () {
var n = Math.floor((aLi.length * (aLi[0].offsetWidth + 13) + oUl.offsetLeft) / aLi[0].offsetWidth);
if (n <= 5) {
move(oUl, 'left', 0);
}
else {
move(oUl, 'left', oUl.offsetLeft + now);
}
}
oBtnLeft.onclick = function () {
var now1 = -Math.floor((aLi.length / 5)) * 5 * (aLi[0].offsetWidth + 13);
if (oUl.offsetLeft >= 0) {
move(oUl, 'left', now1);
}
else {
move(oUl, 'left', oUl.offsetLeft - now);
}
}
var timer = setInterval(oBtnRight.onclick, 5000);
oDiv.onmouseover = function () {
clearInterval(timer);
}
oDiv.onmouseout = function () {
timer = setInterval(oBtnRight.onclick, 5000);
}
};
function getStyle(obj, name) {
if (obj.currentStyle) {
return obj.currentStyle[name];
}
else {
return getComputedStyle(obj, false)[name];
}
}
function move(obj, attr, iTarget) {
clearInterval(obj.timer)
obj.timer = setInterval(function () {
var cur = 0;
if (attr == 'opacity') {
cur = Math.round(parseFloat(getStyle(obj, attr)) * 100);
}
else {
cur = parseInt(getStyle(obj, attr));
}
var speed = (iTarget - cur) / 6;
speed = speed > 0 ? Math.ceil(speed) : Math.floor(speed);
if (iTarget == cur) {
clearInterval(obj.timer);
}
else if (attr == 'opacity') {
obj.style.filter = 'alpha(opacity:' + (cur + speed) + ')';
obj.style.opacity = (cur + speed) / 100;
}
else {
obj.style[attr] = cur + speed + 'px';
}
}, 30);
}
</script>
</head>
<!--add by huang-->
<body onload="prettyPrint();">
<div class="orgContainer">
<div class="orgNav">
<div class="navOrgLogo fl"><a href="javascript:void(0);" onclick="show_homepage(<%= @organization.id %>, <%= @organization.home_id.nil? ? 0 : 1 %>);"><img src="/images/home_logo.png" width="21" height="19" alt="Trustie" class="mt3" /></a></div>
<ul>
<li class="navOrgMenu fl">
<a href="javascript:void(0);" onclick="show_homepage(<%= @organization.id %>, <%= @organization.home_id.nil? ? 0 : 1 %>);" class="linkGrey8 f14">首页</a>
<%#= link_to '首页', organization_path(@organization, :show_homepage => 1),:class=>"linkGrey8 f14" %>
</li>
<% if User.current.logged? %>
<li class="navOrgMenu fr" id="orgUser" style="cursor:pointer;">
<%= link_to image_tag(url_to_avatar(User.current),:width => '23',:height => '23'), user_url_in_org(User.current.id),:alt => '用户头像', :target => '_blank',:style=>'border-radius:3px; vertical-align:top; margin-top:3px; display:inline-block; margin-right:3px;' %>
<%= link_to User.current, user_url_in_org(User.current.id),:id => "orgUserName",:class => 'fontGrey2 f14 mr5',:target => '_blank' %>
<%= link_to "退出",logout_url_without_domain, :class =>"menuGrey", :method => 'post', :rel => "nofollow" %>
</li>
<!--<li class="navOrgMenu fr"><%#=link_to User.current, user_path(User.current), :class => "linkGrey8 f14" %></li>-->
<% else %>
<li class="navOrgMenu fr"><a href="<%= signin_url_without_domain %>" class="linkGrey8 f14">登录</a></li>
<li class="navOrgMenu fr"><a href="<%= register_url_without_domain %>" class="linkGrey8 f14 mr15">注册</a></li>
<% end %>
</ul>
<!--<div class="navHomepageProfile">
<ul>
<li class="homepageProfileMenuIcon"><a href="javascript:void(0);">
<div class="mt5 mb8"><img src="images/homepageProfileImage.png" width="40" height="40" /></div>
</a>
<ul class="topnav_login_list" style="display:none;">
<li><a href="javascript:void(0);" class="menuGrey">修改资料</a> </li>
<li><a href="javascript:void(0);" class="menuGrey">账号设置</a> </li>
<li><a href="javascript:void(0);" class="menuGrey">退出</a></li>
</ul>
</li>
</ul>
</div>-->
</div>
</div>
<div class="cl"></div>
<div class="homepageContentContainer">
<div class="homepageContent">
<div class="homepageLeft">
<div class="homepagePortraitContainer">
<!--<div class="pr_info_logo fl mr10 mb5">-->
<!--<%#= image_tag(url_to_avatar(@organization), :width=>"60", :height=>"60", :alt=>"组织logo") %>-->
<!--</div>-->
<div class="pr_info_logo fl fl mr10 mb5" id="homepage_portrait_image">
<%= image_tag(url_to_avatar(@organization),width:"60", height: "60", :id=>'nh_user_tx') %>
<% if User.current.logged?%>
<% if User.current.id == @organization.creator_id%>
<div id="edit_org_file_btn" class="none">
<div class="homepageEditProfile">
<a href="<%= clear_org_avatar_temp_organization_path(@organization) %>" data-remote="true" class="homepageEditProfileIcon"></a>
</div>
</div>
<% end %>
<% end%>
</div>
<!--<div class="orgName fl mb5 f14">组织id<%#= @organization.id %></div>-->
<div class="orgName fl mb5 f14" title="<%= @organization.name %>">
<%= link_to truncate(@organization.name,:length => 26), organization_path(@organization.id), :class=>"pr_info_name c_dark fb break_word" %>
<% if User.current.logged? %>
<% if @organization.is_public? %>
<span class="img_private"><%= l(:label_public)%></span>
<% else %>
<span class="img_private"><%= l(:label_private)%></span>
<% end %>
<% end %>
</div>
<% if User.current.admin_of_org?(@organization) %>
<a href="<%= setting_organization_path(@organization) %>" class="pr_join_a c_white"><span class="pr_setting"></span>配置</a>
<% end %>
<!--<div style="clear:both;">-->
<!--<%#= link_to l(:label_org_name)+"#{@organization.name}", organization_path(@organization.id), :class=>"pr_info_name fl c_dark fb break_word" %>-->
<!--<%# if @organization.is_public? %>-->
<!--<span class="img_private"><%#= l(:label_public)%></span>-->
<!--<%# else %>-->
<!--<span class="img_private"><%#= l(:label_private)%></span>-->
<!--<%# end %>-->
<!--</div>-->
<div class="cl"></div>
<div class="f12 fontGrey3">
<%= link_to '文章', organization_org_document_comments_path(@organization) %>&nbsp;
<%# if User.current.logged? %>
(
<%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %>
)
<%# end %>
<% if User.current.logged? %>
&nbsp;|&nbsp;
<%= link_to '成员', members_organization_path(@organization.id) %>&nbsp;
<%= link_to @organization.org_members.count, members_organization_path(@organization.id), :id => 'org_members_count_id', :class => "linkBlue" %>
<% end %>
</div>
</div>
<div class="homepageLeftMenuContainer" id="sub_field_left_lists">
<%= render :partial => "organizations/org_left_subfield_list", :locals => {:organization => @organization} %>
</div>
<div class="fontGrey5 mt10 ml20">访问计数 <%= @organization.visits.to_i %></div>
</div>
<div class="homepageRight" style="margin-top:<%= (params[:show_homepage].nil? && User.current.logged?) ? '10px':'0px' %>;">
<%= render_flash_messages %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!--页面底部-->
<div class="cl"></div>
<div id="Footer">
<div class="footerAboutContainer">
<ul class="footerAbout">
<li class="fl"><a href="<%= about_us_path %>" class=" f_grey mw20" target="_blank">关于我们</a>|</li>
<li class="fl"><a href="<%= agreement_path %>" class=" f_grey mw20" target="_blank">服务协议</a>|</li>
<li class="fl"><a href="http://forge.trustie.net/forums/1/memos/1168" class="f_grey mw20" target="_blank">帮助中心</a>|</li>
<li class="fl"><a href="<%= forums_path(:reorder_complex=>'desc')%>" class="f_grey mw20" target="_blank">贴吧交流</a></li>
</ul>
<div class="container">
<div class="header">
<div class="header-con">
<a href="index.html" class="fl"><img src="/images/org_new_style/logo.jpg" alt=""/></a>
<a href="register.html" class="register fr"></a>
<a href="login.html" class="login fr"></a>
</div>
<div class="cl"></div>
</div><!--header end-->
<ul class="copyright mt10">
<li class="fl mr30">Copyright&nbsp;&copy;&nbsp;2007-2016,&nbsp;All Rights Reserved</li>
<li>ICP备09019772</li>
</ul>
<div class="nav-box">
<div class="nav fl">
<%= link_to "首页", organization_path(@organization), :class => "fl navact" %>
<a href="#" class="fl">新闻动态</a>
<a href="#" class="fl">项目开发</a>
<a href="#" class="fl">资源共享</a>
<a href="#" class="fl">社区规则</a>
</div>
<div class="fr">
<form class="searchbox">
<input type="text" name="search" class="search-input fl" value="search" />
<a href="#" class="search-icon fl"></a>
</form>
</div>
<div class="cl" ></div>
</div><!--nav end-->
<div class="header-content home" >
<div class="parallax-bg" id="slider-wrap">
<div class="slider parallax-bg" id="slider">
<div class="slider-sections sandbox">
<section class="first">
<div class="text">
<h2>中国北斗开源社区<br />GNSS</h2>
<p class="copy">open laboratory of simulation and testing</p>
<p class="button">
<a class="dimmed" href="#"> More</a>
</p>
</div>
</section>
<section>
<div class="text">
<h2>中国北斗开源社区<br />GNSS</h2>
<p class="copy">open laboratory of simulation and testing</p>
<p class="button">
<a class="dimmed" href="#">More</a>
</p>
</div>
</section>
<section>
<div class="text">
<h2>中国北斗开源社区<br />GNSS</h2>
<p class="copy">open laboratory of simulation and testing</p>
<p class="button">
<a class="dimmed" href="#"> More</a>
</p>
</div>
</section>
</div>
</div>
<a class="slider-prev" href="javascript: void(0)">?</a> <a class="slider-next" href="javascript: void(0)">?</a>
</div>
</div><!--header-content end-->
<div class="cl"></div>
<div class="box1">
<div class="content">
<div class="box-top"><h2 class="box-title">北斗开放实验室</h2><p class="box-title-p">open laboratory</p></div>
<div class="row ">
<div class="row-box1 mr40 fl">
<a href="#" target="_blank" class="row-img"><img src="/images/org_new_style/img1.jpg"></a>
<a href="#" target="_blank" class="row-con">
<span class="row-time">2016-03-22</span>
<h3 class="row-title ">首届卫星导航仿真与测试专题研讨会在...首届卫星导航仿真与测试专题研讨会在...</h3>
<div class="row-txt row-txt-line">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</div>
</a>
<a href="#" target="_blank" class="row-con">
<span class="row-time">2016-03-22</span>
<h3 class="row-title">首届卫星导航仿真与测试专题研讨会在...首届卫星导航仿真与测试专题研讨会在...</h3>
<div class="row-txt row-txt-line">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</div>
</a>
<a href="#" target="_blank" class="btn-more">More</a>
</div><!--row-box1 end-->
<div class="row-box1 mr40 fl">
<a href="#" target="_blank" class="row-img"><img src="/images/org_new_style/img2.jpg"></a>
<a href="#" target="_blank" class="row-con">
<span class="row-time">2016-03-22</span>
<h3 class="row-title">首届卫星导航仿真与测试专题研讨会在...首届卫星导航仿真与测试专题研讨会在...</h3>
<div class="row-txt row-txt-line">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</div>
</a>
<a href="#" target="_blank" class="row-con">
<span class="row-time">2016-03-22</span>
<h3 class="row-title">首届卫星导航仿真与测试专题研讨会在...首届卫星导航仿真与测试专题研讨会在...</h3>
<div class="row-txt row-txt-line">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</div>
</a>
<a href="#" target="_blank" class="btn-more">More</a>
</div><!--row-box1 end-->
<div class="row-box2 fl ">
<div class="row-con2">
<a href="#" target="_blank">
<h3 class="row-title">届卫星导航仿真与测试专题研讨会在...</h3>
<p class="row-txt2">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民天产业基地隆重召开由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</p>
</a>
</div><!--row-con2 end-->
<div class="row-con2">
<a href="#" target="_blank">
<h3 class="row-title">届卫星导航仿真与测试专题研讨会在...</h3>
<p class="row-txt2">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民天产业基地隆重召开由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</p>
</a>
</div><!--row-con2 end-->
<div class="row-con2">
<a href="#" target="_blank">
<h3 class="row-title">届卫星导航仿真与测试专题研讨会在...</h3>
<p class="row-txt2">10月15日由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民天产业基地隆重召开由卫星导航仿真与测试开放实验室联盟主办的首次专题研讨会在西安国家民用航天产业基地隆重召开...</p>
</a>
</div><!--row-con2 end-->
</div><!--row-box2 end-->
<div class="cl"></div>
</div>
</div><!--content end-->
</div><!--box1 end-->
<div class="box2">
<div class="content">
<div class="box-top"><h2 class="box-title">北斗项目动态</h2><p class="box-title-p">project activities</p></div>
<!--start-slider2-->
<div class="slider2-bg">
<div class="container">
<div class="row ">
<div class=" slider2-left fl" >
<h3><span>2016.01.30环球网</span>卫星导航仿真与测试开放实验室落户泉州</h3>
<p>卫星导航仿真与测试开放实验室是国内首个GNSS仿真与测试开放共享平台北斗泉州实验室由国防科技大学泉州工业技术研究中心、福建省福信富通网络科技股份有限公司与开放实验室合作共建计划于2016年3月建成并投用将承建国内首个北斗海上数据应用中心利用开放实验室优势资源承担相关专业人才培训联合所属区域高校和企业开展船载导航终端北斗导航定位数据的采集、分析和应用服务于全国北斗终端测试检定和相关应用研究。
据介绍,实验室建成后,将为泉州以及周边县(市、区)的北斗产业应用发展提供相应支撑,并依托泉州的地理和政策优势,推动北斗向海上丝绸之路经济带沿线国家的推广应用。</p>
</div>
<div class=" slider2-right fl " >
<div class="slider2">
<div class="callbacks_container">
<ul class="rslides" id="slider2">
<li>
<img src="/images/org_new_style/slide1.png" class="img-responsive" alt="" />
</li>
<li>
<img src="/images/org_new_style/slide2.png" class="img-responsive" alt="" />
</li>
<li>
<img src="/images/org_new_style/slide1.png" class="img-responsive" alt="" />
</li>
<li>
<img src="/images/org_new_style/slide2.png" class="img-responsive" alt="" />
</li>
</ul>
</div>
</div>
</div>
<div class="cl"></div>
<script src="js/responsiveslides.min.js"></script>
<script>
$(function () {
$("#slider2").responsiveSlides({
auto: true,
nav: true,
speed: 500,
namespace: "callbacks",
pager: true
});
});
</script>
</div>
</div>
</div>
<!--//end-slider2-->
</div><!--content end-->
</div><!--box2 end-->
<div class="box1">
<div class="content">
<div class="box-top"><h2 class="box-title">北斗开源</h2><p class="box-title-p">open source</p></div>
<div class="row">
<div class="row-box3 mr30 fl">
<a href="#" target="_blank" class="row-img2"><img src="/images/org_new_style/pic1.jpg"></a>
<a href="#" target="_blank" class="row-con">
<h3 class="row-title3 fl">北斗第二次工作会议召开 </h3>
<span class="row-time fr">2015.10.15</span>
<div class="cl"></div>
<div class="row-txt">卫星导航仿真与测试开放实验室第二次工作会议暨分建实验室授牌仪式在北京举行,开放实验室各发起单位代表出席了会议,会议对开放实验室前期工作进行了深度总结,并对下阶段关于成员单位吸纳、专家库组建及分实验室运作等工作进行了详细部署...</div>
</a>
<a href="#" target="_blank" class="btn-more">More</a>
</div><!--row-box3 end-->
<div class="row-box3 mr30 fl">
<a href="#" target="_blank" class="row-img2"><img src="/images/org_new_style/pic2.jpg"></a>
<a href="#" target="_blank" class="row-con">
<h3 class="row-title3 fl">北斗西安专题研讨会</h3>
<span class="row-time fr">2015.10.15</span>
<div class="cl"></div>
<div class="row-txt">卫星导航仿真与测试开放实验室第二次工作会议暨分建实验室授牌仪式在北京举行,开放实验室各发起单位代表出席了会议,会议对开放实验室前期工作进行了深度总结,并对下阶段关于成员单位吸纳、专家库组建及分实验室运作等工作进行了详细部署...</div>
</a>
<a href="#" target="_blank" class="btn-more">More</a>
</div><!--row-box3 end-->
<div class="row-box3 fl">
<a href="#" target="_blank" class="row-img2"><img src="/images/org_new_style/pic3.jpg"></a>
<a href="#" target="_blank" class="row-con">
<h3 class="row-title3 fl">北斗专家进入校园 </h3>
<span class="row-time fr">2015.10.15</span>
<div class="cl"></div>
<div class="row-txt">卫星导航仿真与测试开放实验室第二次工作会议暨分建实验室授牌仪式在北京举行,开放实验室各发起单位代表出席了会议,会议对开放实验室前期工作进行了深度总结,并对下阶段关于成员单位吸纳、专家库组建及分实验室运作等工作进行了详细部署...</div>
</a>
<a href="#" target="_blank" class="btn-more">More</a>
</div><!--row-box3 end-->
<div class="cl"></div>
</div>
</div><!--content end-->
</div> <!--box1 end-->
<div class="box3">
<div class="content">
<div class="box-top">
<h2 class="box-title">北斗社区规则</h2><p class="box-title-p mb70">community rules</p>
<p class="box-title-p3">欢迎大家加入北斗社区卫星导航仿真与测试开放实验室是国内首个GNSS仿真与测试开放共享平台</p>
</div>
<div class="indexmaindiv" id="indexmaindiv">
<div class="indexmaindiv1 clearfix" >
<div class="stylesgoleft" id="goleft"></div>
<div class="maindiv1 " id="maindiv1">
<ul id="count1">
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg1.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg2.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg3.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg4.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg1.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg2.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg3.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
<li>
<a href="#" class="playerdetail">
<div class="detailimg"><img src="/images/org_new_style/detailimg4.jpg" /></div>
<div class="teanames">Mark</div>
<div class="teadetail">学生</div>
</a>
</li>
</ul>
</div>
<div class="stylesgoright" id="goright"></div>
</div>
</div><!---indexmaindiv-->
</div><!--content end-->
</div> <!--box3 end-->
<div class="box1">
<div class="content">
<div class="box-top"><h2 class="box-title">北斗活动专区</h2><p class="box-title-p">activity zone</p></div>
<div class="row">
<div class="con-left fl">
<a href="#" target="_blank" class="con-left-box ">
<img src="/images/org_new_style/con-left1.jpg" class="fl con-left-img"/>
<p class="fl con-left-txt">卫星导航仿真与测试开放实验室第二次工作会议暨分建实验室授牌仪式在北京举行,开放实验室各发起单位代表出席了开放实验室各发起单位代表出席了</p>
</a>
<div class="cl"></div>
<a href="#" target="_blank" class="con-left-box">
<img src="/images/org_new_style/con-left2.jpg" class="fl con-left-img"/>
<p class="fl con-left-txt">卫星导航仿真与测试开放实验室第二次工作会议暨分建实验室授牌仪式在北京举行,开放实验室各发起单位代表出席了开放实验室各发起单位代表出席了</p>
</a>
<div class="cl"></div>
<div class="con-left-pre fr">
<a href="#" class="con-arrow-btn fl"></a>
<a href="#" class="con-back-btn fl"></a>
</div>
<div class="cl"></div>
</div><!--con-left end-->
<div class="con-right fr">
<a href="#" target="_blank">
<div class="con-r-img fl"><img src="/images/org_new_style/detailimg4.jpg" /><span class="con-name">尹刚</span></div>
<p class="fr">真的很高兴能加入卫星导航仿真测试实验室的社区,体验后感觉真的很棒,太开心了。真的很高兴能加入卫星导航仿真测试实验室的社区,体验后感觉真的很棒,太开心了。室的社区,体验后感觉真的很棒,太开心了。</p>
</a>
<div class="cl"></div>
<div class="con-r-pre fr">
<a href="#" class="pre-arrow fl"></a>
<a href="#" class="pre-back fl"></a>
</div>
<div class="cl"></div>
</div><!--con-right end-->
</div>
</div><!--content end-->
<div class="cl"></div>
</div><!--box1 end-->
<div class="footer">
<div class="footer-con">
<ul>
<li><a href="<%= about_us_path %>" target="_blank" class="fl">关于我们</a></li>
<li><a href="<%= agreement_path %>" target="_blank" class="fl"> 服务协议 </a></li>
<li><a href="http://forge.trustie.net/forums/1/memos/1168" target="_blank" class="fl">帮助中心</a></li>
<li><a href="<%= forums_path(:reorder_complex=>'desc')%>" target="_blank" class="fl"> 贴吧交流</a></li>
</ul>
<div class="cl"></div>
<p>Copyright 2007~2016 All Rights Reserved<br>湘ICP备09019772</p>
</div>
</div>
</div><!--container end-->
<!--页面底部-->
<div class="cl"></div>
<div id="ajax-modal" style="display:none;"></div>
@ -168,41 +461,6 @@
<span><%= l(:label_loading) %></span>
</div>
<script type="text/javascript">
$("#courseMenu").mouseenter(function(){
$("#topnav_course_menu").show();
});
$("#courseMenu").mouseleave(function(){
$("#topnav_course_menu").hide();
});
$("#projectMenu").mouseenter(function(){
$("#topnav_project_menu").show();
});
$("#projectMenu").mouseleave(function(){
$("#topnav_project_menu").hide();
});
function show_homepage(id, has_homepage){
if (has_homepage == 1)
{
window.location.href = "/organizations/" + id + "?show_homepage=1";
}
else
{
alert("您还未设置首页!");
}
}
$(document).ready(function(){
$("#orgUser,#orgSwitch,#org_login_list").mouseout(function(){
$(".org_login_list").css("display","none");
$("#orgArrow").attr("class","orgMenuArrow");
});
$("#orgUser,#orgSwitch,#org_login_list").mouseover(function(){
$(".org_login_list").css("display","block");
$("#orgArrow").attr("class","orgMenuArrow2");
});
});
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -0,0 +1,182 @@
@charset "utf-8";
/* CSS Document */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{ margin:0; padding:0;}
body,table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:12px;line-height:1.5; background:#fff;}
div,img,tr,td,table{ border:0;}
table,tr,td{border:0;cellspacing:0; cellpadding:0;}
ol,ul,li{ list-style-type:none}
a:link,a:visited{color:#000;text-decoration:none;}
a:hover{color:#29156f;}
.fl{ float:left;}
.fr{ float:right;}
.cl{ clear:both;overflow:hidden;}
.mr40{ margin-right:40px;}
.mr30{ margin-right:30px;}
.mb20{ margin-bottom:20px;}
.mb70{ margin-bottom:70px;}
/** header **/
.header{ width:100%; height:72px; background:#29146f; padding:38px 0 40px;}
.header-con{ width:1200px; margin:0 auto;}
a.login{ background:url(../images/org_new_style/icons.png) -7px -11px no-repeat; width:146px; height:55px; margin-right:40px; margin-top:11px;}
a:hover.login{ background:url(../images/org_new_style/icons.png) -7px -88px no-repeat; }
a.register{ background:url(../images/org_new_style/icons.png) -190px -11px no-repeat; width:158px; height:55px; ;margin-top:11px;}
a:hover.register{ background:url(../images/org_new_style/icons.png) -190px -88px no-repeat; }
/** nav **/
.nav-box{ width:1200px; height:79px; margin:0 auto;}
.nav a{ display:block; padding:25px 10px; font-size:18px; color:#000; margin-right:20px; }
.navact{border-bottom:3px solid #ffbd18;}
.nav a:hover{border-bottom:3px solid #ffbd18;}
.searchbox{ width:338px; height:57px; border:1px solid #ccc; -moz-border-radius: 35px; -webkit-border-radius: 35px; margin:10px 0px 0 0;}
.search-input{width:270px; height:40px; color:#bebebe; font-size:18px; border:1px solid #ccc;-moz-border-radius: 35px; -webkit-border-radius: 35px;border-radius: 35px; border:0px; background:none; margin:10px 0 0 20px;}
.search-input:hover{ border:none;color:#fff; }
a.search-icon{ background:url(../images/org_new_style/icons.png) -387px -11px no-repeat; width:40px; height:40px; margin-top:8px;}
a:hover.search-icon{ background:url(../images/org_new_style/icons.png) -387px -89px no-repeat;}
.searchbox:hover{ background:#999999; color:#fff;}
/* Header text */
.header-content { background: url(../images/org_new_style/header-background.jpg) no-repeat 50% 0px #070317;margin: 0;padding: 0;float: left;width: 100%;line-height: 22px;position: relative;z-index: 1;}
.header-content.home {height: 609px;}
.home .header-content { background: #070317 ; }
.header-content img {float: left; margin: 0 0 0 15px;}
.header-content .text {width:800px; text-align:center; margin-top:20%; }
.header-content .copy {font-size: 24px; line-height: 70px; }
.header-content .button { margin:0 auto;}
.header-content .dimmed { background: rgba(255, 255, 255, 0.4);}
.header-content .dimmed:hover { background: rgba(255, 255, 255, 1); }
.header-content .align-bottom {position: absolute; bottom: 0px;}
/* => SLIDE PREV AND NEXT ARROWS <= */
.slider-prev,
.slider-next {text-indent:-9999px; width:60px;height:60px;background:url("../images/org_new_style/icons.png") -306px -264px no-repeat; position:absolute;top:50%; margin-top:-19px; z-index:999; opacity:.5;
-webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */-moz-transition: all 0.3s ease-out; /* FF4+ */ -ms-transition: all 0.3s ease-out; /* IE10? */ -o-transition: all 0.3s ease-out; /* Opera 10.5+ */ transition: all 0.3s ease-out;display: none}
.slider-prev{ left:50px; }
.slider-next { right:50px;background-position:-382px -264px;}
.slider-prev:hover,.slider-next:hover{opacity:1;}
/* => SLIDER NAV o o o <= */
.slider-nav {position:absolute;bottom:5px;left:50%;list-style:none; overflow:hidden; padding:2px; z-index:10;margin: 0; }
.slider-nav li{ float:left; }
.slider-nav li a{ display:block;width:13px;height:13px;overflow:hidden; padding:0px; margin:5px; background:url("../images/org_new_style/icons.png") no-repeat -419px -219px; text-decoration:none; text-indent:-999px;}
.slider-nav li a:hover,.slider-nav li a.selected{background-position:-402px -219px;}
/* => HOLY SLIDES <= */
.slider section {display: none;}
.slider section.first {display: block;}
.slider-sections, .slider-sections section {width: 806px; height: 600px; }
.slider-sections {margin: 0 auto; position: relative;}
.slider-sections section {position: absolute; top: 0; left: 0px; }
.header-content h2 {font:400 62px/1.2 "microsoft yahei", Tahoma, arial, sans-serif;color: #fff;margin: 0 0 26px; }
.header-content p {margin: 0 0 30px; font-size:28px; color:#fff;}
.header-content .centered-content{padding-top: 30px;padding-bottom: 10px;}
.button {float: left;width:800px;list-style: none; }
.button a { font-size: 15px;line-height: 18px; text-decoration: none;color:#FFF; padding: 12px 56px;display: block;width: auto;z-index: 2;border: none; -moz-border-radius: 25px;border-radius: 25px;cursor: pointer; margin:0 auto; width:35px;}
.button a:hover{color:#29156f;}
/** box1 **/
.box1{ width:100%; padding:70px 0;}
.content{ width:1200px; margin:0 auto;}
.box-top{ margin:0 auto; text-align:center; margin-bottom:45px; }
.box-title{ width:355px; height:67px; margin:0 auto; background:#29156f; color:#fff; text-align:center; font-size:40px; font-weight: lighter; margin-bottom:2px;}
.box-title-p{ font-size:20px; color:#999999;}
.row{ width:1200px; margin: 0 auto; }
.row-box1{ width:365px;}
.row-img{ margin-bottom:10px; width:365px; height:230px; display:block;}
.row-time{ color:#ffbd18; font-size:14px; font-weight:bold; line-height:1.9;}
.row-title{ font-size:16px; font-weight:bold; line-height:1.9;display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.row-con { display:block; }
.row-con:hover{ color:#29156f; }
.row-txt{line-height:2.4; padding-bottom:10px; margin-bottom:10px; color:#888;}
.row-txt:hover{color:#29156f;}
.row-txt-line{border-bottom:1px solid #cccccc; width:365px;}
a.btn-more{ display:block; font-size:14px; width:110px; height:40px;-moz-border-radius: 3px; -webkit-border-radius: 3px; background:#ffbd18; color:#fff; text-align:center; line-height:3.0;}
a:hover.btn-more{ background:#29156f;}
.row-box2{ width:388px; border:1px solid #ccc; border-bottom:none;}
.row-con2 a{ display:block;padding:20px 10px; border-bottom:1px solid #ccc;}
.row-con2 a:hover{ background:#29156f; color:#fff;}
.row-con2 a:hover{ color:#fff;}
.row-txt2{line-height:2.4; color:#888;}
.row-txt2:hover{ color:#fff; }
/** 项目动态 **/
.slider2 {position: relative;text-align: center;}
.slider2-left{ width:550px; margin-top:20px;}
.slider2-left h3{ font-size:18px; font-weight:bold; display:block; width:550px;white-space:nowrap; overflow:hidden; }
.slider2-left h3 span{color:#29156f; margin-right:20px;}
.slider2-left p{ display:block; margin-top:20px; font-size:14px; line-height:1.9; width:550px;}
.slider2-right{ width:600px; margin-top:20px;}
.rslides li {-webkit-backface-visibility: hidden;position: absolute; display: none; width: 100%;left:60px;top: 0; }
.rslides li:first-child {position: relative;display: block; float: left;}
.callbacks_tabs a:after {
content: "\f111";
font-size: 0;
font-family: FontAwesome;
visibility: visible;
display: block;
width: 15px;
height: 15px;
display: inline-block;
background:url(../images/org_new_style/icons.png) no-repeat -100px -511px ;
}
.callbacks_here a:after{background:url(../images/org_new_style/icons.png) no-repeat -83px -511px ;}
.callbacks_tabs a{visibility:hidden;}
.callbacks_tabs li{display:inline-block;}
ul.callbacks_tabs.callbacks1_tabs {position:absolute;bottom: 7.3%;z-index: 999;left: -92%; display: block;}
/** 开源 **/
.box2{ height:569px; padding:70px 0; width:100%; background:url(../images/org_new_style/bg.jpg) no-repeat; }
.row-box3{ width:380px;}
.row-title3{ width:290px; font-size:18px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:bold; }
.box3{height:540px; width:100%; padding:70px 0; background:url(../images/org_new_style/bg2.jpg) no-repeat; }
.box-title-p3{font-size:14px; color:#999999;}
.row-img2{ margin-bottom:10px; width:380px; height:310px; display:block;}
/** 社区规则 **/
.indexmaindiv{height:310px;margin:0px auto;width:1200px; }
.indexmaindiv1{margin-top:25px;}
.stylesgoleft{float:left;width:49px;height:47px;background:url(../images/org_new_style/icons.png) no-repeat -391px -360px; opacity:.5;margin:106px 20px 0px 0px;cursor:pointer;}
.stylesgoleft:hover{float:left;opacity:1;}
.playerdetail{width:240px;height:310px; }
.div.detailimg{width:240px;height:240px;}
.detailimg img{width:240px;height:240px;}
.teanames{font-size:18px; font-weight:bold;margin-top:10px;color:#000;}
.teadetail{font-size:14px; color:#999;margin-top:5px;}
.stylesgoright{float:left;width:49px;height:47px;background:url(../images/org_new_style/icons.png) no-repeat -393px -432px; opacity:.5;margin:106px 0px 0px 15px;cursor:pointer;}
.stylesgoright:hover{float:left;opacity:1;}
.teanames{ text-align:left;}
.maindiv1{float:left;width:1063px;height:310px;overflow:hidden;position:relative; }
.maindiv1 ul{position:absolute;left:0;top:0;}
.maindiv1 ul li{float:left;width:240px;height:310px;margin-left:21px; }
/** 活动专区 **/
.con-left{ width:618px;}
.con-left-box{ margin-bottom:20px; height:96px; display:block;}
.con-left-img{ width:175px; height:96px;}
.con-left-txt{ width:360px; margin-left:15px; font-size:14px; color:#888; padding-top:8px; line-height:1.9;}
.con-left-txt:hover{color:#29156f;}
.con-left-pre{ margin-top:15px; }
a.con-back-btn{ display: block;width:25px;height:25px;background:url(../images/org_new_style/icons.png) no-repeat -38px -505px ;}
a.con-arrow-btn{ display: block;width:25px;height:25px;background:url(../images/org_new_style/icons.png) no-repeat -12px -505px ; opacity:.5;}
.con-right{ width:532px; height:170px; background:#f6f6f6 ; padding:25px;}
.con-right p{background: url(../images/org_new_style/con-right.gif) no-repeat 0 0;line-height:1.9; width:415px; padding:40px 0 0 20px; font-size:14px; color:#888; margin-left:20px;}
.con-r-img img{ border:3px solid #e6473b; -moz-border-radius: 50px; -webkit-border-radius: 50px;border-radius: 50px; display:block; width:67px; height:67px;}
.con-r-img img:hover{border:3px solid #29156f;}
.con-name{ font-size:18px; font-weight:bold; margin-top:5px;}
.con-r-img { text-align:center;}
.con-r-pre{ margin-top:20px;}
a.pre-arrow,a.pre-back{ display:block; width:25px; height:10px; background:#29156f; margin-left:5px;}
a.pre-back{ background:#888;}
/** footer **/
.footer{ height:220px; background:#29156f; width:100%;}
.footer-con{ width:1200px; padding:65px 0 0 60px; margin:0 auto; text-align:center; font-size:14px; color:#fff;}
.footer-con ul{ display:block; width:430px; height:50px; margin:0 auto; }
.footer-con ul li a{font-size:18px; color:#fff; margin-right:35px; font-weight:bold;}