mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
java: added dynamic favicon
This commit is contained in:
BIN
web/documentserver-example/java/src/main/webapp/css/img/cell.ico
Normal file
BIN
web/documentserver-example/java/src/main/webapp/css/img/cell.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
BIN
web/documentserver-example/java/src/main/webapp/css/img/word.ico
Normal file
BIN
web/documentserver-example/java/src/main/webapp/css/img/word.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
@ -1,6 +1,8 @@
|
||||
<%@page import="entities.FileModel"%>
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
|
||||
<% FileModel Model = (FileModel) request.getAttribute("file"); %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@ -26,11 +28,9 @@
|
||||
*
|
||||
-->
|
||||
<title>ONLYOFFICE</title>
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="icon" href="css/img/<%= Model.documentType %>.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="css/editor.css" />
|
||||
|
||||
<% FileModel Model = (FileModel) request.getAttribute("file"); %>
|
||||
|
||||
<script type="text/javascript" src="${docserviceApiUrl}"></script>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
|
||||
Reference in New Issue
Block a user