op-packages/luci-app-tinyfilemanager/htdocs/luci-static/resources/view/tinyfilemanager/main.js
github-actions[bot] c7db60401c 🐤 Sync 2026-07-30 00:01:42
2026-07-30 00:01:42 +08:00

21 lines
424 B
JavaScript

'use strict';
'require view';
return view.extend({
handleSaveApply: null,
handleSave: null,
handleReset: null,
load() {
},
render() {
const sid = L.env.sessionid || '';
const url = window.location.protocol + '//' + window.location.hostname + '/tinyfilemanager/' + `?luci_sid=${sid}`;
return E('iframe', {
src: url,
style: 'width: 100%; min-height: 100vh; border: none; border-radius: 3px;'
});
}
});