Add preview from father, add new features
This commit is contained in:
16
resources/views/load/form/url.blade.php
Normal file
16
resources/views/load/form/url.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@if(!defined('LOAD_URL'))
|
||||
@include('load.layout.modal')
|
||||
@push('js')
|
||||
<script>
|
||||
function initLoadUrl(sel) {
|
||||
var selector = (typeof(sel) == 'undefined') ? '.btn-web' : sel;
|
||||
|
||||
$(selector).off().click(function() {
|
||||
var url = $(this).closest('.input-group').find('.url').val();
|
||||
viewModal(url);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endpush
|
||||
@php(define('LOAD_URL', true))
|
||||
@endif
|
||||
Reference in New Issue
Block a user