add publish module

This commit is contained in:
Arno Kaimbacher 2018-08-29 17:18:15 +02:00
parent 100f6db9a6
commit ffbbc04206
93 changed files with 8150 additions and 10228 deletions

View file

@ -9,10 +9,7 @@
{{ Form::text('label', null, ['class' => 'form-control']) }}
<em>*</em>
</div>
<!-- <div class="pure-controls">-->
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
<!--</div>-->
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
</fieldset>
@include('errors._errors')

View file

@ -1,27 +1,21 @@
@extends('layouts.app')
@extends('layouts.settings.layout')
@section('content')
<div class="header">
<h3 class="header-title">
Add Your Project
</h3>
</div>
<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']) !!}
<div class="box-content">
<a href="{{ route('settings.project') }}" class="pure-button button-small">
<i class="fa fa-chevron-left"></i>
<span>BACK</span>
</a>
<div>
{!! Form::open(['route' => 'settings.project.post', 'class' => 'pure-form pure-form-aligned']) !!}
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Save Project.'])
{!! Form::close() !!}
</div>
</div>
@stop

View file

@ -1,44 +1,41 @@
@extends('layouts.app')
@extends('layouts.settings.layout')
@section('content')
<div class="pure-g">
<div class="header">
<h3 class="header-title">
<i class="fa fa-tasks"></i>
<span>Projects<span>
</h3>
</div>
<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>
<div class="pure-g box-content">
<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> &nbsp;
<a class="delete" href="{{ route('settings.project.delete', $project->id) }}"><span></span></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="pure-u-1 pure-u-md-2-3">
<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> &nbsp;
<a class="delete" href="{{ route('settings.project.delete', $project->id) }}"><span></span></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@stop

View file

@ -1,30 +1,25 @@
@extends('layouts.app')
@extends('layouts.settings.layout')
@section('content')
<div class="header">
<h3 class="header-title">
<span>Edit Your Project</span>
</h3>
</div>
<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 class="pure-g box-content">
<div class="pure-u-1 pure-u-md-2-3">
<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>