summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/ucode/template/view.ut
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/ucode/template/view.ut')
-rw-r--r--modules/luci-base/ucode/template/view.ut12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/luci-base/ucode/template/view.ut b/modules/luci-base/ucode/template/view.ut
new file mode 100644
index 0000000000..11ac824290
--- /dev/null
+++ b/modules/luci-base/ucode/template/view.ut
@@ -0,0 +1,12 @@
+{% include('header') %}
+
+<div id="view">
+ <div class="spinning">{{ _('Loading view…') }}</div>
+ <script type="text/javascript">
+ L.require('ui').then(function(ui) {
+ ui.instantiateView('{{ view }}');
+ });
+ </script>
+</div>
+
+{% include('footer') %}