Files
small-packages/luci-theme-footstrap/htdocs/luci-static/resources/view/footstrap/appearance.js
T
2026-10-17 10:39:23 +08:00

14 lines
415 B
JavaScript

'use strict';
'require view';
'require fs-appearance as appearance';
/* The Footstrap page, dispatched by menu.d; `.cbi-section` draws the card. */
return view.extend({
render: () => appearance.renderStandalone().then((form) => E('div', { 'class': 'cbi-section' }, [ form ])),
/* null: a set handler makes View.addFooter() draw Save & Apply. */
handleSave: null,
handleSaveApply: null,
handleReset: null
});