Skip to content

Commit 1f02792

Browse files
committed
move 3rd party libs to external/
1 parent 743885a commit 1f02792

15 files changed

Lines changed: 19 additions & 19 deletions

File tree

src/main/webapp/WEB-INF/templates/editpost.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<head>
1010
<title>Blog — Create post</title>
1111

12-
<script src="../../js/Markdown.Converter.js" th:src="@{/js/Markdown.Converter.js}"></script>
13-
<script src="../../js/Markdown.Sanitizer.js" th:src="@{/js/Markdown.Sanitizer.js}"></script>
14-
<script src="../../js/Markdown.Editor.js" th:src="@{/js/Markdown.Editor.js}"></script>
12+
<script src="../../js/external/markdown/Markdown.Converter.js" th:src="@{/js/external/markdown/Markdown.Converter.js}"></script>
13+
<script src="../../js/external/markdown/Markdown.Sanitizer.js" th:src="@{/js/external/markdown/Markdown.Sanitizer.js}"></script>
14+
<script src="../../js/external/markdown/Markdown.Editor.js" th:src="@{/js/external/markdown/Markdown.Editor.js}"></script>
1515

16-
<link rel="stylesheet" type="text/css" href="../../css/pagedown.css" th:href="@{/css/pagedown.css}"/>
16+
<link rel="stylesheet" type="text/css" href="../../css/external/pagedown.css" th:href="@{/css/external/pagedown.css}"/>
1717

1818
<script src="../../js/editpost.js" th:src="@{/js/editpost.js}"></script>
1919
</head>

src/main/webapp/WEB-INF/templates/editprofile.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<head>
1010
<title>Blog — Edit profile</title>
1111

12-
<script src="../../js/Markdown.Converter.js" th:src="@{/js/Markdown.Converter.js}"></script>
13-
<script src="../../js/Markdown.Sanitizer.js" th:src="@{/js/Markdown.Sanitizer.js}"></script>
14-
<script src="../../js/Markdown.Editor.js" th:src="@{/js/Markdown.Editor.js}"></script>
12+
<script src="../../js/external/markdown/Markdown.Converter.js" th:src="@{/js/external/markdown/Markdown.Converter.js}"></script>
13+
<script src="../../js/external/markdown/Markdown.Sanitizer.js" th:src="@{/js/external/markdown/Markdown.Sanitizer.js}"></script>
14+
<script src="../../js/external/markdown/Markdown.Editor.js" th:src="@{/js/external/markdown/Markdown.Editor.js}"></script>
1515

16-
<link rel="stylesheet" type="text/css" href="../../css/pagedown.css" th:href="@{/css/pagedown.css}"/>
17-
<link rel="stylesheet" type="text/css" href="../../css/fileupload.css" th:href="@{/css/fileupload.css}"/>
16+
<link rel="stylesheet" type="text/css" href="../../css/external/pagedown.css" th:href="@{/css/external/pagedown.css}"/>
17+
<link rel="stylesheet" type="text/css" href="../../css/external/fileupload.css" th:href="@{/css/external/fileupload.css}"/>
1818

1919
<script src="../../js/editprofile.js" th:src="@{/js/editprofile.js}"></script>
2020

21-
<script src="../../js/fileupload/jquery.iframe-transport.js" th:src="@{/js/fileupload/jquery.iframe-transport.js}"></script>
22-
<script src="../../js/fileupload/jquery.fileupload.js" th:src="@{/js/fileupload/jquery.fileupload.js}"></script>
21+
<script src="../../js/external/fileupload/jquery.iframe-transport.js" th:src="@{/js/external/fileupload/jquery.iframe-transport.js}"></script>
22+
<script src="../../js/external/fileupload/jquery.fileupload.js" th:src="@{/js/external/fileupload/jquery.fileupload.js}"></script>
2323
</head>
2424

2525
<body>

src/main/webapp/WEB-INF/templates/layouts/blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"/>
3333
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
3434

35-
<script src="../../../js/bootbox.min.js" th:src="@{/js/bootbox.min.js}"></script>
35+
<script src="../../../js/external/bootbox.min.js" th:src="@{/js/external/bootbox.min.js}"></script>
3636

3737
<script src="../../../js/common.js" th:src="@{/js/common.js}"></script>
3838

src/main/webapp/WEB-INF/templates/post.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<head>
1111
<title th:text="'Blog — ' + ${post.title}"></title>
1212

13-
<script src="../../js/Markdown.Converter.js" th:src="@{/js/Markdown.Converter.js}"></script>
14-
<script src="../../js/Markdown.Sanitizer.js" th:src="@{/js/Markdown.Sanitizer.js}"></script>
15-
<script src="../../js/Markdown.Editor.js" th:src="@{/js/Markdown.Editor.js}"></script>
13+
<script src="../../js/external/markdown/Markdown.Converter.js" th:src="@{/js/external/markdown/Markdown.Converter.js}"></script>
14+
<script src="../../js/external/markdown/Markdown.Sanitizer.js" th:src="@{/js/external/markdown/Markdown.Sanitizer.js}"></script>
15+
<script src="../../js/external/markdown/Markdown.Editor.js" th:src="@{/js/external/markdown/Markdown.Editor.js}"></script>
1616

17-
<link rel="stylesheet" type="text/css" href="../../css/pagedown.css" th:href="@{/css/pagedown.css}"/>
17+
<link rel="stylesheet" type="text/css" href="../../css/external/pagedown.css" th:href="@{/css/external/pagedown.css}"/>
1818

1919
<script src="../../js/comments.js" th:src="@{/js/comments.js}"></script>
2020
<script sec:authorize="hasRole('ROLE_ADMIN')" src="../../js/admin.js" th:src="@{/js/admin.js}"></script>

src/main/webapp/WEB-INF/templates/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title th:text="'Blog — User ' + ${user.username}"></title>
1111

12-
<link rel="stylesheet" type="text/css" href="../../css/pagedown.css" th:href="@{/css/pagedown.css}"/>
12+
<link rel="stylesheet" type="text/css" href="../../css/external/pagedown.css" th:href="@{/css/external/pagedown.css}"/>
1313
</head>
1414

1515
<body>

src/main/webapp/WEB-INF/templates/registration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title>Blog — Registration</title>
1111

12-
<script src="../../js/xregexp-all-min.js" th:src="@{/js/xregexp-all-min.js}"></script>
12+
<script src="../../js/external/xregexp-all-min.js" th:src="@{/js/external/xregexp-all-min.js}"></script>
1313
<script src="../../js/registration.js" th:src="@{/js/registration.js}"></script>
1414
</head>
1515

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454

5555
.wmd-button > span {
56-
background-image: url(../js/wmd-buttons.png);
56+
background-image: url(../../js/wmd-buttons.png);
5757
background-repeat: no-repeat;
5858
background-position: 0 0;
5959
width: 20px;
File renamed without changes.

src/main/webapp/js/fileupload/jquery.fileupload.js renamed to src/main/webapp/js/external/fileupload/jquery.fileupload.js

File renamed without changes.

0 commit comments

Comments
 (0)