Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
slm-fileview
Commits
300d213a
Commit
300d213a
authored
Jul 31, 2019
by
陈精华
Committed by
kl
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cdn资源不指定http/https
parent
4c0a70f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
FileUtils.java
...onverter-web/src/main/java/cn/keking/utils/FileUtils.java
+1
-1
index.ftl
jodconverter-web/src/main/resources/web/index.ftl
+7
-7
No files found.
jodconverter-web/src/main/java/cn/keking/utils/FileUtils.java
View file @
300d213a
...
@@ -247,7 +247,7 @@ public class FileUtils {
...
@@ -247,7 +247,7 @@ public class FileUtils {
// 添加sheet控制头
// 添加sheet控制头
sb
.
append
(
"<script src=\"js/jquery-3.0.0.min.js\" type=\"text/javascript\"></script>"
);
sb
.
append
(
"<script src=\"js/jquery-3.0.0.min.js\" type=\"text/javascript\"></script>"
);
sb
.
append
(
"<script src=\"js/excel.header.js\" type=\"text/javascript\"></script>"
);
sb
.
append
(
"<script src=\"js/excel.header.js\" type=\"text/javascript\"></script>"
);
sb
.
append
(
"<link rel=\"stylesheet\" href=\"
http:
//cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css\">"
);
sb
.
append
(
"<link rel=\"stylesheet\" href=\"//cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css\">"
);
}
catch
(
FileNotFoundException
e
)
{
}
catch
(
FileNotFoundException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
...
jodconverter-web/src/main/resources/web/index.ftl
View file @
300d213a
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<title>
图片预览图
</title>
<title>
kkFileView演示首页
</title>
<link
rel=
"stylesheet"
href=
"css/viewer.min.css"
>
<link
rel=
"stylesheet"
href=
"css/viewer.min.css"
>
<link
rel=
"stylesheet"
href=
"css/loading.css"
>
<link
rel=
"stylesheet"
href=
"css/loading.css"
>
<link
rel=
"stylesheet"
href=
"
http:
//cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"//cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"
https:
//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.css"
/>
<link
rel=
"stylesheet"
href=
"//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.css"
/>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
</style>
</style>
</head>
</head>
...
@@ -117,7 +117,7 @@ window.open('http://127.0.0.1:8012/picturesPreview?urls='+encodeURIComponent(fil
...
@@ -117,7 +117,7 @@ window.open('http://127.0.0.1:8012/picturesPreview?urls='+encodeURIComponent(fil
<div
style=
"width: 80%"
>
<div
style=
"width: 80%"
>
<!-- 多说评论框 start -->
<!-- 多说评论框 start -->
<div
id=
"SOHUCS"
sid=
"kkfileView"
></div>
<div
id=
"SOHUCS"
sid=
"kkfileView"
></div>
<script
charset=
"utf-8"
type=
"text/javascript"
src=
"
https:
//changyan.sohu.com/upload/changyan.js"
></script>
<script
charset=
"utf-8"
type=
"text/javascript"
src=
"//changyan.sohu.com/upload/changyan.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
window
.
changyan
.
api
.
config
({
window
.
changyan
.
api
.
config
({
appid
:
'cytx6wU4N'
,
appid
:
'cytx6wU4N'
,
...
@@ -154,9 +154,9 @@ window.open('http://127.0.0.1:8012/picturesPreview?urls='+encodeURIComponent(fil
...
@@ -154,9 +154,9 @@ window.open('http://127.0.0.1:8012/picturesPreview?urls='+encodeURIComponent(fil
</div>
</div>
</div>
</div>
<script
src=
"js/jquery-3.0.0.min.js"
type=
"text/javascript"
></script>
<script
src=
"js/jquery-3.0.0.min.js"
type=
"text/javascript"
></script>
<script
src=
"
https:
//cdn.bootcss.com/jquery.form/3.09/jquery.form.min.js"
type=
"text/javascript"
></script>
<script
src=
"//cdn.bootcss.com/jquery.form/3.09/jquery.form.min.js"
type=
"text/javascript"
></script>
<script
src=
"
http:
//cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"
></script>
<script
src=
"//cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"
></script>
<script
src=
"
https:
//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.js"
></script>
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.js"
></script>
<script>
<script>
function
deleteFile
(
fileName
)
{
function
deleteFile
(
fileName
)
{
$
.
ajax
({
$
.
ajax
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment