Allow a completely custom stylesheet
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user