Allow a completely custom stylesheet

This commit is contained in:
James Brooks
2014-12-20 17:57:44 +00:00
parent 505dd36773
commit 2bc8fea659
2 changed files with 14 additions and 0 deletions

View File

@@ -65,6 +65,14 @@
</div>
</fieldset>
<h3>Stylesheet</h3>
<fieldset>
<div class='form-group'>
<label>Custom Stylesheet</label>
<textarea class='form-control' name='stylesheet' rows='10'>{{ Setting::get('stylesheet') }}</textarea>
</div>
</fieldset>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>

View File

@@ -15,6 +15,12 @@
@include('partials.stylesheet')
@if($stylesheet = Setting::get('stylesheet'))
<style type='text/css'>
{{ $stylesheet }}
</style>
@endif
<script src="{{ elixir('js/all.js') }}"></script>
</head>
<body class='status-page'>