socialforge/app/views/layouts/base_org_newstyle.html.erb

480 lines
22 KiB
Plaintext
Raw Normal View History

2016-03-28 10:39:09 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= h html_title %></title>
<meta name="description" content="<%= Redmine::Info.app_name %>" />
<meta name="keywords" content="issue,bug,tracker" />
<%= csrf_meta_tag %>
<%= favicon %>
<%= javascript_heads %>
<%= heads_for_theme %>
2016-03-28 14:11:40 +08:00
<%= stylesheet_link_tag 'org_new_style' %>
<%= javascript_include_tag 'org'%>
2016-03-28 10:39:09 +08:00
<%= javascript_include_tag 'attachments' %>
<%= call_hook :view_layouts_base_html_head %>
<!-- page specific tags -->
<%= yield :header_tags -%>
<!-- MathJax的配置 -->
<script type="text/javascript"
src="/javascripts/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<!-- 配置 在生成的公式图片上去掉Math定义的右键菜单$$ $$ \( \) \[ \] 中的公式给予显示-->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showMathMenu: false,
showMathMenuMSIE: false,
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
2016-03-28 14:11:40 +08:00
</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>
2016-03-28 10:39:09 +08:00
</head>
<!--add by huang-->
<body onload="prettyPrint();">
2016-03-28 14:11:40 +08:00
<div class="cl"></div>
<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>
2016-03-28 10:39:09 +08:00
</div>
2016-03-28 14:11:40 +08:00
<div class="cl"></div>
</div><!--header end-->
<div class="nav-box">
<div class="nav fl">
2016-03-28 16:51:58 +08:00
<% @subfield_content.each do |field| %>
<% if is_default_field?(field) %>
<% case field.name %>
<% when 'activity' %>
<%= link_to "首页", organization_path(@organization), :class => "fl navact" %>
<% when 'course' %>
<a href="#" class="fl"> 课程动态</a>
<% when 'project' %>
<a href="#" class="fl">项目动态</a>
<% end %>
<% else %>
<% if field.field_type == "Post" %>
<%= link_to field.name, organization_path(@organization), :class => "fl" %>
<% else %>
<%= link_to field.name, organization_path(@organization), :class => "fl" %>
<% end %>
<% end %>
<% end %>
2016-03-28 14:11:40 +08:00
</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">
2016-03-28 16:51:58 +08:00
<h2>课程动态<br />GNSS</h2>
<p class="copy">course activities</p>
2016-03-28 14:11:40 +08:00
<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-->
2016-03-28 10:39:09 +08:00
<div class="cl"></div>
2016-03-28 14:11:40 +08:00
<div class="box1">
<div class="content">
2016-03-28 16:51:58 +08:00
<div class="box-top"><h2 class="box-title">课程动态</h2><p class="box-title-p">open laboratory</p></div>
2016-03-28 14:11:40 +08:00
<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-->
2016-03-28 10:39:09 +08:00
2016-03-28 14:11:40 +08:00
<div class="box2">
<div class="content">
2016-03-28 16:51:58 +08:00
<div class="box-top"><h2 class="box-title">项目动态</h2><p class="box-title-p">project activities</p></div>
2016-03-28 14:11:40 +08:00
<!--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>
2016-03-28 10:39:09 +08:00
</div>
</div>
</div>
2016-03-28 14:11:40 +08:00
<!--//end-slider2-->
</div><!--content end-->
</div><!--box2 end-->
<div class="box1">
<div class="content">
2016-03-28 16:51:58 +08:00
<div class="box-top"><h2 class="box-title">社区规则</h2><p class="box-title-p">open source</p></div>
2016-03-28 14:11:40 +08:00
<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>
2016-03-28 10:39:09 +08:00
</div>
2016-03-28 14:11:40 +08:00
</div><!--content end-->
</div> <!--box1 end-->
2016-03-28 10:39:09 +08:00
2016-03-28 14:11:40 +08:00
<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">
2016-03-28 16:51:58 +08:00
<div class="box-top"><h2 class="box-title">资源共享</h2><p class="box-title-p">activity zone</p></div>
2016-03-28 14:11:40 +08:00
<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-->
2016-03-28 10:39:09 +08:00
<div class="cl"></div>
2016-03-28 14:11:40 +08:00
</div><!--box1 end-->
2016-03-28 10:39:09 +08:00
2016-03-28 14:11:40 +08:00
<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>
2016-03-28 10:39:09 +08:00
</div>
2016-03-28 14:11:40 +08:00
</div><!--container end-->
<!--页面底部-->
2016-03-28 10:39:09 +08:00
<div class="cl"></div>
<div id="ajax-modal" style="display:none;"></div>
<div id="ajax-indicator" style="display:none;">
<span><%= l(:label_loading) %></span>
</div>
</body>
</html>