small-package/luci-app-nekobox/htdocs/luci-static/resources/view/nekobox/video.js

18 lines
424 B
JavaScript

'use strict';
'require view';
'require uci';
return view.extend({
load: function() {
return uci.load('neko');
},
render: function() {
return E('iframe', {
src: window.location.protocol + "//" + window.location.hostname + '/nekobox/video.php',
style: 'width: 100%; min-height: 95vh; border: none; border-radius: 5px; resize: vertical;'
});
},
handleSaveApply: null,
handleSave: null,
handleReset: null
});