aboutsummaryrefslogtreecommitdiff
path: root/solr-8.3.1/example/files/conf/velocity/layout.vm
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2020-01-16 11:31:41 -0500
committerkimdahey <claire_kim1@brown.edu>2020-01-16 11:31:41 -0500
commit6be0e19ed0bd13f3796f542affa5a2e52674650c (patch)
tree1be222ea9341ecd8020fad3149035fa650a8a07f /solr-8.3.1/example/files/conf/velocity/layout.vm
parent5cde81d8c6b4dcd8d0796f8669b668763957f395 (diff)
parente410cde0e430553002d4e1a2f64364b57b65fdbc (diff)
merged w master
Diffstat (limited to 'solr-8.3.1/example/files/conf/velocity/layout.vm')
-rw-r--r--solr-8.3.1/example/files/conf/velocity/layout.vm42
1 files changed, 42 insertions, 0 deletions
diff --git a/solr-8.3.1/example/files/conf/velocity/layout.vm b/solr-8.3.1/example/files/conf/velocity/layout.vm
new file mode 100644
index 000000000..ef6caf705
--- /dev/null
+++ b/solr-8.3.1/example/files/conf/velocity/layout.vm
@@ -0,0 +1,42 @@
+<html>
+<head>
+ #parse("head.vm")
+</head>
+ <body>
+ <div id="header">
+ <a href="#url_for_home"><img src="#{url_root}/img/solr.svg" id="logo" title="Solr"/></a> $resource.powered_file_search
+ </div>
+
+ <div id="header2" onclick="javascript:locale_select()">
+ <ul class="menu">
+
+ <li>
+ <a href="#"><img src="#{url_for_solr}/admin/file?file=/velocity/img/globe_256.png&contentType=image/png" id="locale_pic" title="locale_select" width="30px" height="27px"/></a>
+ <ul>
+ <li><a href="#url_for_locale('fr_FR')" #if("#current_locale"=="fr_FR")class="hidden"#end>
+ <img src="#{url_for_solr}/admin/file?file=/velocity/img/france_640.png&contentType=image/png" id="french_flag" width="40px" height="40px"/>Fran&ccedil;ais</a></li>
+ <li><a href="#url_for_locale('de_DE')" #if("#current_locale"=="de_DE")class="hidden"#end>
+ <img src="#{url_for_solr}/admin/file?file=/velocity/img/germany_640.png&contentType=image/png" id="german_flag" width="40px" height="40px"/>Deutsch</a></li>
+ <li><a href="#url_for_locale('')" #if("#current_locale"=="")class="hidden"#end>
+ <img src="#{url_for_solr}/admin/file?file=/velocity/img/english_640.png&contentType=image/png" id="english_flag" width="40px" height="40px"/>English</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+
+ #if($response.response.error.code)
+ <div class="error">
+ <h1>ERROR $response.response.error.code</h1>
+ $response.response.error.msg
+ </div>
+ #else
+ <div id="content">
+ $content
+ </div>
+ #end
+
+ <div id="footer">
+ #parse("footer.vm")
+ </div>
+ </body>
+</html>