mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Updated help text
This commit is contained in:
parent
408435057e
commit
ed79eacb9d
|
@ -742,7 +742,17 @@
|
||||||
<section class="content-header" style="padding-bottom: 30px;">
|
<section class="content-header" style="padding-bottom: 30px;">
|
||||||
<h1 class="pull-left">
|
<h1 class="pull-left">
|
||||||
@yield('title')
|
@yield('title')
|
||||||
|
|
||||||
|
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
@if (isset($helpText))
|
||||||
|
@include ('partials.more-info',
|
||||||
|
[
|
||||||
|
'helpText' => $helpText,
|
||||||
|
'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left'
|
||||||
|
])
|
||||||
|
@endif
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
@yield('header_right')
|
@yield('header_right')
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,48 +24,37 @@
|
||||||
<!-- row -->
|
<!-- row -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- col-md-8 -->
|
<!-- col-md-8 -->
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-sm-12 col-sm-offset-0">
|
||||||
|
|
||||||
<form id="create-form" class="form-horizontal" method="post" action="{{ (isset($formAction)) ? $formAction : \Request::url() }}" autocomplete="off" role="form" enctype="multipart/form-data">
|
<form id="create-form" class="form-horizontal" method="post" action="{{ (isset($formAction)) ? $formAction : \Request::url() }}" autocomplete="off" role="form" enctype="multipart/form-data">
|
||||||
|
|
||||||
<!-- box -->
|
<!-- box -->
|
||||||
<div class="box box-default">
|
<div class="box box-default">
|
||||||
<!-- box-header -->
|
<!-- box-header -->
|
||||||
<div class="box-header{{ ($item->id) ? ' with-border' : '' }}">
|
<div class="box-header with-border text-right">
|
||||||
|
|
||||||
<div class="box-title col-md-12" style="min-height: 20px;">
|
<div class="col-md-12 box-title text-right" style="padding: 0px; margin: 0px;">
|
||||||
|
|
||||||
<div class="col-md-12">
|
|
||||||
|
|
||||||
@if (isset($helpText))
|
|
||||||
<div class="col-md-1 text-left" style="horiz-align: center;">
|
|
||||||
@include ('partials.more-info',
|
|
||||||
[
|
|
||||||
'helpText' => $helpText,
|
|
||||||
'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left'
|
|
||||||
])
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
|
<div class="col-md-12" style="padding: 0px; margin: 0px;">
|
||||||
|
<div class="col-md-9 text-left">
|
||||||
@if ($item->id)
|
@if ($item->id)
|
||||||
<div class="col-md-9">
|
<h2 class="box-title text-left" style="padding-top: 8px;">
|
||||||
<h2 class="box-title">
|
|
||||||
{{ $item->display_name }}
|
{{ $item->display_name }}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ((isset($topSubmit)) && ($topSubmit =='true'))
|
|
||||||
<div class="col-md-2 text-right">
|
|
||||||
@include('partials.forms.edit.submit-button')
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
<div class="col-md-3 text-right" style="padding-right: 10px;">
|
||||||
|
<a class="btn btn-link text-left" href="{{ URL::previous() }}">
|
||||||
|
{{ trans('button.cancel') }}
|
||||||
|
</a>
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
<i class="fa fa-check icon-white" aria-hidden="true"></i>
|
||||||
|
{{ trans('general.save') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- /div.row -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div><!-- /.box-header -->
|
|
||||||
</div><!-- /.box-header -->
|
</div><!-- /.box-header -->
|
||||||
|
|
||||||
<!-- box-body -->
|
<!-- box-body -->
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
<a href="#" class="text-dark-gray pull-left" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" data-placement="{{ (isset($helpPosition)) ? $helpPosition : 'right' }}" data-html="true" data-content="{{ (isset($helpText)) ? $helpText : 'Info Missing' }}"><i class="fa fa-life-ring fa-2x"></i></a>
|
<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' }}">
|
||||||
|
<i class="fa fa-life-ring" aria-hidden="true"><span class="sr-only">More Info</span></i>
|
||||||
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue