mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Basic API management
I’m getting a 500 on personal token creation, but there’s nothing in the logs, so I have no idea what’s wrong
This commit is contained in:
parent
b5ddd9ab0a
commit
19fcda5c25
|
@ -317,21 +317,7 @@ var pieOptions = {
|
||||||
}(jQuery, window.snipeit.settings));
|
}(jQuery, window.snipeit.settings));
|
||||||
|
|
||||||
|
|
||||||
$(function () {
|
|
||||||
//Initialize Select2 Elements
|
|
||||||
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
|
||||||
if(!iOS)
|
|
||||||
{
|
|
||||||
$(".select2").select2();
|
|
||||||
}
|
|
||||||
$('.datepicker').datepicker();
|
|
||||||
});
|
|
||||||
|
|
||||||
//Flat blue color scheme for iCheck
|
|
||||||
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
|
|
||||||
checkboxClass: 'icheckbox_minimal-blue',
|
|
||||||
radioClass: 'iradio_minimal-blue'
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -317,21 +317,7 @@ var pieOptions = {
|
||||||
}(jQuery, window.snipeit.settings));
|
}(jQuery, window.snipeit.settings));
|
||||||
|
|
||||||
|
|
||||||
$(function () {
|
|
||||||
//Initialize Select2 Elements
|
|
||||||
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
|
||||||
if(!iOS)
|
|
||||||
{
|
|
||||||
$(".select2").select2();
|
|
||||||
}
|
|
||||||
$('.datepicker').datepicker();
|
|
||||||
});
|
|
||||||
|
|
||||||
//Flat blue color scheme for iCheck
|
|
||||||
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
|
|
||||||
checkboxClass: 'icheckbox_minimal-blue',
|
|
||||||
radioClass: 'iradio_minimal-blue'
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"assets/css/app.css": "assets/css/app-0979ad0cf2.css",
|
"assets/css/app.css": "assets/css/app-0979ad0cf2.css",
|
||||||
"assets/js/all.js": "assets/js/all-7709b3bc36.js"
|
"assets/js/all.js": "assets/js/all-990304f6ce.js"
|
||||||
}
|
}
|
|
@ -89,21 +89,7 @@ var pieOptions = {
|
||||||
}(jQuery, window.snipeit.settings));
|
}(jQuery, window.snipeit.settings));
|
||||||
|
|
||||||
|
|
||||||
$(function () {
|
|
||||||
//Initialize Select2 Elements
|
|
||||||
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
|
||||||
if(!iOS)
|
|
||||||
{
|
|
||||||
$(".select2").select2();
|
|
||||||
}
|
|
||||||
$('.datepicker').datepicker();
|
|
||||||
});
|
|
||||||
|
|
||||||
//Flat blue color scheme for iCheck
|
|
||||||
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
|
|
||||||
checkboxClass: 'icheckbox_minimal-blue',
|
|
||||||
radioClass: 'iradio_minimal-blue'
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
|
|
||||||
{{-- Page content --}}
|
{{-- Page content --}}
|
||||||
@section('content')
|
@section('content')
|
||||||
<div id="app">
|
|
||||||
<passport-personal-access-tokens></passport-personal-access-tokens>
|
<passport-personal-access-tokens></passport-personal-access-tokens>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -304,7 +304,7 @@
|
||||||
@can('self.api')
|
@can('self.api')
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('user.api') }}">
|
<a href="{{ route('user.api') }}">
|
||||||
<i class="fa fa-user fa-fw"></i> Manage API Keys
|
<i class="fa fa-user-secret fa-fw"></i> Manage API Keys
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endcan
|
@endcan
|
||||||
|
@ -384,7 +384,7 @@
|
||||||
@can('settings.api')
|
@can('settings.api')
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('settings.api') }}">
|
<a href="{{ route('settings.api') }}">
|
||||||
<i class="fa fa-user fa-fw"></i> OAuth API Keys
|
<i class="fa fa-exchange fa-fw"></i> OAuth API Keys
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endcan
|
@endcan
|
||||||
|
@ -593,7 +593,9 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
|
<div id="app">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -643,6 +645,24 @@
|
||||||
|
|
||||||
|
|
||||||
@section('moar_scripts')
|
@section('moar_scripts')
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
//Initialize Select2 Elements
|
||||||
|
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||||
|
if(!iOS)
|
||||||
|
{
|
||||||
|
$(".select2").select2();
|
||||||
|
}
|
||||||
|
$('.datepicker').datepicker();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//Flat blue color scheme for iCheck
|
||||||
|
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
|
||||||
|
checkboxClass: 'icheckbox_minimal-blue',
|
||||||
|
radioClass: 'iradio_minimal-blue'
|
||||||
|
});
|
||||||
|
</script>
|
||||||
@show
|
@show
|
||||||
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
<script src="{{ asset('assets/js/extensions/cookie/bootstrap-table-cookie.js?v=1') }}"></script>
|
<script src="{{ asset('assets/js/extensions/cookie/bootstrap-table-cookie.js?v=1') }}"></script>
|
||||||
<script src="{{ asset('assets/js/extensions/export/tableExport.js') }}"></script>
|
<script src="{{ asset('assets/js/extensions/export/tableExport.js') }}"></script>
|
||||||
<script src="{{ asset('assets/js/extensions/export/jquery.base64.js') }}"></script>
|
<script src="{{ asset('assets/js/extensions/export/jquery.base64.js') }}"></script>
|
||||||
<script src="{{ asset('assets/js/extensions/multiple-sort/bootstrap-table-multiple-sort.js') }}"></script>
|
|
||||||
<script>
|
<script>
|
||||||
$('.snipe-table').bootstrapTable({
|
$('.snipe-table').bootstrapTable({
|
||||||
classes: 'table table-responsive table-no-bordered',
|
classes: 'table table-responsive table-no-bordered',
|
||||||
|
|
|
@ -8,16 +8,12 @@
|
||||||
|
|
||||||
{{-- Page content --}}
|
{{-- Page content --}}
|
||||||
@section('content')
|
@section('content')
|
||||||
<div id="app">
|
|
||||||
|
|
||||||
<passport-clients></passport-clients>
|
<passport-clients></passport-clients>
|
||||||
<passport-authorized-clients></passport-authorized-clients>
|
<passport-authorized-clients></passport-authorized-clients>
|
||||||
<passport-personal-access-tokens></passport-personal-access-tokens>
|
<passport-personal-access-tokens></passport-personal-access-tokens>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
Loading…
Reference in a new issue