diff options
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.vm | 42 |
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ç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> |