Path: blob/1.0-develop/resources/views/admin/settings/advanced.blade.php
7461 views
@extends('layouts.admin')1@include('partials/admin.settings.nav', ['activeTab' => 'advanced'])23@section('title')4Advanced Settings5@endsection67@section('content-header')8<h1>Advanced Settings<small>Configure advanced settings for Pterodactyl.</small></h1>9<ol class="breadcrumb">10<li><a href="{{ route('admin.index') }}">Admin</a></li>11<li class="active">Settings</li>12</ol>13@endsection1415@section('content')16@yield('settings::nav')17<div class="row">18<div class="col-xs-12">19<form action="" method="POST">20<div class="box">21<div class="box-header with-border">22<h3 class="box-title">reCAPTCHA</h3>23</div>24<div class="box-body">25<div class="row">26<div class="form-group col-md-4">27<label class="control-label">Status</label>28<div>29<select class="form-control" name="recaptcha:enabled">30<option value="true">Enabled</option>31<option value="false" @if(old('recaptcha:enabled', config('recaptcha.enabled')) == '0') selected @endif>Disabled</option>32</select>33<p class="text-muted small">If enabled, login forms and password reset forms will do a silent captcha check and display a visible captcha if needed.</p>34</div>35</div>36<div class="form-group col-md-4">37<label class="control-label">Site Key</label>38<div>39<input type="text" required class="form-control" name="recaptcha:website_key" value="{{ old('recaptcha:website_key', config('recaptcha.website_key')) }}">40</div>41</div>42<div class="form-group col-md-4">43<label class="control-label">Secret Key</label>44<div>45<input type="text" required class="form-control" name="recaptcha:secret_key" value="{{ old('recaptcha:secret_key', config('recaptcha.secret_key')) }}">46<p class="text-muted small">Used for communication between your site and Google. Be sure to keep it a secret.</p>47</div>48</div>49</div>50@if($showRecaptchaWarning)51<div class="row">52<div class="col-xs-12">53<div class="alert alert-warning no-margin">54You are currently using reCAPTCHA keys that were shipped with this Panel. For improved security it is recommended to <a href="https://www.google.com/recaptcha/admin">generate new invisible reCAPTCHA keys</a> that tied specifically to your website.55</div>56</div>57</div>58@endif59</div>60</div>61<div class="box">62<div class="box-header with-border">63<h3 class="box-title">HTTP Connections</h3>64</div>65<div class="box-body">66<div class="row">67<div class="form-group col-md-6">68<label class="control-label">Connection Timeout</label>69<div>70<input type="number" required class="form-control" name="pterodactyl:guzzle:connect_timeout" value="{{ old('pterodactyl:guzzle:connect_timeout', config('pterodactyl.guzzle.connect_timeout')) }}">71<p class="text-muted small">The amount of time in seconds to wait for a connection to be opened before throwing an error.</p>72</div>73</div>74<div class="form-group col-md-6">75<label class="control-label">Request Timeout</label>76<div>77<input type="number" required class="form-control" name="pterodactyl:guzzle:timeout" value="{{ old('pterodactyl:guzzle:timeout', config('pterodactyl.guzzle.timeout')) }}">78<p class="text-muted small">The amount of time in seconds to wait for a request to be completed before throwing an error.</p>79</div>80</div>81</div>82</div>83</div>84<div class="box">85<div class="box-header with-border">86<h3 class="box-title">Automatic Allocation Creation</h3>87</div>88<div class="box-body">89<div class="row">90<div class="form-group col-md-4">91<label class="control-label">Status</label>92<div>93<select class="form-control" name="pterodactyl:client_features:allocations:enabled">94<option value="false">Disabled</option>95<option value="true" @if(old('pterodactyl:client_features:allocations:enabled', config('pterodactyl.client_features.allocations.enabled'))) selected @endif>Enabled</option>96</select>97<p class="text-muted small">If enabled users will have the option to automatically create new allocations for their server via the frontend.</p>98</div>99</div>100<div class="form-group col-md-4">101<label class="control-label">Starting Port</label>102<div>103<input type="number" class="form-control" name="pterodactyl:client_features:allocations:range_start" value="{{ old('pterodactyl:client_features:allocations:range_start', config('pterodactyl.client_features.allocations.range_start')) }}">104<p class="text-muted small">The starting port in the range that can be automatically allocated.</p>105</div>106</div>107<div class="form-group col-md-4">108<label class="control-label">Ending Port</label>109<div>110<input type="number" class="form-control" name="pterodactyl:client_features:allocations:range_end" value="{{ old('pterodactyl:client_features:allocations:range_end', config('pterodactyl.client_features.allocations.range_end')) }}">111<p class="text-muted small">The ending port in the range that can be automatically allocated.</p>112</div>113</div>114</div>115</div>116</div>117<div class="box box-primary">118<div class="box-footer">119{{ csrf_field() }}120<button type="submit" name="_method" value="PATCH" class="btn btn-sm btn-primary pull-right">Save</button>121</div>122</div>123</form>124</div>125</div>126@endsection127128129