backend improvements

This commit is contained in:
Arno Kaimbacher 2018-10-10 18:28:51 +02:00
parent 50bcae442e
commit 4ac1c34b6a
16 changed files with 199 additions and 108 deletions

View file

@ -24,9 +24,15 @@
'pure-form pure-form-aligned']) !!}
<fieldset>
<div class="pure-control-group">
{{ Form::label('name', 'collection name') }} {{ Form::text('name', null, ['class' => 'form-control']) }}
{{ Form::label('name', 'collection name') }}
{{ Form::text('name', null, ['class' => 'form-control']) }}
<em>*</em>
</div>
<div class="pure-control-group">
{{ Form::label('number', 'number') }}
{{ Form::text('number', null, ['class' => 'form-control']) }}
<small id="numberHelp" class="pure-form-message-inline">number is optional</small>
</div>
<div class="pure-control-group pure-div">
{!! Form::label('role_id', 'Collection Role..') !!}

View file

@ -49,25 +49,25 @@
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
labels: ["2017", "2018", "2019"],
datasets: [{
label: '# of Votes',
label: 'Number of published datasets',
data: [12, 14, 8, 2, 5, 1],
backgroundColor: [
'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
'rgba(255, 206, 86, 0.2)'
// 'rgba(75, 192, 192, 0.2)',
// 'rgba(153, 102, 255, 0.2)',
// 'rgba(255, 159, 64, 0.2)'
],
borderColor: [
'rgba(255,99,132,1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
'rgba(255, 206, 86, 1)'
// 'rgba(75, 192, 192, 1)',
// 'rgba(153, 102, 255, 1)',
// 'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]

View file

@ -15,6 +15,7 @@
<link rel="stylesheet" type="text/css" href="{{ asset('/backend/style.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('/backend/pagination.css') }}">
@yield('styles')
</head>
<body>

View file

@ -14,6 +14,7 @@
<thead>
<th>Licence</th>
<th>Sort Order</th>
<th></th>
</thead>
@ -21,7 +22,8 @@
@foreach($licenses as $license)
<tr>
<td>{{ $license->name_long }}</td>
<td>{{ $license->name_long }}</td>
<td>{{ $license->sort_order }}</td>
<td>
<a class="edit" href="{{ route('settings.license.edit', $license->id) }}">