]> BookStack Code Mirror - bookstack/blob - resources/views/settings/index.blade.php
Added social sign in
[bookstack] / resources / views / settings / index.blade.php
1 @extends('base')
2
3 @section('content')
4
5     @include('settings/navbar', ['selected' => 'settings'])
6
7 <div class="container small">
8
9     <h1>Settings</h1>
10
11     <form action="/settings" method="POST">
12         {!! csrf_field() !!}
13         <div class="form-group">
14             <label for="setting-app-name">Application Name</label>
15             <input type="text" value="{{ Setting::get('app-name', 'BookStack') }}" name="setting-app-name" id="setting-app-name">
16         </div>
17         <div class="form-group">
18             <label for="setting-app-public">Allow public viewing?</label>
19             <label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'true') checked @endif value="true"> Yes</label>
20             <label><input type="radio" name="setting-app-public" @if(Setting::get('app-public') == 'false') checked @endif value="false"> No</label>
21         </div>
22         <div class="form-group">
23             <button type="submit" class="button pos">Update Settings</button>
24         </div>
25     </form>
26
27 </div>
28
29 @stop