2017-11-20 06:10:04 +01:00
|
|
|
// Code generated by go generate; DO NOT EDIT.
|
2017-12-25 03:04:34 +01:00
|
|
|
// 2017-12-24 14:32:38.881953886 -0800 PST m=+0.038978781
|
2017-11-20 06:10:04 +01:00
|
|
|
|
|
|
|
package template
|
|
|
|
|
|
|
|
var templateCommonMap = map[string]string{
|
|
|
|
"entry_pagination": `{{ define "entry_pagination" }}
|
|
|
|
<div class="pagination">
|
|
|
|
<div class="pagination-prev">
|
|
|
|
{{ if .prevEntry }}
|
|
|
|
<a href="{{ .prevEntryRoute }}" title="{{ .prevEntry.Title }}" data-page="previous">{{ t "Previous" }}</a>
|
|
|
|
{{ else }}
|
|
|
|
{{ t "Previous" }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pagination-next">
|
|
|
|
{{ if .nextEntry }}
|
|
|
|
<a href="{{ .nextEntryRoute }}" title="{{ .nextEntry.Title }}" data-page="next">{{ t "Next" }}</a>
|
|
|
|
{{ else }}
|
|
|
|
{{ t "Next" }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}`,
|
|
|
|
"layout": `{{ define "base" }}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2017-12-16 06:28:54 +01:00
|
|
|
|
2017-12-03 00:01:05 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
2017-12-16 06:28:54 +01:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="Miniflux">
|
2017-12-23 05:16:49 +01:00
|
|
|
<link rel="manifest" href="{{ route "webManifest" }}">
|
2017-12-16 06:28:54 +01:00
|
|
|
|
2017-11-20 06:10:04 +01:00
|
|
|
<meta name="robots" content="noindex,nofollow">
|
|
|
|
<meta name="referrer" content="no-referrer">
|
2017-12-16 06:28:54 +01:00
|
|
|
|
|
|
|
<link rel="icon" type="image/png" href="{{ route "appIcon" "filename" "favicon.png" }}">
|
|
|
|
<link rel="apple-touch-icon" href="{{ route "appIcon" "filename" "touch-icon-iphone.png" }}">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="{{ route "appIcon" "filename" "touch-icon-ipad.png" }}">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="{{ route "appIcon" "filename" "touch-icon-iphone-retina.png" }}">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="{{ route "appIcon" "filename" "touch-icon-ipad-retina.png" }}">
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ route "favicon" }}">
|
|
|
|
|
2017-11-20 06:10:04 +01:00
|
|
|
{{ if .csrf }}
|
|
|
|
<meta name="X-CSRF-Token" value="{{ .csrf }}">
|
|
|
|
{{ end }}
|
|
|
|
<title>{{template "title" .}} - Miniflux</title>
|
|
|
|
{{ if .user }}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" .user.Theme }}">
|
|
|
|
{{ else }}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" "white" }}">
|
|
|
|
{{ end }}
|
|
|
|
<script type="text/javascript" src="{{ route "javascript" }}" defer></script>
|
|
|
|
</head>
|
|
|
|
<body data-entries-status-url="{{ route "updateEntriesStatus" }}">
|
|
|
|
{{ if .user }}
|
|
|
|
<header class="header">
|
|
|
|
<nav>
|
|
|
|
<div class="logo">
|
|
|
|
<a href="{{ route "unread" }}">Mini<span>flux</span></a>
|
|
|
|
</div>
|
|
|
|
<ul>
|
2017-12-22 20:33:01 +01:00
|
|
|
<li {{ if eq .menu "unread" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g u" }}">
|
2017-11-20 06:10:04 +01:00
|
|
|
<a href="{{ route "unread" }}" data-page="unread">{{ t "Unread" }}</a>
|
|
|
|
{{ if gt .countUnread 0 }}
|
|
|
|
<span class="unread-counter" title="Unread articles">({{ .countUnread }})</span>
|
|
|
|
{{ end }}
|
|
|
|
</li>
|
2017-12-22 20:33:01 +01:00
|
|
|
<li {{ if eq .menu "starred" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g b" }}">
|
|
|
|
<a href="{{ route "starred" }}" data-page="starred">{{ t "Starred" }}</a>
|
|
|
|
</li>
|
|
|
|
<li {{ if eq .menu "history" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g h" }}">
|
2017-11-20 06:10:04 +01:00
|
|
|
<a href="{{ route "history" }}" data-page="history">{{ t "History" }}</a>
|
|
|
|
</li>
|
2017-12-22 20:33:01 +01:00
|
|
|
<li {{ if eq .menu "feeds" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g f" }}">
|
2017-11-20 06:10:04 +01:00
|
|
|
<a href="{{ route "feeds" }}" data-page="feeds">{{ t "Feeds" }}</a>
|
|
|
|
</li>
|
2017-12-22 20:33:01 +01:00
|
|
|
<li {{ if eq .menu "categories" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g c" }}">
|
2017-11-20 06:10:04 +01:00
|
|
|
<a href="{{ route "categories" }}" data-page="categories">{{ t "Categories" }}</a>
|
|
|
|
</li>
|
2017-12-22 20:33:01 +01:00
|
|
|
<li {{ if eq .menu "settings" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g s" }}">
|
2017-11-20 06:10:04 +01:00
|
|
|
<a href="{{ route "settings" }}" data-page="settings">{{ t "Settings" }}</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ route "logout" }}" title="Logged as {{ .user.Username }}">{{ t "Logout" }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
{{ end }}
|
2017-12-17 03:07:53 +01:00
|
|
|
{{ if .flashMessage }}
|
|
|
|
<div class="flash-message alert alert-success">{{ .flashMessage }}</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .flashErrorMessage }}
|
|
|
|
<div class="flash-error-message alert alert-error">{{ .flashErrorMessage }}</div>
|
|
|
|
{{ end }}
|
2017-12-03 02:04:01 +01:00
|
|
|
<main>
|
2017-11-20 06:10:04 +01:00
|
|
|
{{template "content" .}}
|
2017-12-03 02:04:01 +01:00
|
|
|
</main>
|
2017-11-20 06:10:04 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{ end }}`,
|
|
|
|
"pagination": `{{ define "pagination" }}
|
|
|
|
<div class="pagination">
|
|
|
|
<div class="pagination-prev">
|
|
|
|
{{ if .ShowPrev }}
|
|
|
|
<a href="{{ .Route }}{{ if gt .PrevOffset 0 }}?offset={{ .PrevOffset }}{{ end }}" data-page="previous">{{ t "Previous" }}</a>
|
|
|
|
{{ else }}
|
|
|
|
{{ t "Previous" }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pagination-next">
|
|
|
|
{{ if .ShowNext }}
|
|
|
|
<a href="{{ .Route }}?offset={{ .NextOffset }}" data-page="next">{{ t "Next" }}</a>
|
|
|
|
{{ else }}
|
|
|
|
{{ t "Next" }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
`,
|
|
|
|
}
|
|
|
|
|
|
|
|
var templateCommonMapChecksums = map[string]string{
|
|
|
|
"entry_pagination": "f1465fa70f585ae8043b200ec9de5bf437ffbb0c19fb7aefc015c3555614ee27",
|
2017-12-23 05:16:49 +01:00
|
|
|
"layout": "778c5cd419c3bd0e35141b1c17bc6775c58b36c650b7566c27ccfd51a6f1417d",
|
2017-11-20 22:46:22 +01:00
|
|
|
"pagination": "6ff462c2b2a53bc5448b651da017f40a39f1d4f16cef4b2f09784f0797286924",
|
2017-11-20 06:10:04 +01:00
|
|
|
}
|