Small UI tweaks for kits

This commit is contained in:
snipe 2020-09-15 10:15:14 -07:00
parent 426897c902
commit e464f0edf3
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC
4 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,8 @@
<?php <?php
return array( return array(
'about_kits' => 'About Predefined Kits', 'about_kits_title' => 'About Predefined Kits',
'about_kits_text' => 'Predefined Kits let you quickly check out a collection of items (assets, licenses, etc) to a user. This can be helpful when your onboarding process is consistent across many users and all users receive the same items.',
'checkout' => 'Checkout Kit ', 'checkout' => 'Checkout Kit ',
'create_success' => 'Kit was successfully created.', 'create_success' => 'Kit was successfully created.',
'create' => 'Create Predefined Kit', 'create' => 'Create Predefined Kit',

View file

@ -1,12 +1,14 @@
@extends('layouts/edit-form', [ @extends('layouts/edit-form', [
'createText' => trans('admin/kits/general.create'), 'createText' => trans('admin/kits/general.create'),
'updateText' => trans('admin/kits/general.update'), 'updateText' => trans('admin/kits/general.update'),
'helpTitle' => trans('admin/kits/table.about_kits_title'),
'helpText' => trans('admin/kits/table.about_kits_text'),
'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'), 'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'),
]) ])
{{-- Page content --}} {{-- Page content --}}
@section('inputFields') @section('inputFields')
@include ('partials.forms.edit.name', ['translated_name' => 'Name']) {{-- TODO: trans --}} @include ('partials.forms.edit.name', ['translated_name' => trans('general.name')])
@stop @stop
@section('content') @section('content')

View file

@ -1,4 +1,6 @@
@extends('layouts/default') @extends('layouts/default', [
'helpTitle' => trans('admin/kits/general.about_kits_title'),
'helpText' => trans('admin/kits/general.about_kits_text')])
{{-- Web site Title --}} {{-- Web site Title --}}
@section('title') @section('title')

View file

@ -1,3 +1,3 @@
<a style="padding-left: 10px; font-size: 18px;" class="text-dark-gray" data-trigger="focus" tabindex="0" role="button" data-toggle="popover" title="More Info" data-placement="{{ (isset($helpPosition)) ? $helpPosition : 'right' }}" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Help Info Missing' }}"> <a style="padding-left: 10px; font-size: 18px;" class="text-dark-gray" data-trigger="focus" tabindex="0" role="button" data-toggle="popover" title="More Info" data-placement="right" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Help Info Missing' }}">
<i class="fa fa-life-ring" aria-hidden="true"><span class="sr-only">More Info</span></i> <i class="fa fa-life-ring" aria-hidden="true"><span class="sr-only">More Info</span></i>
</a> </a>