-
-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c8369b
commit 404f948
Showing
4 changed files
with
135 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')</h2> | ||
<div class="items" style="flex-direction:column"> | ||
<div style="display:flex;flex-direction:row;"> | ||
<div class="input"> | ||
<label>{{ strtoupper(__('app.url')) }}</label> | ||
{!! Form::text('config[override_url]', isset($item) ? $item->getconfig()->override_url : null, ['placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control']) !!} | ||
</div> | ||
</div> | ||
<div style="display:flex;flex-direction:row;"> | ||
<div class="input"> | ||
<label>{{ __('app.apps.username') }}</label> | ||
{!! Form::text('config[username]', isset($item) ? $item->getconfig()->username : null, ['placeholder' => __('app.apps.username'), 'data-config' => 'username', 'class' => 'form-control config-item']) !!} | ||
</div> | ||
<div class="input"> | ||
<label>{{ __('app.apps.password') }}</label> | ||
{!! Form::input('password', 'config[password]', '', ['placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item']) !!} | ||
</div> | ||
</div> | ||
<div style="display:flex;flex-direction:row;"> | ||
<div class="input"> | ||
<label>Data source</label> | ||
{!! Form::text('config[dataSource]', isset($item) ? $item->getconfig()->dataSource : null, ['placeholder' => __('Default: postgresql'), 'data-config' => 'dataSource', 'class' => 'form-control config-item']) !!} | ||
</div> | ||
<div class="input"> | ||
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<ul class="livestats"> | ||
<li> | ||
<span class="title">Connections</span> | ||
<strong>{!! $connections !!}</strong> | ||
</li> | ||
<li> | ||
<span class="title">Active</span> | ||
<strong>{!! $active_connections !!}</strong> | ||
</li> | ||
</ul> |