-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (135 loc) · 7.16 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ghosts</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="static/favicon.ico" type="image/x-icon"><Paste>
<link rel="stylesheet" href="static/spectre.min.css">
<link rel="stylesheet" href="static/spectre-exp.min.css">
<link rel="stylesheet" href="static/spectre-icons.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
<link rel="stylesheet" href="static/style.css">
<style>
.navbar {
background-color: {{ $.Config.WebNavBgColor }};
}
.navbar, .navbar a, .navbar a:link, .navbar a:visited {
color: {{ $.Config.WebNavTextColor }};
}
</style>
</head>
<body>
<header class="navbar bg-secondary">
<section class="navbar-section">
</section>
<section class="navbar-center">
<div class="brand">
<a class="logo" href=""><img src="static/logo.png" alt="Ghosts">
<h2>GHOSTS</h2>
</a>
</div>
</section>
<section class="navbar-section">
<cite class="hide-md">- A Docker discreet companion</cite>
</section>
</header>
<div class="wrapper">
<div class="container">
{{ range $category, $webEntries := .WebEntries }}
<div class="columns">
<div class="column col-3 col-md-12">
<div class="category">
<div class="panel bg-gray">
<h5>{{ $category | spacify }}</h5>
</div>
</div>
</div>
<div class="column col-9 col-md-12">
<div class="columns">
{{range $index, $webEntry := $webEntries }}
<div class="column col-4 col-md-6 col-xs-12">
<div class="entry">
<div class="panel">
<div class="panel-header text-center">
<div class="popover popover-right">
<figure class="avatar avatar-xl">
{{ if .Entry.Logo }}
<img class="bg-gray" src="{{ .Entry.Logo }}" alt="{{ .Entry.Name }}">
{{ else }}
<img data-name="{{ .Entry.Name }}" alt="{{ .Entry.Name }}" class="initial"/>
{{ end }}
</figure>
{{ if .Entry.Description }}
<div class="popover-container">
<div class="card">
<div class="card-header">{{ .Entry.Description }}</div>
</div>
</div>
{{ end }}
</div>
<div class="panel-subtitle">
{{ if .Entry.Auth }}<i class="fas fa-lock"></i> {{ end }}{{ .Entry.Name | upper }}
</div>
</div>
<div class="panel-body text-center">
<div class="accordion">
<input type="checkbox" id="accordion-{{ $category }}-{{ $index }}" name="accordion-checkbox" hidden>
<label class="accordion-header text-primary" for="accordion-{{ $category }}-{{ $index }}">
<i class="icon icon-arrow-right mr-1"></i>
Links
</label>
<div class="accordion-body">
{{ range $name, $urls := .URLS }}
<div class="segment">
{{ if $name }}<div class="segment-name">{{ $name | spacify }}</div>{{ end }}
{{ range $url := $urls }}
<a href="{{ $url }}" target="_blank">{{ $url }}</a>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</div>
{{ else }}
No container
{{ end }}
</div>
</div>
<div class="empty">
<img class="gopher" src="static/logo.png" alt="Ghosts">
<blockquote>
<i class="fas fa-quote-left"></i> <cite>I am the ghost boo-ster!</cite>
</blockquote>
{{ if not $.Config.NoHelp }}
<p class="empty-title h5">The page you are looking for does not appear here?</p>
<p class="empty-subtitle">Click the button to open the help page.</p>
<div class="empty-action">
<a href="{{ $.Config.Help }}" target="_blank" id="bookmark" class="btn btn-primary">Help</a>
</div>
{{ end }}
</div>
<script src="static/jquery-3.3.1.min.js"></script>
<script src="static/initial.min.js"></script>
<script>
$(document).ready(function() {
$('.initial').initial({
charCount: 2,
fontSize: 35,
height: 80,
width: 80,
fontWeight: 500
});
});
</script>
</body>
</html>