-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
99 lines (89 loc) · 3.47 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
body {
padding: 5em 2em;
}
footer .container {
border-top: 1px solid #ccc;
padding-top: 1em;
}
[v-cloak] {
display: none;
}
</style>
</head>
<body>
<div id="app" v-cloak>
<!-- navbar component -->
<vs-navbar fixed="top" variant="default">
<a class="navbar-brand" href="#">Navbar</a>
<vs-nav type="navbar" :vertical="false" class="pull-left">
<vs-nav-item href="#" active>Home</vs-nav-item>
<vs-nav-item href="#">Features</vs-nav-item>
<vs-nav-item href="#">Pricing</vs-nav-item>
<vs-nav-item href="#">About</vs-nav-item>
</vs-nav>
<form class="form-inline navbar-form pull-right">
<input class="form-control" type="text" placeholder="Search">
<button class="btn btn-success-outline" type="submit">Search</button>
</form>
</vs-navbar>
<!-- jumbotron component -->
<div class="container">
<vs-jumbotron>
<h1 class="display-3">Hello, world!</h1>
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<hr class="m-y-md">
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
<!-- modal component trigger -->
<button class="btn btn-primary" v-on:click="$broadcast('show::modal', 'modal1')">
Show Modal
</button>
<!-- modal component content -->
<vs-modal id="modal1" size="md">
<div slot="modal-header">
<h3>header</h3>
</div>
<div slot="modal-body">
body
</div>
<div slot="modal-footer">
<button class="btn btn-primary" v-on:click="$broadcast('hide::modal', 'modal1')">
OK
</button>
</div>
</vs-modal>
</vs-jumbotron>
</div>
<!-- content -->
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-4" v-for="item in [0,1,2]">
<!-- card component -->
<vs-card>
<img class="card-img img-fluid" src="https://placehold.it/350x150" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Card title</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Button</a>
</div>
</vs-card>
</div>
</div>
</div>
<div class="m-b-lg"></div>
<!-- footer -->
<footer>
<div class="container">
<p>© Company 2016</p>
</div>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.10/vue.min.js"></script>
<script src="assets/bundle.js"></script>
</body>
</html>