1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-09 14:40:05 +00:00

Fix: Broken script URLs

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-12-08 13:16:17 +01:00
parent af530d4d1b
commit 4c990233d7
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 16 additions and 10 deletions

View file

@ -636,7 +636,7 @@ func assetsScriptJs() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "assets/script.js", size: 15543, md5checksum: "", mode: os.FileMode(436), modTime: time.Unix(1512734089, 0)} info := bindataFileInfo{name: "assets/script.js", size: 15543, md5checksum: "", mode: os.FileMode(436), modTime: time.Unix(1512735360, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -716,7 +716,7 @@ func assetsStyleCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "assets/style.css", size: 2424, md5checksum: "", mode: os.FileMode(436), modTime: time.Unix(1512734089, 0)} info := bindataFileInfo{name: "assets/style.css", size: 2424, md5checksum: "", mode: os.FileMode(436), modTime: time.Unix(1512735360, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }

View file

@ -5,7 +5,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<link href="assets/signin.css" rel="stylesheet"> <link href="assets/signin.css" rel="stylesheet">
</head> </head>
@ -26,7 +27,9 @@
</div> </div>
</div> </div>
<div class="container {% block pagetype %}{% endblock %}">{% block content %}{% endblock %}</div> <div class="container {% block pagetype %}{% endblock %}">{% block content %}{% endblock %}</div>
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> integrity="sha256-ImQvICV38LovIsvla2zykaCTdEh1Z801Y+DSop91wMU=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
</body> </body>
</html> </html>

View file

@ -3,7 +3,8 @@
<head> <head>
<title>cloudkeys</title> <title>cloudkeys</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<link href="../../assets/style.css" rel="stylesheet" media="screen"> <link href="../../assets/style.css" rel="stylesheet" media="screen">
</head> </head>
<body> <body>
@ -171,10 +172,12 @@
</div> </div>
</div> </div>
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9/rollups/aes.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.min.js"
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9/rollups/sha1.js"></script> integrity="sha256-u6BamZiW5tCemje2nrteKC2KoLIKX9lKPSpvCkOhamw=" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> integrity="sha256-ImQvICV38LovIsvla2zykaCTdEh1Z801Y+DSop91wMU=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<script src="../../assets/script.js"></script> <script src="../../assets/script.js"></script>
</body> </body>
</html> </html>