Implement layout and device list page

This commit is contained in:
Zaid Abdulla committed 2018-12-26 00:20:45 -08:00
1 parent f33717acb0
commit 1c9061ab5a
19 files changed
+1151 -30

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
"use strict";
import m from "mithril";
const init = function() {
return new Promise(resolve => {
resolve({ message: "Hello world!" });
});
};
const component = {
view: vnode => {
document.title = "Overview - GenieACS";
return m(
"a",
{ href: "#!/devices/202BC1-BM632w-000000" },
vnode.attrs.message
);
}
};
export { init, component };