forked from misterGF/CoPilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServer.vue
More file actions
64 lines (62 loc) · 1.61 KB
/
Copy pathServer.vue
File metadata and controls
64 lines (62 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
<div>
<h1 class="text-center">Our Environment</h1>
<section class="content">
<div class="row" v-if="servers">
<div class="col-md-4" v-for="server in servers">
<div v-bind:class="'box box-' + server.status">
<div class="box-header with-border">
<i v-bind:class="'fa fa-' + server.icon + ' fa-2x'"></i>
<h3 class="box-title">{{server.name}}</h3>
</div>
<div class="box-body">
<span>{{server.description}}</span>
</div>
</div>
</div>
</div>
</section>
</div>
</template>
<script>
export default {
name: 'Servers',
data: function () {
return {
servers: [{
name: 'www01',
status: 'success',
icon: 'globe',
description: 'Web server that runs our sites'
}, {
name: 'sql01',
status: 'danger',
icon: 'database',
description: 'mySQL server used for reporting'
}, {
name: 'mongoDB01',
status: 'info',
icon: 'file-code-o',
description: 'Main DB server'
}, {
name: 'ldap01',
status: 'success',
icon: 'key',
description: 'Authentication server'
}, {
name: 'mgmt01',
status: 'success',
icon: 'home',
description: 'Management server with all tools'
}, {
name: 'bkup01',
status: 'warning',
icon: 'backward',
description: 'Backup server'
}]
}
}
}
</script>
<style>
</style>