Skip to content

A free open source IT asset/license management system

Updated help text

snipeed79eacb9dc9
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index a0ecb9e851..44ee626683 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -742,7 +742,17 @@
<section class="content-header" style="padding-bottom: 30px;">
<h1 class="pull-left">
@yield('title')
+
+
</h1>
+
+ @if (isset($helpText))
+ @include ('partials.more-info',
+ [
+ 'helpText' => $helpText,
+ 'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left'
+ ])
+ @endif
<div class="pull-right">
@yield('header_right')
</div>
diff --git a/resources/views/layouts/edit-form.blade.php b/resources/views/layouts/edit-form.blade.php
index 03557765ed..20a8c99e71 100644
--- a/resources/views/layouts/edit-form.blade.php
+++ b/resources/views/layouts/edit-form.blade.php
@@ -24,48 +24,37 @@
<!-- row -->
<div class="row">
<!-- 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">
<!-- box -->
<div class="box box-default">
<!-- 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
-
- @if ($item->id)
- <div class="col-md-9">
- <h2 class="box-title">
+ <div class="col-md-12" style="padding: 0px; margin: 0px;">
+ <div class="col-md-9 text-left">
+ @if ($item->id)
+ <h2 class="box-title text-left" style="padding-top: 8px;">
{{ $item->display_name }}
</h2>
- </div>
- @endif
-
- @if ((isset($topSubmit)) && ($topSubmit =='true'))
- <div class="col-md-2 text-right">
- @include('partials.forms.edit.submit-button')
- </div>
- @endif
-
- </div> <!-- /div.row -->
-
-
+ @endif
+ </div>
+ <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><!-- /.box-header -->
</div><!-- /.box-header -->
<!-- box-body -->
diff --git a/resources/views/partials/more-info.blade.php b/resources/views/partials/more-info.blade.php
index 7a00c10bea..0c45ca4eb8 100644
--- a/resources/views/partials/more-info.blade.php
+++ b/resources/views/partials/more-info.blade.php
@@ -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>