1<%-- 2CDDL HEADER START 3 4The contents of this file are subject to the terms of the 5Common Development and Distribution License (the "License"). 6You may not use this file except in compliance with the License. 7 8See LICENSE.txt included in this distribution for the specific 9language governing permissions and limitations under the License. 10 11When distributing Covered Code, include this CDDL HEADER in each 12file and include the License file at LICENSE.txt. 13If applicable, add the following below this CDDL HEADER, with the 14fields enclosed by brackets "[]" replaced with your own identifying 15information: Portions Copyright [yyyy] [name of copyright owner] 16 17CDDL HEADER END 18 19Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved. 20 21Portions Copyright 2011 Jens Elkner. 22--%><%@page import=" 23java.util.Date, 24java.util.EnumSet, 25 26org.opengrok.indexer.Info, 27org.opengrok.web.PageConfig, 28org.opengrok.indexer.web.Prefix" 29%> 30<%! 31/* ---------------------- foot.jspf members start --------------------- */ 32 private static final EnumSet<Prefix> needAddDiv = EnumSet.of( 33 Prefix.HIST_L, Prefix.XREF_P, Prefix.DIFF_P, Prefix.MORE_P, 34 // could NOT find any mapping/reference to those ones: 35 Prefix.HIST_S, Prefix.XREF_S, Prefix.DIFF_S, Prefix.MORE_S); 36/* ---------------------- foot.jspf members end --------------------- */ 37%><% 38/* ---------------------- foot.jspf start --------------------- */ 39{ 40 PageConfig cfg = PageConfig.get(request); 41 Date dateForLastIndexRun = cfg.getEnv().getDateForLastIndexRun(); 42 43 %> 44 <footer id="footer"> 45<p><a href="https://oracle.github.io/opengrok/" class="link-no-decoration" 46 title="Served by OpenGrok (<%= Info.getVersion() %> - <%= Info.getShortRevision() %>)"> 47 <span id="served-by">served by </span><span class="logo logo-gray-color">{</span><span class="logo logo-blue-color">Open</span><span class="logo logo-gray-color">Grok</span> 48</a></p> 49<% if(dateForLastIndexRun != null) { %> 50<p>Last Index Update: <%= dateForLastIndexRun %></p> 51<%}%> 52 <%= cfg.getEnv().getIncludeFiles().getFooterIncludeFileContent(false) %> 53 <% 54 if (needAddDiv.contains(cfg.getPrefix())) { 55 %></div><% // #content 56 } 57 // #footer, #page: 58 %> 59 </footer> 60</div> 61<% 62 /** 63 * Print out all collected javascript files (or inline script) by the calls 64 * to {@link PageConfig#addScript} methods. 65 */ 66%> 67 <%= PageConfig.get(request).getScripts() %> 68</body> 69</html> 70<% 71} 72/* ---------------------- foot.jspf end --------------------- */ 73%> 74