Cachet/app/views/dashboard/settings.blade.php

72 lines
2.2 KiB
PHP
Raw Normal View History

2014-12-04 22:50:58 +00:00
@extends('layout.dashboard')
@section('content')
<div class="header">
<i class="fa fa-cogs"></i> {{ Lang::get('cachet.dashboard.settings') }}
</div>
<div class="row">
<div class="col-sm-12">
<form>
<h3>Cachet Settings <i>Not working yet.</i></h3>
<fieldset>
<div class='form-group'>
<label>Site Name</label>
<input type='text' class='form-control' value='{{ Setting::get("app_name") }}' required />
</div>
<div class='form-group'>
<label>Site URL</label>
<input type='text' class='form-control' value='{{ Setting::get("app_domain") }}' required />
</div>
</fieldset>
<h3>Server</h3>
<fieldset>
</fieldset>
<h3>Security</h3>
<fieldset>
<div class='form-group'>
<label>Allowed Domains <em>Comma Seperated</em></label>
<textarea class='form-control' name='settings[security][allowed_domains]' rows='5' placeholder='http://cachet.io, http://cachet.herokuapp.com'>{{ Setting::get('allowed_domains') }}</textarea>
</div>
<div class='form-group'>
<label>Disallowed Domains <em>Comma Seperated</em></label>
<textarea class='form-control' name='settings[security][disallowed_domains]' rows='5' placeholder='http://cachetfake.io, http://cachetfake.herokuapp.com'>{{ Setting::get('disallowed_domains') }}</textarea>
</div>
</fieldset>
<h3>Mail</h3>
<fieldset>
</fieldset>
<h3>Theme</h3>
<fieldset>
<div class='form-group'>
<label>Background Colour</label>
<input type='text' class='form-control' />
</div>
<div class='form-group'>
<label>Text Colour</label>
<input type='text' class='form-control' />
</div>
<div class='form-group'>
<label>Success Warning Colour</label>
<input type='text' class='form-control' />
</div>
<div class='form-group'>
<label>Error Warning Colour</label>
<input type='text' class='form-control' />
</div>
<div class='form-group'>
<label>Info Warning Colour</label>
<input type='text' class='form-control' />
</div>
</fieldset>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
2014-12-04 22:50:58 +00:00
</div>
</div>
@stop