App banner can now be set. Closes #120

This commit is contained in:
James Brooks
2014-12-31 11:45:54 +00:00
parent 3132a65cc3
commit d60cd4db81
3 changed files with 59 additions and 5 deletions
+9
View File
@@ -1,6 +1,15 @@
@extends('layout.master')
@section('content')
@if($bannerImage = Setting::get('app_banner'))
<div class='row'>
<div class='col-md-12 text-center'>
<?php $bannerType = Setting::get('app_banner_type') ?>
<img src='data:{{ $bannerType }};base64, {{ $bannerImage}}' class='banner-image' />
</div>
</div>
@endif
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
@include('partials.components')