mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
This commit is contained in:
commit
400907cc40
|
@ -67,10 +67,10 @@ View Assets for {{ $user->present()->fullName() }}
|
|||
<td>{{ $asset->serial }}</td>
|
||||
<td>
|
||||
@if (($asset->image) && ($asset->image!=''))
|
||||
<img src="{{ url('/') }}/uploads/assets/{{ $asset->image }}" height="50" width="50">
|
||||
<img src="{{ Storage::disk('public')->url(app('assets_upload_path').e($asset->image)) }}" height="50" width="50">
|
||||
|
||||
@elseif (($asset->model) && ($asset->model->image!=''))
|
||||
<img src="{{ url('/') }}/uploads/models/{{ $asset->model->image }}" height="50" width="50">
|
||||
<img src="{{ Storage::disk('public')->url(app('models_upload_path').e($asset->model->image)) }}" height="50" width="50">
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -317,44 +317,7 @@
|
|||
success: function (data) {
|
||||
var myPieChart = new Chart(ctx,{
|
||||
type : 'doughnut',
|
||||
data : {
|
||||
"labels": [
|
||||
"Ready to Deploy (1,273)",
|
||||
"Pending (50)",
|
||||
"Archived (50)"
|
||||
],
|
||||
"datasets": [
|
||||
{
|
||||
"data": [
|
||||
1273,
|
||||
50,
|
||||
50,
|
||||
],
|
||||
"backgroundColor": [
|
||||
"#f56954",
|
||||
"#00a65a",
|
||||
"#f39c12",
|
||||
"#00c0ef",
|
||||
"#3c8dbc",
|
||||
"#d2d6de",
|
||||
"#3c8dbc",
|
||||
"#3c8dbc",
|
||||
"#3c8dbc"
|
||||
],
|
||||
"hoverBackgroundColor": [
|
||||
"#f56954",
|
||||
"#00a65a",
|
||||
"#f39c12",
|
||||
"#00c0ef",
|
||||
"#3c8dbc",
|
||||
"#d2d6de",
|
||||
"#3c8dbc",
|
||||
"#3c8dbc",
|
||||
"#3c8dbc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
data : data,
|
||||
options: pieOptions
|
||||
});
|
||||
},
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<div class="box-body">
|
||||
|
||||
@if ($model->image)
|
||||
<img src="{{ url('/') }}/uploads/models/{{ $model->image }}" class="img-responsive"></li>
|
||||
<img src="{{ Storage::disk('public')->url(app('models_upload_path').e($model->image)) }}" class="img-responsive"></li>
|
||||
@endif
|
||||
|
||||
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
</ul>
|
||||
@if ($supplier->image!='')
|
||||
<div class="col-md-12 text-center" style="padding-bottom: 20px;">
|
||||
<img src="{{ app('suppliers_upload_url') }}/{{ $supplier->image }}" class="img-responsive img-thumbnail" alt="{{ $supplier->name }}">
|
||||
<img src="{{ Storage::disk('public')->url(app('suppliers_upload_url').e($supplier->image)) }}" class="img-responsive img-thumbnail" alt="{{ $supplier->name }}">
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue