java: added dynamic favicon

This commit is contained in:
Alexandr Fedorov
2021-02-17 20:17:15 +03:00
parent ffcf787f94
commit cf82b0ffc9
4 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -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">