Created
June 27, 2017 09:35
-
-
Save boonyasukd/2ce3ea36475e86aab45db259fdb21801 to your computer and use it in GitHub Desktop.
assignment6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<my-header></my-header> | |
<hr> | |
<my-status-pane></my-status-pane> | |
<hr> | |
<my-footer></my-footer> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="row"> | |
<div class="col-xs-12"> | |
<header> | |
<h1>Server Status</h1> | |
</header> | |
</div> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import App from './App.vue' | |
import Header from './Header.vue' | |
import Footer from './Footer.vue' | |
import StatusPane from './StatusPane.vue' | |
Vue.component('my-header', Header) | |
Vue.component('my-footer', Footer) | |
Vue.component('my-status-pane', StatusPane) | |
new Vue({ | |
el: '#app', | |
render: h => h(App) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-6"> | |
<ul class="list-group"> | |
<li class="list-group-item" v-for="index in 5" :key="index"> | |
Server #{{ index }} | |
</li> | |
</ul> | |
</div> | |
<div class="col-xs-12 col-sm-6"> | |
<p>Server Details are currently not updated</p> | |
</div> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment