X7ROOT File Manager
Current Path:
/var/sentora/hostdata/konguhitek/public_html/ktgadmin/js/examples
var
/
sentora
/
hostdata
/
konguhitek
/
public_html
/
ktgadmin
/
js
/
examples
/
📁
..
📁
charts
📄
ckeditor.js
(2.02 KB)
📄
clockpicker.js
(666 B)
📄
colorpicker.js
(1.57 KB)
📄
dashboard.js
(884 B)
📄
datatable.js
(239 B)
📄
datepicker.js
(1.41 KB)
📄
dropzone.js
(97 B)
📄
form-wizard.js
(1.41 KB)
📄
fullcalendar.js
(4.92 KB)
📄
input-mask.js
(356 B)
📄
lightbox.js
(1.2 KB)
📄
range-slider.js
(1.37 KB)
📄
select2.js
(133 B)
📄
sweet-alert.js
(2.42 KB)
📄
swiper.js
(1.27 KB)
📄
tagsinput.js
(96 B)
📄
toast.js
(793 B)
📄
tour.js
(1.2 KB)
📄
treeview.js
(2.11 KB)
📄
vmap.js
(1008 B)
Editing: sweet-alert.js
'use strict'; $(document).ready(function() { $('.sweet-basic').on('click', function() { swal('Hello world!'); }); $('.sweet-success').on('click', function() { swal("Good job!", "You clicked the button!", "success"); }); $('.sweet-warning').on('click', function() { swal("Good job!", "You clicked the button!", "warning"); }); $('.sweet-error').on('click', function() { swal("Good job!", "You clicked the button!", "error"); }); $('.sweet-info').on('click', function() { swal("Good job!", "You clicked the button!", "info"); }); $('.sweet-multiple').on('click', function() { swal({ title: "Are you sure?", text: "Once deleted, you will not be able to recover this Data!", icon: "warning", buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { swal("Poof! Your Data has been deleted!", { icon: "success", }); } else { swal("Your Data is safe!", { icon: "error", }); } }); }); $('.sweet-prompt').on('click', function() { swal("Write something here:", { content: "input", }) .then((value) => { swal(`You typed: ${value}`); }); }); $('.sweet-ajax').on('click', function() { swal({ text: 'Search for a movie. e.g. "La La Land".', content: "input", button: { text: "Search!", closeModal: false, }, }) .then(name => { if (!name) throw null; return fetch(`https://itunes.apple.com/search?term=${name}&entity=movie`); }) .then(results => { return results.json(); }) .then(json => { const movie = json.results[0]; if (!movie) { return swal("No movie was found!"); } const name = movie.trackName; const imageURL = movie.artworkUrl100; swal({ title: "Top result:", text: name, icon: imageURL, }); }) .catch(err => { if (err) { swal("Oh noes!", "The AJAX request failed!", "error"); } else { swal.stopLoading(); swal.close(); } }); }); });
Upload File
Create Folder