2015-08-30 10:31:16 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
@include('settings/navbar', ['selected' => 'settings'])
|
|
|
|
|
2015-09-03 11:51:10 -04:00
|
|
|
<div class="container small">
|
2015-08-30 10:31:16 -04:00
|
|
|
|
2015-09-03 11:51:10 -04:00
|
|
|
<h1>Settings</h1>
|
2015-08-30 10:31:16 -04:00
|
|
|
|
2015-09-03 11:51:10 -04:00
|
|
|
<form action="/settings" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="setting-app-name">Application Name</label>
|
2015-09-03 14:52:11 -04:00
|
|
|
<input type="text" value="{{ Setting::get('app-name', 'BookStack') }}" name="setting-app-name" id="setting-app-name">
|
2015-09-03 11:51:10 -04:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="setting-app-public">Allow public viewing?</label>
|
|
|
|
<label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'true') checked @endif value="true"> Yes</label>
|
|
|
|
<label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'false') checked @endif value="false"> No</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="button pos">Update Settings</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
2015-08-30 10:31:16 -04:00
|
|
|
|
|
|
|
@stop
|