@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, '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') !!}
{{ Form::label('logo', trans('admin/settings/general.logo')) }}
@if (config('app.lock_passwords'))

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

@else {{ Form::file('image') }} {!! $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('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