Less code for extension page btns

I've put the css into classes instead, just helps a bit having less bloat.
This commit is contained in:
purple 2023-02-23 18:09:33 +01:00
parent bf4fcd2fc7
commit ee89018f64
2 changed files with 15 additions and 2 deletions

View file

@ -23,3 +23,16 @@ tag[blue] {background-color:#288afb;}
.btn-gray-alt {background-color:#4d5b69;color:#cad1d8;border-color:#4d5b69;} .btn-gray-alt {background-color:#4d5b69;color:#cad1d8;border-color:#4d5b69;}
.btn-gray-alt:hover {background-color:#3f4d5a;color:#cad1d8;border-color:#4d5b69;} .btn-gray-alt:hover {background-color:#3f4d5a;color:#cad1d8;border-color:#4d5b69;}
.img-btn {
width:25px;
height:25px;
border-radius:3px;
margin-right:2px;
};
.btn-row {
width:100%;
margin-bottom:25px;
};

View file

@ -14,7 +14,7 @@
@section('content') @section('content')
<div class="col-xs-6 col-sm-3 text-center"> <div class="col-xs-6 col-sm-3 text-center">
<a href="{{ route('admin.extensions.blueprint.index') }}"><button class="btn btn-gray" style="width:100%;margin-bottom:25px;"><img src="/assets/extensions/blueprint/logo.jpg" alt="logo" style="width:25px;height:25px;border-radius:3px;margin-right:2px;"> Blueprint <small>{{ $bp->version() }}</small></button></a> <a href="{{ route('admin.extensions.blueprint.index') }}"><button class="btn btn-gray btn-row"><img src="/assets/extensions/blueprint/logo.jpg" alt="logo" class="img-btn"> Blueprint <small>{{ $bp->version() }}</small></button></a>
</div> </div>
<!-- blueprint.replace --> <!-- blueprint.replace -->
@endsection @endsection