@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', '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('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::close()}} @stop @section('moar_scripts') @stop