2018-06-14 07:14:05 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2018-11-13 06:14:38 +01:00
|
|
|
|
2018-06-14 07:14:05 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="robots" content="noindex">
|
|
|
|
<link rel="icon" type="image/png" href="assets/favicon.png">
|
|
|
|
<title>Homer</title>
|
2019-02-18 09:23:20 +01:00
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
|
|
|
|
integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
2018-11-13 06:14:38 +01:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css">
|
2018-06-14 07:14:05 +02:00
|
|
|
<link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="app.css">
|
|
|
|
</head>
|
2018-11-13 06:14:38 +01:00
|
|
|
|
2018-06-14 07:14:05 +02:00
|
|
|
<body>
|
2018-11-13 06:14:38 +01:00
|
|
|
<div id="app" v-if="config">
|
|
|
|
<div id="bighead">
|
|
|
|
<section class="first-line">
|
2019-02-18 09:23:20 +01:00
|
|
|
<div v-cloak class="container">
|
2018-11-13 06:14:38 +01:00
|
|
|
<div class="logo">
|
|
|
|
<img v-if="config.logo" :src="config.logo" />
|
|
|
|
<i v-if="config.icon" :class="config.icon"></i>
|
|
|
|
</div>
|
|
|
|
<div class="dashboard-title">
|
2019-02-18 09:23:20 +01:00
|
|
|
<span class="headline">{{ config.subtitle }}</span>
|
|
|
|
<h1>{{ config.title }}</h1>
|
2018-11-13 06:14:38 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2019-02-18 09:23:20 +01:00
|
|
|
<div v-cloak v-if="config.links" class="container-fluid">
|
2018-11-13 06:14:38 +01:00
|
|
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-menu">
|
|
|
|
<div class="navbar-start">
|
|
|
|
<a v-for="link in config.links" class="navbar-item" :href="link.url">
|
|
|
|
<i v-if="link.icon" style="margin-right: 6px;" :class="link.icon"></i>
|
|
|
|
{{ link.name }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="end">
|
|
|
|
<div class="search-bar">
|
|
|
|
<label for="search" class="search-label"></label>
|
|
|
|
<input type="text" id="search" v-model="filter" />
|
|
|
|
</div>
|
2018-06-14 07:14:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-13 06:14:38 +01:00
|
|
|
</nav>
|
|
|
|
</div>
|
2018-06-14 07:14:05 +02:00
|
|
|
</div>
|
|
|
|
|
2018-11-13 06:14:38 +01:00
|
|
|
<section id="main-section" class="section">
|
2019-02-18 09:23:20 +01:00
|
|
|
<div v-cloak class="container">
|
|
|
|
<div v-if="offline" class="offline-message">
|
|
|
|
<i class="far fa-dizzy"></i>
|
|
|
|
<h1>You're offline bro. <i class="fas fa-redo-alt" v-on:click="checkOffline()"></i></h1>
|
|
|
|
</div>
|
|
|
|
<div v-else>
|
|
|
|
<!-- Optional messages -->
|
|
|
|
<article v-if="config && config.message" class="message" :class="config.message.style">
|
|
|
|
<div v-if="config.message.title" class="message-header">
|
|
|
|
<p>{{ config.message.title }}</p>
|
|
|
|
</div>
|
|
|
|
<div v-if="config.message.content" class="message-body">
|
|
|
|
{{ config.message.content }}
|
|
|
|
</div>
|
|
|
|
</article>
|
2018-06-14 07:14:05 +02:00
|
|
|
|
2019-02-18 09:23:20 +01:00
|
|
|
<h2 v-if="filter"><i class="fas fa-search"></i> Search</h2>
|
2018-06-14 07:14:05 +02:00
|
|
|
|
2019-02-18 09:23:20 +01:00
|
|
|
<div v-for="(group, index) in config.services">
|
|
|
|
<h2 v-if="!filter && group.name"><i v-if="group.icon" :class="group.icon"></i><span v-else>#</span>
|
|
|
|
{{ group.name }}</h2>
|
|
|
|
<div class="columns is-multiline">
|
|
|
|
<div v-for="item in group.items"
|
|
|
|
v-if="!filter || (item && (item.name.toLowerCase().includes(filter.toLowerCase()) || (item.tag && item.tag.toLowerCase().includes(filter.toLowerCase()))))"
|
|
|
|
class="column is-one-third-widescreen">
|
|
|
|
<div v-if='item' class="card">
|
|
|
|
<a :href="item.url">
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="media">
|
|
|
|
<div v-if="item.logo" class="media-left">
|
|
|
|
<figure class="image is-48x48">
|
|
|
|
<img :src="item.logo" />
|
|
|
|
</figure>
|
|
|
|
</div>
|
|
|
|
<div v-if="item.icon" class="media-left">
|
|
|
|
<figure class="image is-48x48">
|
|
|
|
<i style="font-size: 35px" :class="item.icon"></i>
|
|
|
|
</figure>
|
|
|
|
</div>
|
|
|
|
<div class="media-content">
|
|
|
|
<p class="title is-4">{{ item.name }}</p>
|
|
|
|
<p class="subtitle is-6">{{ item.subtitle }}</p>
|
2018-06-14 07:14:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-18 09:23:20 +01:00
|
|
|
<strong class="tag" v-if="item.tag">#{{ item.tag }}</strong>
|
|
|
|
</div>
|
|
|
|
</a>
|
2018-06-14 07:14:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-13 06:14:38 +01:00
|
|
|
</section>
|
|
|
|
</div>
|
2018-06-14 07:14:05 +02:00
|
|
|
|
2018-11-13 06:14:38 +01:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="container">
|
|
|
|
<div class="content has-text-centered">
|
2019-02-18 09:23:20 +01:00
|
|
|
<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a
|
|
|
|
href="https://vuejs.org/">vuejs</a>
|
|
|
|
& <a href="#">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i
|
|
|
|
class="fab fa-github-alt"></i></a></p>
|
2018-11-13 06:14:38 +01:00
|
|
|
</div>
|
2018-06-14 07:14:05 +02:00
|
|
|
</div>
|
2018-11-13 06:14:38 +01:00
|
|
|
</footer>
|
2018-06-14 07:14:05 +02:00
|
|
|
|
2019-02-18 09:23:20 +01:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.2/dist/vue.min.js"></script>
|
2018-11-13 06:14:38 +01:00
|
|
|
<script src="vendors/js-yaml.min.js"></script>
|
|
|
|
<script src="app.js"></script>
|
2018-06-14 07:14:05 +02:00
|
|
|
</body>
|
2018-11-13 06:14:38 +01:00
|
|
|
|
|
|
|
</html>
|