chore: Update deployment index.blade.php script for better performance
This commit is contained in:
parent
a8c3a2d991
commit
e26f4ce707
1 changed files with 34 additions and 39 deletions
|
|
@ -105,12 +105,9 @@ class="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
@endforelse
|
@endforelse
|
||||||
|
|
||||||
@if ($deployments_count > 0)
|
@if ($deployments_count > 0)
|
||||||
@assets
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
||||||
@endassets
|
|
||||||
@script
|
|
||||||
<script>
|
<script>
|
||||||
function goto(url) {
|
function goto(url) {
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
|
|
@ -145,8 +142,6 @@ function goto(url) {
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
</script>
|
</script>
|
||||||
@endscript
|
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue