aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2018-06-13 22:14:05 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2018-06-13 22:21:09 -0700
commit09763dbf6a6f24263cdff535a3aca64da35a0abb (patch)
tree13967839553c98e12ea5219a5d88e6eb8da08043 /index.html
parentb21bf8b1af775e17833da4432d48ffc18a294ebc (diff)
downloadhomer-09763dbf6a6f24263cdff535a3aca64da35a0abb.tar.gz
homer-09763dbf6a6f24263cdff535a3aca64da35a0abb.tar.zst
homer-09763dbf6a6f24263cdff535a3aca64da35a0abb.zip
Initial commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..9e946bf
--- /dev/null
+++ b/index.html
@@ -0,0 +1,107 @@
1<!DOCTYPE html>
2<html>
3<head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <meta name="robots" content="noindex">
7 <link rel="icon" type="image/png" href="assets/favicon.png">
8 <title>Homer</title>
9 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
10 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
11 <link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet">
12 <link rel="stylesheet" href="app.css">
13</head>
14<body>
15<div id="app" v-if="config">
16 <div id="bighead">
17 <section class="first-line">
18 <div class="container">
19 <img v-if="config.logo" :src="config.logo" />
20 <div class="dashboard-title">
21 <span v-cloak class="headline">{{ config.subtitle }}</span>
22 <h1 v-cloak>{{ config.title }}</h1>
23 </div>
24 </div>
25 </section>
26 <div v-if="config.links" class="container-fluid">
27 <nav class="navbar" role="navigation" aria-label="main navigation">
28 <div class="container">
29 <div class="navbar-menu">
30 <div class="navbar-start">
31 <a v-for="link in config.links" class="navbar-item" :href="link.url">
32 <i v-if="link.icon" style="margin-right: 6px;" class="fa" :class="link.icon"></i>
33 {{ link.name }}
34 </a>
35 </div>
36 <div class="end">
37 <div class="search-bar">
38 <label for="search" class="search-label"></label>
39 <input type="text" id="search" v-model="filter"/>
40 </div>
41 </div>
42 </div>
43 </div>
44 </nav>
45 </div>
46 </div>
47
48 <section id="main-section" class="section">
49 <div class="container">
50 <!-- Optional messages -->
51 <article v-cloak v-if="config && config.message" class="message" :class="config.message.style">
52 <div v-if="config.message.title" class="message-header">
53 <p>{{ config.message.title }}</p>
54 </div>
55 <div v-if="config.message.content" class="message-body">
56 {{ config.message.content }}
57 </div>
58 </article>
59
60 <h2 v-cloak v-if="filter"><i class="fa fa-search"></i> Search</h2>
61
62 <div v-for="(group, index) in config.services">
63 <h2 v-if="!filter && group.name"><i v-if="group.icon" class="fa" :class="group.icon"></i><span v-else>#</span> {{ group.name }}</h2>
64 <div v-for="items in group.rows">
65 <div class="columns">
66 <div v-for="item in items" v-if="!filter || (item && (item.name.toLowerCase().includes(filter.toLowerCase()) || (item.tag && item.tag.toLowerCase().includes(filter.toLowerCase()))))" class="column">
67 <div>
68 <div v-if='item' class="card">
69 <a :href="item.url">
70 <div class="card-content">
71 <div class="media">
72 <div v-if="item.logo" class="media-left">
73 <figure class="image is-48x48">
74 <img :src="item.logo" />
75 </figure>
76 </div>
77 <div class="media-content">
78 <p class="title is-4">{{ item.name }}</p>
79 <p class="subtitle is-6">{{ item.subtitle }}</p>
80 </div>
81 </div>
82 <strong v-if="item.tag" class="tag">#{{ item.tag }}</strong>
83 </div>
84 </a>
85 </div>
86 </div>
87 </div>
88 </div>
89 </div>
90 </div>
91 </div>
92 </section>
93</div>
94
95<footer class="footer">
96 <div class="container">
97 <div class="content has-text-centered">
98 <p>Created with <span class="has-text-danger">❤️</span> with <a href="#">bulma</a>, <a href="#">vuejs</a> & <a href="#">font awesome</a>// Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fa fa-github-alt"></i></a>.</p>
99 </div>
100 </div>
101</footer>
102
103<script src="https://unpkg.com/vue"></script>
104<script src="vendors/js-yaml.min.js"></script>
105<script src="app.js"></script>
106</body>
107</html> \ No newline at end of file