my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
18
resources/views/settings/project/_form.blade.php
Normal file
18
resources/views/settings/project/_form.blade.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<fieldset>
|
||||
<div class="pure-control-group">
|
||||
{{ Form::label('name', 'project name') }}
|
||||
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
||||
<em>*</em>
|
||||
</div>
|
||||
<div class="pure-control-group">
|
||||
{{ Form::label('label', 'project label') }}
|
||||
{{ Form::text('label', null, ['class' => 'form-control']) }}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<!-- <div class="pure-controls">-->
|
||||
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
|
||||
<!--</div>-->
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
27
resources/views/settings/project/add.blade.php
Normal file
27
resources/views/settings/project/add.blade.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h1 class="title">Add Your Project</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.project') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
{!! Form::open(['route' => 'settings.project.post', 'class' => 'pure-form pure-form-stacked']) !!}
|
||||
|
||||
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Save Project.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
44
resources/views/settings/project/category.blade.php
Normal file
44
resources/views/settings/project/category.blade.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h1>Project</h1>
|
||||
</div>
|
||||
<a href="{{ route('settings.project.add') }}" class="pure-button button-small is-primary">
|
||||
<i class="fa fa-plus-circle"></i>
|
||||
<span>ADD NEW Project</span>
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Project</th>
|
||||
<th>Options</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach($projects as $project)
|
||||
<tr>
|
||||
<td>{{ $project->name }}</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('settings.project.edit', $project->id) }}"><span></span></a>
|
||||
<a class="delete" href="{{ route('settings.project.delete', $project->id) }}"><span></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
31
resources/views/settings/project/edit.blade.php
Normal file
31
resources/views/settings/project/edit.blade.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
|
||||
<h1 class="title">Edit Your Project</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.project') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
{!! Form::model($project, ['method' => 'PATCH', 'route' => ['settings.project.update', $project->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Edit Project.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue