Skip to content

A free open source IT asset/license management system

Merge branch 'develop' into chore/sc-23725/livewire3

Marcus Moored9164281ab24
diff --cc resources/views/livewire/oauth-clients.blade.php
index ed6b2ae272,e05da87a6f..9521eaf5c5
--- a/resources/views/livewire/oauth-clients.blade.php
+++ b/resources/views/livewire/oauth-clients.blade.php
@@@ -13,35 -14,34 +14,34 @@@
</div>
@endif
- <a class="button button-small"
- wire:click="$dispatch('openModal')"
- onclick="$('#modal-create-client').modal('show');"
- >
- Create New Client
- </a>
+ <div class="box-tools pull-right">
+ <a class="btn btn-primary"
- wire:click="$emit('openModal')"
++ wire:click="$dispatch('openModal')"
+ onclick="$('#modal-create-client').modal('show');">
+ {{ trans('general.create') }}
+ </a>
+ </div>
</div>
- </div>
- <div class="panel-body">
- <!-- Current Clients -->
- @if($clients->count() === 0)
- <p class="m-b-none">
- You have not created any OAuth clients.
- </p>
- @endif
+ <div class="box-body">
+ <!-- Current Clients -->
+ @if($clients->count() === 0)
+ <p>
+ {{ trans('admin/settings/general.oauth_no_clients') }}
+ </p>
+ @endif
- @if($clients->count() > 0)
- <table class="table table-borderless m-b-none">
+ @if ($clients->count() > 0)
+ <table class="table table-striped snipe-table">
<thead>
<tr>
- <th>Client ID</th>
- <th>Name</th>
- <th>Secret</th>
- <th><span class="sr-only">Edit</span></th>
- <th><span class="sr-only">Delete</span></th>
+ <th>{{ trans('general.id') }}</th>
+ <th>{{ trans('general.name') }}</th>
+ <th>{{ trans('admin/settings/general.oauth_redirect_url') }}</th>
+ <th>{{ trans('admin/settings/general.oauth_secret') }}</th>
+ <th><span class="sr-only">{{ trans('general.actions') }}</span></th>
</tr>
</thead>
-
<tbody>
@foreach($clients as $client)
<tr>
@@@ -173,13 -195,12 +195,12 @@@
type="text"
aria-label="create-client-name"
class="form-control"
- wire:model="name"
+ wire:model.live="name"
wire:keydown.enter="createClient"
- autofocus
- >
+ autofocus>
<span class="help-block">
- Something your users will recognize and trust.
+ {{ trans('admin/settings/general.oauth_name_help') }}
</span>
</div>
</div>
@@@ -331,3 -353,4 +353,5 @@@
</script>
</div>
+
++