2015-08-30 22:31:16 +08:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
@include('settings/navbar', ['selected' => 'settings'])
|
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
<div class="container small">
|
2015-08-30 22:31:16 +08:00
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
<h1>Settings</h1>
|
2015-08-30 22:31:16 +08:00
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
<form action="/settings" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="setting-app-name">Application Name</label>
|
2015-09-04 02:52:11 +08:00
|
|
|
<input type="text" value="{{ Setting::get('app-name', 'BookStack') }}" name="setting-app-name" id="setting-app-name">
|
2015-09-03 23:51:10 +08: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 22:31:16 +08:00
|
|
|
|
|
|
|
@stop
|