Вход Регистрация
Файл: src/resources/views/settings/index.blade.php
Строк: 191
<?php
@extends('layouts.app')
@
section('breadcrumb')
<
ul class="breadcrumb">
   <
li>
      <
a href="{{route('get.dashboard')}}" title="{{trans('breadcrumb.dashboard')}}">
      <
span class="lnr lnr-home"></span> {{trans('breadcrumb.dashboard')}}
      </
a>
   </
li>
   <
li>{{trans('breadcrumb.settings')}}</li>
</
ul>
@
stop
@section('content')
<
div class="row">
   <
div class="col-sm-12">
        @if(
Session::get("ErrorMessage"))
    <
div class="alert alert-danger" role="alert">
  <
span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
  <
strong>{{trans('messages.failure_header')}}</strong>
  {{
Session::get("ErrorMessage")}}
</
div>
@endif
    @if(
Session::get("SuccessMessage"))
    <
div class="alert alert-success" role="alert">
  <
span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
  <
strong>{{trans('messages.success_header')}}</strong
  {{
Session::get("SuccessMessage")}}
</
div>
@endif
      <
div class="panel panel-flat">
         <
div class="panel-heading">
            <
h5>{!! trans('settings.add_panel_title') !!}</strong></h5>
         </
div>
         <
div class="panel-body">
            <
div class="row">
               <
div class="col-lg-4">
                  <
img src="{{asset('/uploads/'.$Settings->Logo)}}" alt="" class="img-responsive" />
               </
div>
               <
div class="col-lg-8">
                  <
form action="/file-upload" class="dropzone">
                     <
div class="fallback">
                        <
input name="file" type="file" multiple />
                     </
div>
                  </
form>
               </
div>
            </
div>
            {{
Form::model($Settings,['class'=>'form-horizontal'])}}
            <
fieldset class="content-group">
                <
div class="form-group">
                    <
label class="control-label col-lg-2">
                        {{
trans('settings.label_currencies')}}
                    </
label>
                    <
div class="col-lg-4">
                        {{
Form::select('CurrencyID',$Currencies,null,['placeholder'=>'Select Currency...','class'=>'form-control select2'])}}
                        @if(
$errors->has('CurrencyID'))
                            <
small>{{$errors->first('CurrencyID')}}</small>
                        @endif
                    </
div>
                    <
label class="control-label col-lg-2">
                        {{
trans('settings.label_languages')}}
                    </
label>
                    <
div class="col-lg-4">
                        {{
Form::select('LanguageID',$Languages,null,['placeholder'=>'Select Language...','class'=>'form-control'])}}
                        @if(
$errors->has('LanguageID'))
                            <
small>{{$errors->first('LanguageID')}}</small>
                        @endif
                    </
div>
                </
div>
                <
div class="form-group">
                  <
label class="control-label col-lg-2">
                  {{
trans('settings.label_email')}}
                  </
label>
                  <
div class="col-lg-4">
                        {{
Form::text('Email',null,['placeholder'=>'example@example.com','class'=>'form-control'])}}
                        @if(
$errors->has('Email'))
                            <
small>{{$errors->first('Email')}}</small>
                        @endif
                  </
div>
                  <
label class="control-label col-lg-2">
                  {{
trans('settings.label_color_palette')}}
                  </
label>
                  <
div class="col-lg-4">
                      <
div id="colorpicker" class="input-group colorpicker-component">
                        {{
Form::text('ColorPalette',null,['placeholder'=>'example@example.com','class'=>'form-control'])}}
                          <
span class="input-group-addon"><i></i></span>
                        </
div>
                        @if(
$errors->has('ColorPalette'))
                            <
small>{{$errors->first('ColorPalette')}}</small>
                        @endif
                  </
div>
               </
div>
                <
div class="form-group">
                  <
label class="control-label col-lg-2">
                  {{
trans('settings.label_content')}}
                  </
label>
                  <
div class="col-lg-10">
                     {{
Form::textarea('DefaultContent',null,['class'=>'form-control'])}}
                     @if(
$errors->has('DefaultContent'))
                     <
small>{{$errors->first('DefaultContent')}}</small>
                     @endif
                  </
div>
               </
div>

                <
fieldset class="content-group">
                    <
legend>{{trans('settings.company_details')}}</legend>
                                    <
div class="form-group">
                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.title')}}
                                        </
label>
                                        <
div class="col-lg-10">
                                            {{
Form::text('Title',$Company["Title"],['placeholder'=>'Example Company Inc.','class'=>'form-control'])}}
                                            @if(
$errors->has('Title'))
                                                <
small>{{$errors->first('Title')}}</small>
                                            @endif
                                        </
div>
                                    </
div>

                                    <
div class="form-group">
                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.address')}}
                                        </
label>
                                        <
div class="col-lg-5">
                                            {{
Form::text('Address1',$Company["Address1"],['placeholder'=>'Address Line 1','class'=>'form-control'])}}
                                            @if(
$errors->has('Address1'))
                                                <
small>{{$errors->first('Address1')}}</small>
                                            @endif
                                        </
div>
                                        <
div class="col-lg-5">
                                            {{
Form::text('Address2',$Company["Address2"],['placeholder'=>'Address Line 2','class'=>'form-control'])}}
                                            @if(
$errors->has('Address2'))
                                                <
small>{{$errors->first('Address2')}}</small>
                                            @endif
                                        </
div>
                                    </
div>
                                    <
div class="form-group">
                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.city')}}
                                        </
label>
                                        <
div class="col-lg-4">
                                            {{
Form::text('City',$Company["City"],['placeholder'=>'Eg: New York','class'=>'form-control'])}}
                                            @if(
$errors->has('City'))
                                                <
small>{{$errors->first('City')}}</small>
                                            @endif
                                        </
div>

                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.country')}}
                                        </
label>
                                        <
div class="col-lg-4">
                                            {{
Form::select('CountryID',$Countries,$Company["CountryID"],['placeholder'=>'Select Country...','class'=>'form-control select2'])}}
                                            @if(
$errors->has('CountryID'))
                                                <
small>{{$errors->first('CountryID')}}</small>
                                            @endif
                                        </
div>
                                    </
div>
                                    <
div class="form-group">
                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.zipcode')}}
                                        </
label>
                                        <
div class="col-lg-4">
                                            {{
Form::text('ZipCode',$Company["ZipCode"],['placeholder'=>'Eg: 35530 XY','class'=>'form-control'])}}
                                            @if(
$errors->has('ZipCode'))
                                                <
small>{{$errors->first('ZipCode')}}</small>
                                            @endif
                                        </
div>

                                        <
label class="control-label col-lg-2">
                                            {{
trans('companies.phone')}}
                                        </
label>
                                        <
div class="col-lg-4">
                                            {{
Form::text('Phone',$Company["Phone"],['placeholder'=>'Contact Phone','class'=>'form-control'])}}
                                            @if(
$errors->has('Phone'))
                                                <
small>{{$errors->first('Phone')}}</small>
                                            @endif
                                        </
div>
                                    </
div>
                                </
fieldset>

                                <
div class="text-right">
                                    <
button type="submit" class="btn btn-sm btn-primary">
                                        <
class="lnr lnr-cog"></i
                                        {{
trans('settings.update_settings')}}
                                    </
button>
                                </
div>
            {{
Form::close()}}
         </
div>
      </
div>
   </
div>
</
div>
@
stop
?>
Онлайн: 0
Реклама