Browse Source

initial foo

master
phryk 1 year ago
commit
fdb419236c

BIN
public/img/auth/github.png View File


BIN
public/img/gitea-lg.png View File


BIN
public/img/gitea-sm.png View File


+ 352
- 0
public/phryk.css View File

@@ -0,0 +1,352 @@
1
+html body {
2
+    background: rgb(16,16,16) !important;
3
+    color: rgba(255,255,255, 0.6) !important;
4
+}
5
+
6
+html .ui .text.black,
7
+html .ui .text.black:hover {
8
+    color: rgba(255,255,255, 0.8); /* i hate semantic ui */
9
+}
10
+
11
+html a {
12
+    /*color: #5aa500;*/
13
+    color: rgba(90, 165, 0, 1) !important;
14
+}
15
+
16
+html .ui .text.grey a {
17
+    color: rgba(255,255,255, 0.3) !important;
18
+}
19
+
20
+html a:hover,
21
+html .ui .text.grey a:hover {
22
+    color: rgba(128,255,0, 0.8) !important;
23
+}
24
+
25
+html .ui.header,
26
+html .ui.sub.header,
27
+html .ui.vertical.menu .header.item {
28
+    background: transparent;
29
+    color: rgba(255,255,255, 0.8) !important;
30
+}
31
+
32
+html .ui.menu .item {
33
+    color: rgba(255,255,255, 0.6) !important;
34
+}
35
+
36
+html .ui.card {
37
+    background: rgba(255,255,255, 0.05) !important;
38
+}
39
+
40
+html footer,
41
+html .ui.attached.header,
42
+html .ui.attached.segment,
43
+html .ui.menu,
44
+html .ui.main.menu.bar {
45
+    background: rgba(0,0,0, 0.3) !important;
46
+    border: 0 none !important;
47
+}
48
+
49
+html .ui.segment {
50
+    background: transparent !important; /* I already fucking hate "semantic ui" */
51
+}
52
+
53
+html .ui.menu .item:hover,
54
+html .ui.menu .active.item,
55
+html .ui.menu .active.item:hover,
56
+html .ui.tabular.menu .active.item,
57
+html .ui.dropdown .menu,
58
+html .ui.selection.dropdown,
59
+html .ui.menu .dropdown.item .menu { /* trying to define this one alone for some reason makes js fuck with background. fuck semantic ui */
60
+/*html .ui.secondary.menu .item:hover,
61
+html .ui.secondary.menu .active.item,
62
+html .ui.secondary.menu .active.item:hover {*/
63
+    /*color: rgba(255,255,255, 0.9) !important;*/
64
+    background: rgba(32,32,32, 0.8) !important;
65
+    border-color: transparent !important;
66
+    border-radius: 0 !important;
67
+    color: rgba(128,255,0, 0.8) !important;
68
+}
69
+
70
+html .ui.dropdown .menu > .header,
71
+html .ui.dropdown .menu > .item,
72
+html .ui.menu .ui.dropdown .menu > .item,
73
+html .ui.menu .ui.dropdown .menu > .selected.item,
74
+html .ui.dropdown .menu > .message:not(.ui) {
75
+    color: rgba(255,255,255, 0.8) !important;
76
+}
77
+
78
+html .ui.menu .dropdown.item .menu > .item {
79
+    color: rgba(255,255,255, 0.5) !important;
80
+}
81
+
82
+html .ui.menu .dropdown.item .menu > .item:hover,
83
+html .ui.menu .dropdown.item .menu > .item:active,
84
+html .ui.menu .dropdown.item .menu > .item:focus,
85
+html .ui.menu .dropdown.item .menu > .active.item,
86
+html .ui.menu .ui.dropdown .menu > .item:hover,
87
+html .ui.menu .ui.dropdown .menu > .item:active,
88
+html .ui.menu .ui.dropdown .menu > .item:focus,
89
+html .ui.menu .ui.dropdown .menu > .active.item {
90
+    color: rgba(128,255,0, 0.8) !important;
91
+}
92
+
93
+html .ui.secondary.pointing.menu .item:hover, 
94
+html .ui.secondary.pointing.menu .active.item {
95
+    border-color: rgba(90,165,0, 0.8) !important;
96
+    border-width-bottom: 4px !important;
97
+}
98
+
99
+html .ui.secondary.pointing.menu .item:hover,
100
+html .ui.secondary.pointing.menu .active.item:hover {
101
+    border-color: rgba(128,255,0, 0.8) !important;
102
+}
103
+
104
+ {
105
+    background: rgba(255,255,255, 0.1) !important!;
106
+}
107
+
108
+html .ui.label {
109
+    background: rgba(255,255,255, 0.3) !important;
110
+    color: rgba(0,0,0, 0.8) !important;
111
+}
112
+
113
+html .ui.label:hover,
114
+html .ui.label:focus,
115
+html .ui.label:active {
116
+    background: rgba(255,255,255, 0.5) !important;
117
+}
118
+
119
+html input, /* Don't fucking ask me why inputs in things like login forms aren't marked with .ui.input */
120
+html .ui.input input,
121
+html .ui.form textarea {
122
+    background: rgba(255, 255, 255, 0.1) !important;
123
+    color: rgba(255,255,255, 0.8) !important;
124
+}
125
+
126
+html .ui.form label {
127
+    color: rgba(255,255,255, 0.8) !important;
128
+}
129
+
130
+html .ui.input input:focus,
131
+html .ui.input.focus input {
132
+    background: rgba(255, 255, 255, 0.2) !important;
133
+    border-color: rgba(128, 255, 0, 0.6) !important;
134
+    border-width: 2px;
135
+}
136
+
137
+html .ui.basic.buttons .button {
138
+    color: rgba(255,255,255, 0.8) !important;
139
+}
140
+
141
+html .ui.button:hover,
142
+html .ui.button:active,
143
+html .ui.button:focus,
144
+html .ui.active.button,
145
+html .ui.basic.button:hover,
146
+html .ui.basic.button:active,
147
+html .ui.basic.button:focus,
148
+html .ui.basic.active.button,
149
+html .ui.basic.buttons .button:hover,
150
+html .ui.basic.buttons .button:active,
151
+html .ui.basic.buttons .button:focus,
152
+html .ui.basic.buttons .active.button {
153
+    background: rgba(255,255,255, 0.6) !important;
154
+}
155
+
156
+html .ui.button,
157
+html .ui.basic.button {
158
+    background: rgba(255,255,255, 0.3) !important;
159
+    color: rgba(0,0,0, 0.8) !important;
160
+}
161
+
162
+html .ui.button:hover,
163
+html .ui.button:active,
164
+html .ui.button:focus,
165
+html .ui.active.button {
166
+    color: rgba(0,0,0, 1) !important;
167
+}
168
+
169
+html .ui.red,
170
+html .ui.red.label,
171
+html .ui.basic.red.button {
172
+    background: rgba(165, 0, 90, 0.8) !important;
173
+    border-color: rgba(165, 0, 90, 0.8) !important;
174
+    color: rgba(0,0,0, 0.8) !important;
175
+    box-shadow: none !important;
176
+}
177
+
178
+html .ui.red.button:hover,
179
+html .ui.red.button:active,
180
+html .ui.red.button:focus,
181
+html .ui.red.active.button,
182
+
183
+html .ui.basic.buttons .red.button:hover,
184
+html .ui.basic.buttons .red.button:active,
185
+html .ui.basic.buttons .red.button:focus,
186
+html .ui.basic.buttons .red.active.button,
187
+
188
+html .ui.basic.red.button:hover,
189
+html .ui.basic.red.button:active,
190
+html .ui.basic.red.button:focus,
191
+html .ui.basic.red.active.button {
192
+    background: rgba(255, 0, 128, 0.8) !important;
193
+    color: rgba(0,0,0, 0.8) !important;
194
+}
195
+
196
+html .ui.green,
197
+html .ui.green.label,
198
+html .ui.basic.green.button {
199
+    background: rgba(90, 165, 0, 0.8) !important;
200
+    border-color: rgba(90, 165, 0, 0.8) !important;
201
+    color: rgba(0,0,0, 0.8) !important;
202
+    box-shadow: none !important;
203
+}
204
+
205
+html .ui.green.button:hover,
206
+html .ui.green.button:active,
207
+html .ui.green.button:focus,
208
+html .ui.green.active.button,
209
+
210
+html .ui.basic.buttons .green.button:hover,
211
+html .ui.basic.buttons .green.button:active,
212
+html .ui.basic.buttons .green.button:focus,
213
+html .ui.basic.buttons .green.active.button,
214
+
215
+html .ui.basic.green.button:hover,
216
+html .ui.basic.green.button:active,
217
+html .ui.basic.green.button:focus,
218
+html .ui.basic.green.active.button {
219
+    background: rgba(128, 255, 0, 0.8) !important;
220
+    color: rgba(0,0,0, 1) !important;
221
+}
222
+
223
+html .ui.blue,
224
+html .ui.blue.label,
225
+html .ui.basic.blue.button {
226
+    background: rgba(0, 90, 165, 0.8) !important;
227
+    border-color: rgba(0, 90, 165, 0.8) !important;
228
+    color: rgba(0,0,0, 0.8) !important;
229
+    box-shadow: none !important;
230
+}
231
+
232
+html .ui.blue.button:hover,
233
+html .ui.blue.button:active,
234
+html .ui.blue.button:focus,
235
+html .ui.blue.active.button,
236
+
237
+html .ui.basic.buttons .blue.button:hover,
238
+html .ui.basic.buttons .blue.button:active,
239
+html .ui.basic.buttons .blue.button:focus,
240
+html .ui.basic.buttons .blue.active.button,
241
+
242
+html .ui.basic.blue.button:hover,
243
+html .ui.basic.blue.button:active,
244
+html .ui.basic.blue.button:focus,
245
+html .ui.basic.blue.active.button {
246
+    background: rgba(0, 128, 255, 0.8) !important;
247
+    color: rgba(0,0,0, 1) !important;
248
+}
249
+
250
+html .ui.positive.message {
251
+    background: rgba(255,255,255, 0.1) !important;
252
+}
253
+
254
+html .ui.list > .item .header,
255
+html .ui.list > .item .description {
256
+    color: rgba(255,255,255, 0.8) !important;
257
+}
258
+
259
+html .ui.table, 
260
+html .ui.table thead th {
261
+    background: transparent;
262
+    color: rgba(255,255,255, 0.8);
263
+}
264
+
265
+html .ui.popup { 
266
+    background: rgba(32,32,32, 0.8);
267
+    color: rgba(255,255,255, 0.8);
268
+    border-color: rgba(16,16,16, 0.8);
269
+    border-width: 2px;
270
+}
271
+
272
+html .ui.top.popup:before,
273
+html .ui.pointing.dropdown > .menu::after {
274
+    background: rgba(32,32,32, 0.8);
275
+    box-shadow: 2px 2px 0 0 rgba(32,32,32, 0.8);
276
+}
277
+
278
+html .add {
279
+    background: rgba(128,255,0, 0.5) !important;
280
+}
281
+
282
+html .del {
283
+    background: rgba(255,0,128, 0.5) !important;
284
+}
285
+/*html .ui.floating.dropdown > .menu {
286
+    margin-top: -520px !important; makes things better without js, but the thing goes completely awol with js 
287
+}*/
288
+html .markdown:not(code) pre {
289
+    background: transparent;
290
+}
291
+html .explore .navbar,
292
+html .repository .header-wrapper,
293
+html .ui .info.segment.top,
294
+html .ui.menu.new-menu {
295
+    background-color: transparent !important;
296
+}
297
+
298
+html .issue.list > .item .title:hover {
299
+    color: rgba(255,255,255, 0.9) !important;
300
+}
301
+
302
+html .repository .diff-box .header .count .bar {
303
+    background-color: transparent !important;
304
+}
305
+
306
+html .repository .diff-file-box .code-diff tbody tr.tag-code td,
307
+html .repository .diff-file-box .file-body.file-code .lines-num {
308
+    background: rgba(255,255,255, 0.05) !important;
309
+    color: rgba(255,255,255, 0.8) !important;
310
+}
311
+
312
+html .repository .diff-file-box .code-diff-unified tbody tr.add-code td {
313
+    background: rgba(128, 255, 0, 0.5) !important;
314
+}
315
+
316
+html .repository .diff-file-box .code-diff-unified tbody tr.del-code td {
317
+    background: rgba(255, 0, 128, 0.5) !important;
318
+}
319
+
320
+html .repository.file.list #repo-files-table tr:hover {
321
+    background: rgba(255,255,255, 0.1);
322
+}
323
+
324
+html .repository.view.issue .comment-list::before { /* don't even know what this is for */
325
+    background: transparent !important;
326
+}
327
+
328
+html .CodeMirror {
329
+    background: rgba(32,32,32, 0.8);
330
+    color: rgba(255,255,255, 0.8);
331
+}
332
+
333
+html .editor-toolbar.fullscreen {
334
+    background: rgba(32,32,32, 0.8);
335
+}
336
+
337
+html .editor-toolbar a {
338
+    color: rgba(192,255,0, 0.8) !important;
339
+}
340
+
341
+html .editor-toolbar a:hover,
342
+html .editor-toolbar a:active,
343
+html .editor-toolbar a:focus,
344
+html .editor-toolbar a.active {
345
+    background: rgba(255,255,255, 0.1);
346
+    border: 0 none;
347
+    border-radius: 0;
348
+}
349
+
350
+html .home p.small {
351
+    font-size: 10px;
352
+}

+ 278
- 0
templates/base/head.tmpl View File

@@ -0,0 +1,278 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head data-suburl="{{AppSubUrl}}">
4
+	<meta charset="utf-8">
5
+	<meta name="viewport" content="width=device-width, initial-scale=1">
6
+	<meta http-equiv="x-ua-compatible" content="ie=edge">
7
+	<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
8
+	<meta name="theme-color" content="{{ThemeColorMetaTag}}">
9
+	<meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}{{MetaAuthor}}{{end}}" />
10
+	<meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}{{MetaDescription}}{{end}}" />
11
+	<meta name="keywords" content="{{MetaKeywords}}">
12
+	<meta name="referrer" content="no-referrer" />
13
+	<meta name="_csrf" content="{{.CsrfToken}}" />
14
+	<meta name="_suburl" content="{{AppSubUrl}}" />
15
+	{{if .IsSigned}}
16
+		<meta name="_uid" content="{{.SignedUser.ID}}" />
17
+	{{end}}
18
+	{{if .ContextUser}}
19
+		<meta name="_context_uid" content="{{.ContextUser.ID}}" />
20
+	{{end}}
21
+	{{if .SearchLimit}}
22
+		<meta name="_search_limit" content="{{.SearchLimit}}" />
23
+	{{end}}
24
+{{if .GoGetImport}}
25
+	<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">
26
+	<meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}">
27
+{{end}}
28
+
29
+	<script>
30
+	{{SafeJS `/*
31
+	@licstart  The following is the entire license notice for the
32
+        JavaScript code in this page.
33
+
34
+	Copyright (c) 2016 The Gitea Authors
35
+	Copyright (c) 2015 The Gogs Authors
36
+
37
+	Permission is hereby granted, free of charge, to any person obtaining a copy
38
+	of this software and associated documentation files (the "Software"), to deal
39
+	in the Software without restriction, including without limitation the rights
40
+	to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41
+	copies of the Software, and to permit persons to whom the Software is
42
+	furnished to do so, subject to the following conditions:
43
+
44
+	The above copyright notice and this permission notice shall be included in
45
+	all copies or substantial portions of the Software.
46
+
47
+	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48
+	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49
+	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50
+	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51
+	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52
+	OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
53
+	THE SOFTWARE.
54
+	---
55
+	Licensing information for additional javascript libraries can be found at:
56
+	  {{AppSubUrl}}/vendor/librejs.html
57
+
58
+	@licend  The above is the entire license notice
59
+        for the JavaScript code in this page.
60
+	*/`}}
61
+	</script>
62
+
63
+	<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
64
+	<link rel="mask-icon" href="{{AppSubUrl}}/img/gitea-safari.svg" color="#609926">
65
+	<link rel="preload" href="{{AppSubUrl}}/vendor/assets/font-awesome/css/font-awesome.min.css" as="style" onload="this.rel='stylesheet'">
66
+	<noscript><link rel="stylesheet" href="{{AppSubUrl}}/vendor/assets/font-awesome/css/font-awesome.min.css"></noscript>
67
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/assets/octicons/octicons.min.css">
68
+
69
+{{if .RequireSimpleMDE}}
70
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/simplemde/simplemde.min.css">
71
+{{end}}
72
+
73
+{{if .RequireGitGraph}}
74
+	<!-- graph -->
75
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/gitgraph/gitgraph.css">
76
+{{end}}
77
+
78
+{{if .RequireTribute}}
79
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/tribute/tribute.css">
80
+{{end}}
81
+
82
+	<!-- Stylesheet -->
83
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.css">
84
+	<link rel="stylesheet" href="{{AppSubUrl}}/css/index.css?v={{MD5 AppVer}}">
85
+	<noscript>
86
+		<style>
87
+			.dropdown:hover > .menu { display: block; }
88
+			.ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }
89
+		</style>
90
+	</noscript>
91
+
92
+{{if .RequireHighlightJS}}
93
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/highlight/github.css">
94
+{{end}}
95
+{{if .RequireMinicolors}}
96
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/jquery.minicolors/jquery.minicolors.css">
97
+{{end}}
98
+{{if .RequireDatetimepicker}}
99
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.css">
100
+{{end}}
101
+{{if .RequireDropzone}}
102
+	<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/dropzone/dropzone.css">
103
+{{end}}
104
+	<style class="list-search-style"></style>
105
+
106
+	<script src="{{AppSubUrl}}/vendor/plugins/cssrelpreload/loadCSS.min.js"></script>
107
+	<script src="{{AppSubUrl}}/vendor/plugins/cssrelpreload/cssrelpreload.min.js"></script>
108
+{{if .PageIsUserProfile}}
109
+	<meta property="og:title" content="{{.Owner.Name}}" />
110
+	<meta property="og:type" content="profile" />
111
+	<meta property="og:image" content="{{.Owner.AvatarLink}}" />
112
+	<meta property="og:url" content="{{.Owner.HTMLURL}}" />
113
+	<meta property="og:site_name" content="{{AppName}}" />
114
+{{else if .Repository}}
115
+	<meta property="og:title" content="{{.Repository.Name}}" />
116
+	<meta property="og:type" content="object" />
117
+	<meta property="og:image" content="{{.Repository.Owner.AvatarLink}}" />
118
+	<meta property="og:url" content="{{.Repository.HTMLURL}}" />
119
+	{{if .Repository.Description}}
120
+	<meta property="og:description" content="{{.Repository.Description}}" />
121
+	{{end}}
122
+	<meta property="og:site_name" content="{{AppName}}" />
123
+{{else}}
124
+	<meta property="og:title" content="{{AppName}}">
125
+	<meta property="og:type" content="website" />
126
+	<meta property="og:image" content="{{AppSubUrl}}/img/gitea-lg.png" />
127
+	<meta property="og:url" content="{{AppUrl}}" />
128
+	<meta property="og:description" content="{{MetaDescription}}">
129
+{{end}}
130
+{{template "custom/header" .}}
131
+</head>
132
+<body>
133
+	{{template "custom/body_outer_pre" .}}
134
+
135
+	<div class="full height">
136
+		<noscript>{{.i18n.Tr "enable_javascript"}}</noscript>
137
+
138
+		{{template "custom/body_inner_pre" .}}
139
+
140
+		{{if not .PageIsInstall}}
141
+			<div class="ui top secondary stackable main menu following bar">
142
+				<div class="ui container" id="navbar">
143
+					<div class="item brand" style="justify-content: space-between;">
144
+						<a href="{{AppSubUrl}}/" href="{{AppSubUrl}}/">
145
+							<img class="ui mini image" src="{{AppSubUrl}}/img/gitea-sm.png">
146
+						</a>
147
+						<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
148
+							<i class="sidebar icon"></i>
149
+						</div>
150
+					</div>
151
+
152
+					{{if .IsSigned}}
153
+						<a class="item{{if .PageIsDashboard}} active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "dashboard"}}</a>
154
+						<a class="item{{if .PageIsIssues}} active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
155
+						<a class="item{{if .PageIsPulls}} active{{end}}" href="{{AppSubUrl}}/pulls">{{.i18n.Tr "pull_requests"}}</a>
156
+					{{else}}
157
+						<a class="item{{if .PageIsHome}} active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a>
158
+					{{end}}
159
+
160
+					<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
161
+
162
+					{{template "custom/extra_links" .}}
163
+
164
+					{{/*
165
+						<div class="item">
166
+						<div class="ui icon input">
167
+						<input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}">
168
+						<i class="search icon"></i>
169
+						</div>
170
+						</div>
171
+					*/}}
172
+
173
+					{{if .IsSigned}}
174
+						<div class="right stackable menu">
175
+							<a href="{{AppSubUrl}}/notifications" class="item poping up" data-content='{{.i18n.Tr "notifications"}}' data-variation="tiny inverted">
176
+								<span class="text">
177
+									<i class="fitted octicon octicon-inbox"></i>
178
+									<span class="sr-mobile-only">{{.i18n.Tr "notifications"}}</span>
179
+
180
+									{{if .NotificationUnreadCount}}
181
+										<span class="ui red label">
182
+											{{.NotificationUnreadCount}}
183
+										</span>
184
+									{{end}}
185
+								</span>
186
+							</a>
187
+
188
+							<div class="ui dropdown jump item poping up" data-content="{{.i18n.Tr "create_new"}}" data-variation="tiny inverted">
189
+								<span class="text">
190
+									<i class="fitted octicon octicon-plus"></i>
191
+									<span class="sr-mobile-only">{{.i18n.Tr "create_new"}}</span>
192
+									<i class="fitted octicon octicon-triangle-down not-mobile"></i>
193
+								</span>
194
+								<div class="menu">
195
+									<a class="item" href="{{AppSubUrl}}/repo/create">
196
+										<i class="fitted octicon octicon-plus"></i> {{.i18n.Tr "new_repo"}}
197
+									</a>
198
+									<a class="item" href="{{AppSubUrl}}/repo/migrate">
199
+										<i class="fitted octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}}
200
+									</a>
201
+									{{if .SignedUser.CanCreateOrganization}}
202
+									<a class="item" href="{{AppSubUrl}}/org/create">
203
+										<i class="fitted octicon octicon-organization"></i> {{.i18n.Tr "new_org"}}
204
+									</a>
205
+									{{end}}
206
+								</div><!-- end content create new menu -->
207
+							</div><!-- end dropdown menu create new -->
208
+
209
+							<div class="ui dropdown jump item poping up" tabindex="-1" data-content="{{.i18n.Tr "user_profile_and_more"}}" data-variation="tiny inverted">
210
+								<span class="text">
211
+									<img class="ui tiny avatar image" src="{{.SignedUser.RelAvatarLink}}">
212
+									<span class="sr-only">{{.i18n.Tr "user_profile_and_more"}}</span>
213
+									<span class="mobile-only">{{.SignedUser.Name}}</span>
214
+									<i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i>
215
+								</span>
216
+								<div class="menu" tabindex="-1">
217
+									<div class="ui header">
218
+										{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
219
+									</div>
220
+
221
+									<div class="divider"></div>
222
+									<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}">
223
+										<i class="octicon octicon-person"></i>
224
+										{{.i18n.Tr "your_profile"}}<!-- Your profile -->
225
+									</a>
226
+									<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}?tab=stars">
227
+										<i class="octicon octicon-star"></i>
228
+										{{.i18n.Tr "your_starred"}}
229
+									</a>
230
+									<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
231
+										<i class="octicon octicon-settings"></i>
232
+										{{.i18n.Tr "your_settings"}}<!-- Your settings -->
233
+									</a>
234
+									<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">
235
+										<i class="octicon octicon-question"></i>
236
+										{{.i18n.Tr "help"}}<!-- Help -->
237
+									</a>
238
+									{{if .IsAdmin}}
239
+										<div class="divider"></div>
240
+
241
+										<a class="{{if .PageIsAdmin}}active{{end}} item" href="{{AppSubUrl}}/admin">
242
+											<i class="icon settings"></i>
243
+											{{.i18n.Tr "admin_panel"}}<!-- Admin Panel -->
244
+										</a>
245
+									{{end}}
246
+
247
+									<div class="divider"></div>
248
+									<a class="item" href="{{AppSubUrl}}/user/logout">
249
+										<i class="octicon octicon-sign-out"></i>
250
+										{{.i18n.Tr "sign_out"}}<!-- Sign Out -->
251
+									</a>
252
+								</div><!-- end content avatar menu -->
253
+							</div><!-- end dropdown avatar menu -->
254
+						</div><!-- end signed user right menu -->
255
+
256
+					{{else}}
257
+
258
+						<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.i18n.Tr "help"}}</a>
259
+						<div class="right stackable menu">
260
+							{{if .ShowRegistrationButton}}
261
+								<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
262
+									<i class="octicon octicon-person"></i> {{.i18n.Tr "register"}}
263
+								</a>
264
+							{{end}}
265
+							<a class="item{{if .PageIsSignIn}} active{{end}}" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">
266
+								<i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}
267
+							</a>
268
+						</div><!-- end anonymous right menu -->
269
+
270
+					{{end}}
271
+				</div><!-- end container -->
272
+			</div><!-- end bar -->
273
+		{{end}}
274
+{{/*
275
+	</div>
276
+</body>
277
+</html>
278
+*/}}

+ 1
- 0
templates/custom/header.tmpl View File

@@ -0,0 +1 @@
1
+<link rel="stylesheet" type="text/css" href="{{AppSubUrl}}/phryk.css" />

+ 70
- 0
templates/home.tmpl View File

@@ -0,0 +1,70 @@
1
+{{template "base/head" .}}
2
+<div class="home">
3
+	<div class="ui stackable middle very relaxed page grid">
4
+		<div class="sixteen wide center aligned centered column">
5
+			<div>
6
+				<img class="logo" src="{{AppSubUrl}}/img/gitea-lg.png" />
7
+			</div>
8
+			<div class="hero">
9
+				<h1 class="ui icon header title">phryk evil mad sciences, LLC</h1>
10
+				<h2>Research and Destruction</h2>
11
+			</div>
12
+		</div>
13
+
14
+		<div class="sixteen wide center aligned centered column">
15
+			<p class="large">
16
+				Welcome to the R&amp;D facilities of <a href="https://phryk.net/" target="_blank">phryk evil mad sciences, LLC</a>!<br>
17
+				Here, you will find <a href="{{AppSubUrl}}/phryk-evil-mad-sciences-llc">sources and blueprints</a> for the inevitable collapse and beyond.<br>
18
+                <br>
19
+                <!-- Long live the Proletariat! -->
20
+			</p>
21
+		</div>
22
+
23
+	</div>
24
+
25
+	<div class="ui stackable middle very relaxed page grid">
26
+		<div class="eight wide center column">
27
+			<h1 class="hero ui icon header">
28
+				<i class="octicon octicon-flame"></i> Easy to install
29
+			</h1>
30
+			<p class="large">
31
+                Why be bogged down by "representative" "democracy"<br>
32
+                when the solution can be as easy as<br>
33
+                <a href="https://packages.debian.org/stable/doc/anarchism" target="_blank">apt-get install anarchism</a>?
34
+			</p>
35
+		</div>
36
+		<div class="eight wide center column">
37
+			<h1 class="hero ui icon header">
38
+				<i class="octicon octicon-device-desktop"></i> Cross-platform
39
+			</h1>
40
+			<p class="large">
41
+                Our memetic intellectual property runs on all<br>
42
+                common wetware configurations.
43
+            <p>
44
+            <p class="small">
45
+                Software probably™ supports<br>
46
+                <span title="Not actually a band name.">[Free]BSD and the Linuxoids.</span>
47
+			</p>
48
+		</div>
49
+	</div>
50
+	<div class="ui stackable middle very relaxed page grid">
51
+		<div class="eight wide center column">
52
+			<h1 class="hero ui icon header">
53
+				<i class="octicon octicon-rocket"></i> Lightweight
54
+			</h1>
55
+			<p class="large">
56
+                Anarchy is the most leightweight mode of operation<br>
57
+                possible for society – get yours going today!
58
+			</p>
59
+		</div>
60
+		<div class="eight wide center column">
61
+			<h1 class="hero ui icon header">
62
+				<i class="octicon octicon-code"></i> Open Source
63
+			</h1>
64
+			<p class="large">
65
+                After a <strike>violent struggle</strike>productive discussion between our legal and marketing departments, we are pleased to announce that in order to maximize our reach, all our project sources will be freely available!
66
+			</p>
67
+		</div>
68
+	</div>
69
+</div>
70
+{{template "base/footer" .}}

Loading…
Cancel
Save