Project

General

Profile

1
    <!-- FOOTER SECTION
2
    ======================================================================= -->
3
    <footer id="Footer" class="footer">
4
      <div class="container">
5
        <div class="row-fluid pagination-centered">
6
          <h3><span>The</span> Knowledge Network <span>for</span> Biocomplexity</h3>
7
          <h4><span>knb</span></h4>
8
        </div>
9
      </div>
10
    </footer>
11
    
12
    <!-- Templates used for rendering data from the models
13
    ======================================================================= -->
14
    <script type="text/template" id="result-template">
15
        <div class="result-selection span1"><input type="checkbox" <%= selected ? 'checked' : '' %>></div>
16
        <div class="result-citation span7">
17
              <span class="result-author"><% var count=0; _.each(origin, function(author) {
18
                   count++;
19
                   if (count > 1) {
20
                       print(", ")
21
             }
22
                   if (count > 1 && count == origin.length) {
23
                       print("and ")
24
             }
25
                   print(author)
26
                   if (count == origin.length) {
27
                       print(". ")
28
             }
29
               }) %></span>
30
               <span class="result-pubdate"> <% if(pubDate) { 
31
                   print(moment(pubDate).format('YYYY'), '. ')
32
               } else {
33
                   print(moment(dateUploaded).format('YYYY'), '. ')
34
               } %></span>
35
               <span class="result-title"> <% if (title) { print('<a href=\"', baseurl, id, '\">', title, '.</a> '); } %></span>
36
               <span class="result-id"> <%- id %></span>
37
        </div>
38
        <div class="result-stats span2"><span class="badge badge-info"><%- downloads %></span> <span class="badge badge-success"><%- citations %></span></div>
39
        
40
      <div class="btn-group span1">
41
        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
42
          Download
43
          <span class="caret"></span>
44
        </a>
45
        <ul class="dropdown-menu">
46
          <li><a href="#">Add to collection...</a></li>
47
          <li class="divider"></li>
48
          <li><a href="#">Share...</a></li>
49
        </ul>
50
      </div>
51
  </script>
52
  <script type="text/template" id="statcounts-template">
53
    <div class="result-header-count span8" id="countstats"><%- start %> to <%- end %> of <%- numFound %></div>
54
  </script>
55

    
56
    <!-- Javascript at the end of the document to load pages faster 
57
    ======================================================================= -->
58
    <script src="[% styleSkinsPath %]/[% cfg %]/components/jquery.js"></script>
59
    <script src="[% styleSkinsPath %]/[% cfg %]/components/holder.js"></script>
60
    <script src="[% styleSkinsPath %]/[% cfg %]/components/bootstrap.min.js"></script>
61
    <script src="[% styleSkinsPath %]/[% cfg %]/components/underscore.js"></script>
62
    <script src="[% styleSkinsPath %]/[% cfg %]/components/json2.js"></script>    
63
  	<script src="[% styleSkinsPath %]/[% cfg %]/components/backbone.js"></script>
64
  	<script src="[% styleSkinsPath %]/[% cfg %]/components/moment.js"></script>
65
    <script src="[% styleSkinsPath %]/[% cfg %]/js/models/SolrHeader.js"></script>
66
    <script src="[% styleSkinsPath %]/[% cfg %]/js/models/SolrResult.js"></script>
67
    <script src="[% styleSkinsPath %]/[% cfg %]/js/collections/SolrResults.js"></script>
68
    <script src="[% styleSkinsPath %]/[% cfg %]/js/routers/router.js"></script>
69
    <script src="[% styleSkinsPath %]/[% cfg %]/js/views/SearchResultView.js"></script>
70
    <script src="[% styleSkinsPath %]/[% cfg %]/js/views/AppView.js"></script>    
71
  	<script src="[% styleSkinsPath %]/[% cfg %]/js/app.js"></script>
72
  
73
</body>
74
</html>
(5-5/10)