Skip to content

A free open source IT asset/license management system

Nicer padding

snipe06b040a3372f
diff --git a/resources/views/account/accept/create.blade.php b/resources/views/account/accept/create.blade.php
index 23e097eded..54a4371f1f 100644
--- a/resources/views/account/accept/create.blade.php
+++ b/resources/views/account/accept/create.blade.php
@@ -19,12 +19,6 @@
padding-right: 10px;
}
- #eula_div {
- width: 100%;
- height: auto;
- overflow: auto;
- }
-
.m-signature-pad--body {
border-style: solid;
border-color: grey;
@@ -49,13 +43,13 @@
</h2>
</div>
<div class="box-body">
- <div class="col-md-12" style="padding-top: 20px; padding-bottom: 15px;">
@if ($acceptance->checkoutable->getEula())
- <div id="eula_div" style="background-color: rgba(211,211,211,0.25); padding: 10px; border: lightgrey 1px solid;">
- {!! $acceptance->checkoutable->getEula() !!}
+ <div class="col-md-12" style="padding-top: 15px; padding-bottom: 15px;">
+ <div style="background-color: rgba(211,211,211,0.25); padding: 10px; border: lightgrey 1px solid;">
+ {!! $acceptance->checkoutable->getEula() !!}
+ </div>
</div>
@endif
- </div>
<div class="col-md-12">
<label class="form-control">
<input type="radio" name="asset_acceptance" id="accepted" value="accepted">
@@ -69,7 +63,6 @@
</div>
<div class="col-md-12">
<br>
-
<label id="note_label" for="note" style="text-align:center;" >{{trans('admin/settings/general.acceptance_note')}}</label>
<br>
<textarea id="note" name="note" rows="4" class="form-control" style="width:100%">{{ old('note') }}</textarea>
@@ -163,7 +156,7 @@
$('[name="asset_acceptance"]').on('change', function() {
- if ($(this).is(':checked') && $(this).attr('id') == 'declined') {
+ if ($(this).is(':checked') && $(this).attr('id') === 'declined') {
$("#showEmailBox").hide();
$("#showSubmit").show();
$("#submit-button").removeClass("btn-success").addClass("btn-danger").show();
@@ -171,7 +164,7 @@
$("#buttonText").text('{{ trans('general.i_decline_item') }}');
$("#note").prop('required', true);
- } else if ($(this).is(':checked') && $(this).attr('id') == 'accepted') {
+ } else if ($(this).is(':checked') && $(this).attr('id') === 'accepted') {
$("#showEmailBox").show();
$("#showSubmit").show();
$("#submit-button").removeClass("btn-danger").addClass("btn-success").show();