move js and css to specific directories
This commit is contained in:
parent
5f18c04d4d
commit
c865080df1
6 changed files with 59 additions and 39 deletions
94
rice-box.go
94
rice-box.go
File diff suppressed because one or more lines are too long
|
|
@ -309,7 +309,7 @@ function bootstrap() {
|
|||
documentHashHandler()
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/static/service_worker.js')
|
||||
navigator.serviceWorker.register('/static/js/service_worker.js')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
|
||||
<link rel="stylesheet" href="/static/bootstrap.min.css" type="text/css">
|
||||
<link rel="stylesheet" href="/static/main.css" type="text/css">
|
||||
<link rel="stylesheet" href="/static/css/bootstrap.min.css" type="text/css">
|
||||
<link rel="stylesheet" href="/static/css/main.css" type="text/css">
|
||||
<link rel="manifest" href="/static/manifest.json">
|
||||
<link rel="icon" type="image/png" href="/static/img/icon.png">
|
||||
<title>Remote i3-wm</title>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<div id="response"></div>
|
||||
|
||||
<script src="/static/main.js"></script>
|
||||
<script src="/static/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue