footer.jsp 4.08 KB
Newer Older
1
2
<%@include file="/WEB-INF/jsp/init.jsp"%>

Matija Obreza's avatar
Matija Obreza committed
3
4
5

<!-- footer start -->
    
Matija Obreza's avatar
Matija Obreza committed
6
<div id="footer">
Matija Obreza's avatar
Matija Obreza committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <div class="container">    
  	<div id="nav-foot" class="clearfix">
  		<ul class="nav pull-left">
    		<li><a href="<c:url value="/content/about" />"><spring:message code="menu.about" /></a></li>
			<li><a href="<c:url value="/content/contact" />"><spring:message code="menu.contact" /></a></li>
			<li><a href="<c:url value="/content/disclaimer" />"><spring:message code="menu.disclaimer" /></a></li>
			<li><a target="_blank" href="https://bitbucket.org/genesys2/genesys2-server/issues/new"><spring:message code="menu.report-an-issue" /></a></li>
			<li class="notimportant"><a target="_blank" href="https://bitbucket.org/genesys2/genesys2-server.git"><spring:message code="menu.scm" /></a></li>
			<li class="notimportant"><a target="_blank" href="https://www.transifex.com/projects/p/genesys/"><spring:message code="menu.translate" /></a></li>
		</ul>
                                                    
		<ul class="nav pull-right">
			<li><a href="<c:url value="/content/terms" />"><spring:message code="menu.terms" /></a></li>
			<li><a href="<c:url value="/content/copying" />"><spring:message code="menu.copying" /></a></li>
			<li><a href="<c:url value="/content/privacy" />"><spring:message code="menu.privacy" /></a></li>
		</ul>
  	</div>
  	<div class="pull-left" id="copyright">
  		<a href="<c:url value="/" />" class="pull-left"><img src="/html/images/logo_genesys_footer.png" alt="Genesys - Gateway to Genetic Resources" /></a>
  		<p class="pull-left"><spring:message code="footer.copyright-statement" /></p>
  	</div>
28
29
30
31
  	<div class="pull-right">
  		<div class="pull-left" style="text-align: right; color: #808080; font-family: monospace; font-size: 8px;"><spring:message code="page.rendertime" arguments="${springExecuteTime}" />
		<br /><a target="_blank" href="https://bitbucket.org/genesys2/genesys2-server/commits/${buildRevision}">${buildName}</a></div>
	</div>
Matija Obreza's avatar
Matija Obreza committed
32
  </div>
33
34
</div>

Matija Obreza's avatar
Matija Obreza committed
35
36
37
38

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 <c:choose>
    	<c:when test="${requestContext.theme.name eq 'one'}">
<script type="text/javascript" src="/html/js/all.min.js"></script>
    	</c:when>
    	<c:when test="${requestContext.theme.name eq 'all-min'}">
<script type="text/javascript" src="/html/js/jquery.min.js"></script>
<script type="text/javascript" src="/html/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/html/js/genesys.min.js"></script>
    	</c:when>
    	<c:when test="${requestContext.theme.name eq 'all'}">
<script type="text/javascript" src="/html/js/jquery.min.js"></script>
<script type="text/javascript" src="/html/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/html/js/genesys.js"></script>
    	</c:when>
    	<c:otherwise>
Matija Obreza's avatar
Matija Obreza committed
54
55
56
57
<script type="text/javascript" src="/html/js/jquery.min.js"></script>
<script type="text/javascript" src="/html/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/html/js/tab.js"></script>
<script type="text/javascript" src="/html/js/crophub.js"></script>
58
59
60
61
    	</c:otherwise>
    </c:choose>


Matija Obreza's avatar
Matija Obreza committed
62
63
64
65
66
67
68
<script type="text/javascript">
  $( document ).ready(function() {
    $('#news a').click(function (e) {
      e.preventDefault();
      $(this).tab('show');
    });
  });
Matija Obreza's avatar
Matija Obreza committed
69

Matija Obreza's avatar
Matija Obreza committed
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
  // show mobile menu
  
  $('.mobile-menu-show').click(function(){
    $('.mobile-header .header-top .mobile-menu-show').css('display', 'none');
    $('.mobile-header .header-top .mobile-menu-hide').css('display', 'inline-block');
    $('.logo-container').css('display', 'none');
    $('.mobile-header #search').show('slow');
    $('#left-col').show('slow');
    $('#nav-main').show('slow');
  });
  
  $('.mobile-menu-hide').click(function(){
    $('.mobile-header .header-top .mobile-menu-show').css('display', 'inline-block');
    $('.mobile-header .header-top .mobile-menu-hide').css('display', 'none');
    $('.logo-container').css('display', 'block');
    $('.mobile-header #search').hide('slow');
    $('#left-col').hide('slow');
    $('#nav-main').hide('slow');        
  });

</script>