This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
182 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="panel-footer"> | ||
<div class="text-center">{!! $records->render("pagination::bootstrap-4") !!}</div> | ||
</div> | ||
<div class="card-footer"> | ||
<div class="text-center">{!! $records->render("pagination::bootstrap-4") !!}</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,75 @@ | ||
@extends($master) | ||
@extends('ticketit::layouts.master') | ||
@section('page', trans('ticketit::admin.config-create-subtitle')) | ||
|
||
@section('page') | ||
{{ trans('ticketit::admin.config-create-subtitle') }} | ||
@section('ticketit_header') | ||
{!! link_to_route( | ||
$setting->grab('admin_route').'.configuration.index', | ||
trans('ticketit::admin.btn-back'), null, | ||
['class' => 'btn btn-secondary']) | ||
!!} | ||
@stop | ||
|
||
@section('content') | ||
@include('ticketit::shared.header') | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3>{{ trans('ticketit::admin.config-create-title') }} | ||
<div class="panel-nav pull-right" style="margin-top: -7px;"> | ||
{!! link_to_route( | ||
$setting->grab('admin_route').'.configuration.index', | ||
trans('ticketit::admin.btn-back'), null, | ||
['class' => 'btn btn-default']) | ||
!!} | ||
</div> | ||
</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="form-horizontal"> | ||
{!! CollectiveForm::open(['route' => $setting->grab('admin_route').'.configuration.store']) !!} | ||
@section('ticketit_content') | ||
{!! CollectiveForm::open(['route' => $setting->grab('admin_route').'.configuration.store']) !!} | ||
|
||
<!-- Slug Field --> | ||
<div class="form-group"> | ||
{!! CollectiveForm::label('slug', trans('ticketit::admin.config-edit-slug') . trans('ticketit::admin.colon'), ['class' => 'col-sm-2 control-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('slug', null, ['class' => 'form-control']) !!} | ||
</div> | ||
<!-- Slug Field --> | ||
<div class="form-group row"> | ||
{!! CollectiveForm::label('slug', trans('ticketit::admin.config-edit-slug') . trans('ticketit::admin.colon'), ['class' => 'col-sm-3 col-form-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('slug', null, ['class' => 'form-control']) !!} | ||
</div> | ||
</div> | ||
|
||
<!-- Default Field --> | ||
<div class="form-group"> | ||
{!! CollectiveForm::label('default', trans('ticketit::admin.config-edit-default') . trans('ticketit::admin.colon'), ['class' => 'col-sm-2 control-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('default', null, ['class' => 'form-control']) !!} | ||
</div> | ||
<!-- Default Field --> | ||
<div class="form-group row"> | ||
{!! CollectiveForm::label('default', trans('ticketit::admin.config-edit-default') . trans('ticketit::admin.colon'), ['class' => 'col-sm-3 col-form-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('default', null, ['class' => 'form-control']) !!} | ||
</div> | ||
</div> | ||
|
||
<!-- Value Field --> | ||
<div class="form-group"> | ||
{!! CollectiveForm::label('value', trans('ticketit::admin.config-edit-value') . trans('ticketit::admin.colon'), ['class' => 'col-sm-2 control-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('value', null, ['class' => 'form-control']) !!} | ||
</div> | ||
<!-- Value Field --> | ||
<div class="form-group row"> | ||
{!! CollectiveForm::label('value', trans('ticketit::admin.config-edit-value') . trans('ticketit::admin.colon'), ['class' => 'col-sm-3 col-form-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('value', null, ['class' => 'form-control']) !!} | ||
</div> | ||
</div> | ||
|
||
<!-- Lang Field --> | ||
<div class="form-group"> | ||
{!! CollectiveForm::label('lang', trans('ticketit::admin.config-edit-language') . trans('ticketit::admin.colon'), ['class' => 'col-sm-2 control-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('lang', null, ['class' => 'form-control']) !!} | ||
|
||
</div> | ||
<!-- Lang Field --> | ||
<div class="form-group row"> | ||
{!! CollectiveForm::label('lang', trans('ticketit::admin.config-edit-language') . trans('ticketit::admin.colon'), ['class' => 'col-sm-3 col-form-label']) !!} | ||
<div class="col-sm-9"> | ||
{!! CollectiveForm::text('lang', null, ['class' => 'form-control']) !!} | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- Submit Field --> | ||
<div class="form-group"> | ||
<div class="col-sm-10 col-sm-offset-2"> | ||
{!! CollectiveForm::submit(trans('ticketit::admin.btn-submit'), ['class' => 'btn btn-primary']) !!} | ||
</div> | ||
<!-- Submit Field --> | ||
<div class="form-group row"> | ||
<div class="col-sm-10 offset-sm-3"> | ||
{!! CollectiveForm::submit(trans('ticketit::admin.btn-submit'), ['class' => 'btn btn-primary']) !!} | ||
</div> | ||
|
||
{!! CollectiveForm::close() !!} | ||
</div> | ||
</div> | ||
<div class="panel-footer"> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
$("#slug").bind('change', function() { | ||
var slugger = $('#slug').val(); | ||
slugger = slugger | ||
.replace(/\W/g, '.') | ||
.toLowerCase(); | ||
$("#slug").val(slugger); | ||
}); | ||
{!! CollectiveForm::close() !!} | ||
@stop | ||
|
||
$("#default").bind('keyup blur keypress change', function() { | ||
var duplicate = $('#default').val(); | ||
$("#value").val(duplicate); | ||
}); | ||
}); | ||
</script> | ||
@section('footer') | ||
<script> | ||
$(document).ready(function() { | ||
$("#slug").bind('change', function() { | ||
var slugger = $('#slug').val(); | ||
slugger = slugger | ||
.replace(/\W/g, '.') | ||
.toLowerCase(); | ||
$("#slug").val(slugger); | ||
}); | ||
@stop | ||
$("#default").bind('keyup blur keypress change', function() { | ||
var duplicate = $('#default').val(); | ||
$("#value").val(duplicate); | ||
}); | ||
}); | ||
</script> | ||
@append |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.