|
|
|
|
@@ -6,16 +6,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<form>
|
|
|
|
|
<h3>Cachet Settings <i>Not working yet.</i></h3>
|
|
|
|
|
<form name='SettingsForm' class='form-vertical' role='form' action='/dashboard/settings' method='POST'>
|
|
|
|
|
<h3>Cachet Settings</h3>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Site Name</label>
|
|
|
|
|
<input type='text' class='form-control' value='{{ Setting::get("app_name") }}' required />
|
|
|
|
|
<input type='text' class='form-control' name='app_name' 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 />
|
|
|
|
|
<input type='text' class='form-control' name='app_domain' value='{{ Setting::get("app_domain") }}' required />
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
|
|
@@ -28,11 +28,11 @@
|
|
|
|
|
<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>
|
|
|
|
|
<textarea class='form-control' name='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>
|
|
|
|
|
<textarea class='form-control' name='disallowed_domains' rows='5' placeholder='http://cachetfake.io, http://cachetfake.herokuapp.com'>{{ Setting::get('disallowed_domains') }}</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
|
|
@@ -44,26 +44,27 @@
|
|
|
|
|
<h3>Theme</h3>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Background Colour</label>
|
|
|
|
|
<input type='text' class='form-control' />
|
|
|
|
|
<label>Background Color</label>
|
|
|
|
|
<input type='text' class='form-control' name='style.background_color' value='{{ Setting::get("style_background_color") }}' />
|
|
|
|
|
</div>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Text Colour</label>
|
|
|
|
|
<input type='text' class='form-control' />
|
|
|
|
|
<label>Text Color</label>
|
|
|
|
|
<input type='text' class='form-control' name='style.text_color' value='{{ Setting::get("style_text_color") }}' />
|
|
|
|
|
</div>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Success Warning Colour</label>
|
|
|
|
|
<input type='text' class='form-control' />
|
|
|
|
|
<label>Success Warning Color</label>
|
|
|
|
|
<input type='text' class='form-control' name='style.success_warning_color' value='{{ Setting::get("style_success_warning_color") }}' />
|
|
|
|
|
</div>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Error Warning Colour</label>
|
|
|
|
|
<input type='text' class='form-control' />
|
|
|
|
|
<label>Error Warning Color</label>
|
|
|
|
|
<input type='text' class='form-control' name='style.error_warning_color' value='{{ Setting::get("style_error_warning_color") }}' />
|
|
|
|
|
</div>
|
|
|
|
|
<div class='form-group'>
|
|
|
|
|
<label>Info Warning Colour</label>
|
|
|
|
|
<input type='text' class='form-control' />
|
|
|
|
|
<label>Info Warning Color</label>
|
|
|
|
|
<input type='text' class='form-control' name='style.info_warning_color' value='{{ Setting::get("style_info_warning_color") }}' />
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|