Skip to content

Commit

Permalink
Upgrade screen UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Timot Tarjani committed Oct 6, 2023
1 parent 0e2de2f commit a377940
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 7 additions & 9 deletions app/View/dashboard/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,17 @@


@if ($upgrade != null && $upgrade->newVersionAvailable())
<div class="alert alert-warning alert-dismissible col-md-10 mt-4" role="alert">
<div class="container">
<div class="alert alert-warning mt-4" role="alert">


<p class="font-weight-bold">
{{ trans('dashboard.update_available') . ' v' . $upgrade->getLatestVersion() }}</p>
<p class="fw-bold"> {{ trans('dashboard.update_available') . ' v' . $upgrade->getLatestVersion() }}</p>
<p class="pt-1">{{ trans('dashboard.update_message') }}</p>
<a href="{{ route('settings.show', ['setting' => 'updatecenter']) }}"
class='btn btn-primary btn-block d-block'
style="display: block !important;">{{ trans('dashboard.update_now') }}</a>

<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<a href="{{ route('settings.show', ['setting' => 'updatecenter']) }}" class='btn btn-primary w-100' >{{ trans('dashboard.update_now') }}</a>


</div>
</div>
@endif

</div>
Expand Down
7 changes: 3 additions & 4 deletions app/View/settings/updatecenter.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
<div class="card-body">
<section class='row'>

<div class='col-md-4'
style='/*max-height:400px;overflow-y:scroll;padding:0px;border:1px solid #9d9d9d;border-radius:5px;*/'>
<div class='col-md-4'>

@if (count($available_list) > 0)
<a class="btn btn-info btn-block"
href="{{ config('horizontcms.backend_prefix') }}/settings/sys-upgrade">Install all</a><br><br>
<a class="btn btn-info w-100"
href="{{ config('horizontcms.backend_prefix') }}/settings/sys-upgrade">Install all</a>
@endif


Expand Down

0 comments on commit a377940

Please sign in to comment.