Skip to content

Commit 56e17b9

Browse files
committed
Remove all external dependencies
#222
1 parent 9b9593b commit 56e17b9

28 files changed

+18660
-25
lines changed

resources/views/components/config/advanced-config.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</form>
2222

2323

24-
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js" type="text/javascript" charset="utf-8"></script>
24+
<script src="{{ asset('studio/external-dependencies/ace.js') }}" type="text/javascript" charset="utf-8"></script>
2525
<script>
2626
var editor = ace.edit("editor");
2727
editor.setTheme("ace/theme/xcode");

resources/views/components/config/alternative-config.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<button type="submit" class="mt-3 ml-3 btn btn-info">Save</button>
1414
</form>
1515

16-
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js" type="text/javascript" charset="utf-8"></script>
16+
<script src="{{ asset('studio/external-dependencies/ace.js') }}" type="text/javascript" charset="utf-8"></script>
1717
<script>
1818
var editor = ace.edit("editor2");
1919
editor.setTheme("ace/theme/xcode");

resources/views/components/config/backups.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<style>button{border-style: none;background-color: #0085ff;color: #fff;border-radius: 5px;}button:hover {background-color:#0065c1;color: #FFF;box-shadow: 0 10px 20px -10px rgba(0,0,0, 0.6);}.btn {color: #FFF !important;}.buttondm{display:inline-block;text-decoration:none;height:48px;text-align:center;vertical-align:middle;font-size:18px;width:300px;font-weight:700;line-height:48px;letter-spacing:.1px;white-space:wrap;border-radius:8px;cursor:pointer}.button-hover,.credit-hover{display:inline-block;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px rgba(0,0,0,0);-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:transform;transition-property:transform}.button-hover:active,.credit-hover:active,.button-hover:focus,.credit-hover:focus,.button-hover:hover,.credit-hover:hover{-webkit-transform:scale(1.06);transform:scale(1.06)}.container{align-items:center;display:flex;flex-direction:column;justify-content:center;height:50%;width:100%}</style>
33
<!-- Custom icons font-awesome -->
4-
<script src="https://kit.fontawesome.com/c4a5e06183.js" crossorigin="anonymous"></script>
5-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.2/css/all.css" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
4+
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
5+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
66
@if (file_exists(base_path('backups/updater-backups/')) and is_dir(base_path('backups/updater-backups/')))
77
@if($_SERVER['QUERY_STRING'] != '')
88
<?php

resources/views/components/config/config.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ function text($key){
396396

397397
<br><br><br><br><br>
398398

399-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
399+
<script src="{{ asset('studio/external-dependencies/jquery-3.4.1.min.js') }}"></script>
400400

401401
<script type="text/javascript">
402402
$(document).ready(function () {

resources/views/home.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ function themeAsset($path){
4343
@endif
4444

4545
<!-- Custom icons font-awesome -->
46-
<script src="https://kit.fontawesome.com/c4a5e06183.js" crossorigin="anonymous"></script>
47-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.2/css/all.css" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
46+
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
47+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
4848

4949
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
5050
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">

resources/views/layouts/installing.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<title>LittleLink Custom setup</title>
1414
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
15-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
15+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/bootstrap-icons.css') }}">
1616
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
1717
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
1818
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">

resources/views/layouts/sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
1515

1616
<link href="//fonts.bunny.net/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
17+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/bootstrap-icons.css') }}">
1818
<!-- begin dark mode detection -->
1919
<script src="{{ asset('littlelink/js/js.cookie.min.js') }}"></script>
2020
<script>

resources/views/layouts/updater.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
1717
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
1818
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
19-
<script src="https://kit.fontawesome.com/c4a5e06183.js" crossorigin="anonymous"></script>
20-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.2/css/all.css" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
19+
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
20+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
2121
@if(file_exists(base_path("littlelink/images/avatar.png" )))
2222
<link rel="icon" type="image/png" href="{{ asset('littlelink/images/avatar.png') }}">
2323
@else

resources/views/littlelink.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ function themeAsset($path){
7474
<!--#### END Meta Tags social media preview images ####-->
7575

7676
<!-- Custom icons font-awesome -->
77-
<script src="https://kit.fontawesome.com/c4a5e06183.js" crossorigin="anonymous"></script>
78-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.2/css/all.css" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
77+
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
78+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
7979

8080
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
8181
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">

resources/views/maintenance.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
@endif
1919

2020
<!-- Custom icons font-awesome -->
21-
<script src="https://kit.fontawesome.com/c4a5e06183.js" crossorigin="anonymous"></script>
22-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.2/css/all.css" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
21+
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
22+
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" integrity="sha384-fZCoUih8XsaUZnNDOiLqnby1tMJ0sE7oBbNk2Xxf5x8Z4SvNQ9j83vFMa/erbVrV" crossorigin="anonymous"/>
2323

2424
<link href="//fonts.bunny.net/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
2525
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">

0 commit comments

Comments
 (0)