@extends('layouts/default') {{-- Page title --}} @section('title') Update Branding Settings @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => true, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

Branding

{{ Form::label('site_name', trans('admin/settings/general.site_name')) }}
@if (config('app.lock_passwords')===true) {{ Form::text('site_name', Input::old('site_name', $setting->site_name), array('class' => 'form-control', 'disabled'=>'disabled','placeholder' => 'Snipe-IT Asset Management')) }} @else {{ Form::text('site_name', Input::old('site_name', $setting->site_name), array('class' => 'form-control','placeholder' => 'Snipe-IT Asset Management')) }} @endif {!! $errors->first('site_name', ':message') !!}
@if (config('app.lock_passwords'))

{{ trans('general.lock_passwords') }}

@else

{{ trans('general.image_filetypes_help') }}

{!! $errors->first('image', ':message') !!} {{ Form::checkbox('clear_logo', '1', Input::old('clear_logo'),array('class' => 'minimal')) }} Remove @endif
{{ Form::label('brand', trans('admin/settings/general.brand')) }}
{!! Form::select('brand', array('1'=>'Text','2'=>'Logo','3'=>'Logo + Text'), Input::old('brand', $setting->brand), array('class' => 'form-control select2', 'style'=>'width: 150px ;')) !!} {!! $errors->first('brand', ':message') !!}
{{ Form::label('show_url_in_emails', trans('admin/settings/general.show_url_in_emails')) }}
{{ Form::checkbox('show_url_in_emails', '1', Input::old('show_url_in_emails', $setting->show_url_in_emails),array('class' => 'minimal')) }} {{ trans('general.yes') }}

{{ trans('admin/settings/general.show_url_in_emails_help_text') }}

{{ Form::label('header_color', trans('admin/settings/general.header_color')) }}
{{ Form::text('header_color', Input::old('header_color', $setting->header_color), array('class' => 'form-control', 'style' => 'width: 100px;','placeholder' => '#FF0000')) }}
{!! $errors->first('header_color', ':message') !!}
{{ Form::label('skin', trans('general.skin')) }}
{!! Form::skin('skin', Input::old('skin', $setting->skin), 'select2') !!} {!! $errors->first('skin', ':message') !!}
{{ Form::label('custom_css', trans('admin/settings/general.custom_css')) }}
@if (config('app.lock_passwords')===true) {{ Form::textarea('custom_css', Input::old('custom_css', $setting->custom_css), array('class' => 'form-control','placeholder' => 'Add your custom CSS','disabled'=>'disabled')) }} {!! $errors->first('custom_css', ':message') !!}

{{ trans('general.lock_passwords') }}

@else {{ Form::textarea('custom_css', Input::old('custom_css', $setting->custom_css), array('class' => 'form-control','placeholder' => 'Add your custom CSS')) }} {!! $errors->first('custom_css', ':message') !!} @endif

{{ trans('admin/settings/general.custom_css_help') }}

{{ Form::label('support_footer', trans('admin/settings/general.support_footer')) }}
@if (config('app.lock_passwords')===true) {!! Form::select('support_footer', array('on'=>'Enabled','off'=>'Disabled','admin'=>'Superadmin Only'), Input::old('support_footer', $setting->support_footer), ['class' => 'form-control select2 disabled', 'style'=>'width: 150px ;', 'disabled' => 'disabled']) !!} @else {!! Form::select('support_footer', array('on'=>'Enabled','off'=>'Disabled','admin'=>'Superadmin Only'), Input::old('support_footer', $setting->support_footer), array('class' => 'form-control select2', 'style'=>'width: 150px ;')) !!} @endif

{{ trans('admin/settings/general.support_footer_help') }}

{!! $errors->first('support_footer', ':message') !!}
{{ Form::label('version_footer', trans('admin/settings/general.version_footer')) }}
@if (config('app.lock_passwords')===true) {!! Form::select('version_footer', array('on'=>'Enabled','off'=>'Disabled','admin'=>'Superadmin Only'), Input::old('version_footer', $setting->version_footer), ['class' => 'form-control select2 disabled', 'style'=>'width: 150px ;', 'disabled' => 'disabled']) !!} @else {!! Form::select('version_footer', array('on'=>'Enabled','off'=>'Disabled','admin'=>'Superadmin Only'), Input::old('version_footer', $setting->version_footer), array('class' => 'form-control select2', 'style'=>'width: 150px ;')) !!} @endif

{{ trans('admin/settings/general.version_footer_help') }}

{!! $errors->first('version_footer', ':message') !!}
{{ Form::label('custom_css', trans('admin/settings/general.footer_text')) }}
@if (config('app.lock_passwords')===true) {{ Form::textarea('footer_text', Input::old('footer_text', $setting->footer_text), array('class' => 'form-control', 'rows' => '4', 'placeholder' => 'Optional footer text','disabled'=>'disabled')) }}

{{ trans('general.lock_passwords') }}

@else {{ Form::textarea('footer_text', Input::old('footer_text', $setting->footer_text), array('class' => 'form-control','rows' => '4','placeholder' => 'Optional footer text')) }} @endif

{!! trans('admin/settings/general.footer_text_help') !!}

{!! $errors->first('footer_text', ':message') !!}
{{Form::close()}} @stop @section('moar_scripts') @stop