diff --git a/views/footer.tpl b/views/footer.tpl new file mode 100644 index 0000000..9499aa4 --- /dev/null +++ b/views/footer.tpl @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/views/header.tpl b/views/header.tpl new file mode 100644 index 0000000..cb204f4 --- /dev/null +++ b/views/header.tpl @@ -0,0 +1,13 @@ + + + + libvirt domctl + + + + + \ No newline at end of file diff --git a/views/index.tpl b/views/index.tpl index 29449e9..66eb004 100644 --- a/views/index.tpl +++ b/views/index.tpl @@ -1,11 +1,27 @@ -

-{{name}} +%include ('header.tpl') +

+Welcome to libvirt domain ctl

+SRC: {{name}} + +<% +print(name) +%> %for i in name:
  • {{i['name']}}, state: {{i['state']}} +
    + + +
  • + + + %end +%include ('footer.tpl') \ No newline at end of file