2017-05-10 05:24:18 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
2017-06-02 20:10:36 +02:00
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "keywords" content = "torrents, pantsu, anime, manga, sukebei, nyaapassu, horriblesubs, nyaa, hentai, dlsite" >
< meta name = "description" content = 'The leading open-source community-based nyaa.se successor, suitable for all anime and manga needs. にゃんぱす~!' >
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
2017-06-02 20:12:17 +02:00
< title > {{if Sukebei}}Sukebei{{else}}Nyaa{{end}} Pantsu Moderation Panel - {{block "title" .}}{{ call $.T "error_404" }}{{end}}< / title >
2017-06-02 20:10:36 +02:00
<!-- Flavicons and icons -->
< link rel = "icon" type = "image/png" href = "/img/favicon.png" / >
< link rel = "shortcut icon" type = "image/png" href = "/img/favicon.png" >
<!-- SMO -->
< meta property = "og:site_name" content = "Nyaa Pantsu" >
< meta property = "og:site_name" content = "{{if Sukebei}}Sukebei{{else}}Nyaa{{end}} Pantsu - {{template " title " . } } { { call $ . T " error_404 " } } " >
< meta property = "og:image" content = "/img/favicon.png" >
< meta property = "og:description" content = "Nyaa Pantsu Homepage" >
<!-- RSS Feed with Context -->
< link rel = "alternate" type = "application/rss+xml" title = "Nyaa Pantsu - {{block " rsstitle " . } } Last torrents { { end } } RSS Feed " href = "{{ block " rss_link " . } } { { genRouteWithQuery " feed " . URL } } { { end } } " / >
<!-- do NOT move -->
< link rel = "stylesheet" href = "https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css" >
<!-- Base theme -->
< link rel = "stylesheet" id = "style" href = "{{.URL.Parse " / css / main . css " } } ? v = {{ . Config . Version } } " >
2017-06-16 00:57:52 +02:00
<!-- nyaacon, custom icon set -->
< link rel = "stylesheet" href = "{{.URL.Parse " / css / nyacon . css " } } ? v = {{ . Config . Version } } { { . Config . Build } } " >
2017-06-02 20:10:36 +02:00
<!-- User selected theme, if any, defaults to /g/ -->
{{if eq $.Theme ""}}
< link rel = "stylesheet" id = "theme" href = "/css/g.css?v={{ .Config.Version }}" >
{{else}}
< link rel = "stylesheet" id = "theme" href = "/css/{{$.Theme}}.css?v={{ .Config.Version }}" >
{{end}}
<!-- Search Box for Google -->
2017-06-03 03:45:24 +02:00
< script type = "application/ld+json" > { "@context" : "https://schema.org" , "@type" : "WebSite" , "url" : "{{.Config.WebAddress.Nyaa}}/" , "potentialAction" : { "@type" : "SearchAction" , "target" : "{{.Config.WebAddress.Nyaa}}/search?q={search_term_string}" , "query-input" : "required name=search_term_string" } } < / script >
2017-06-02 20:10:36 +02:00
{{ block "additional_header" .}}{{end}}
2017-05-10 05:24:18 +02:00
< / head >
2017-06-02 20:10:36 +02:00
< body { { if Sukebei } } class = "sukebei" { { end } } >
2017-06-16 00:57:52 +02:00
< nav id = "header" class = "header" >
2017-06-02 20:10:36 +02:00
< div class = "container" >
2017-06-16 00:57:52 +02:00
< div class = "h-left" >
2017-06-02 20:10:36 +02:00
< div class = "h-logo" >
< a href = "{{ genRoute " mod_index " } } " > < img class = "hide-md" src = "/img/{{if Sukebei}}sukebei_logo.png{{else}}logo.png{{end}}" alt = "NyaaPantsu" > < img class = "visible-md" src = "/img/logo_s.png" / > < / a >
< / div >
< div class = "h-nav" >
2017-06-16 00:57:52 +02:00
< a href = "{{.URL.Parse " / " } } " class = "nav-btn" > < span class = "hide-md" > {{call $.T "nyaa_pantsu"}}< / span > < / a >
< a href = "{{ genRoute " mod_tlist " } } " class = "nav-btn" > < div class = "visible-md icon-magnet" > < / div > < span class = "hide-md" > {{call $.T "torrents"}}< / span > < / a >
< a href = "{{ genRoute " mod_ulist " } } " class = "nav-btn" > < div class = "visible-md icon-users" > < / div > < span class = "hide-md" > {{call $.T "users"}}< / span > < / a >
< a href = "{{ genRoute " mod_clist " } } " class = "nav-btn" > < div class = "visible-md icon-chat" > < / div > < span class = "hide-md" > {{call $.T "comments"}}< / span > < / a >
< a href = "{{ genRoute " mod_trlist " } } " class = "nav-btn" > < div class = "visible-md icon-attention" > < / div > < span class = "hide-md" > {{call $.T "torrent_reports"}}< / span > < / a >
< a href = "{{ genRoute " mod_treassign " } } " class = "nav-btn" > < div class = "visible-md icon-user-plus" > < / div > < span class = "hide-md" > Torrent Reassign< / span > < / a >
2017-06-02 20:10:36 +02:00
< / div >
< / div >
< div class = "h-right" >
2017-06-16 00:57:52 +02:00
< div class = "h-user" >
2017-06-02 20:10:36 +02:00
{{block "badge_user" .}}{{end}}
2017-06-16 00:57:52 +02:00
< / div >
2017-06-20 15:15:26 +02:00
2017-06-02 20:10:36 +02:00
< div class = "h-search" >
< form role = "search" action = "{{ genRoute " mod_tlist " } } " method = "get" >
2017-05-11 03:52:36 +02:00
{{block "search_common" .}}{{end}}
{{block "search_button" .}}{{end}}
2017-06-02 20:10:36 +02:00
< / form >
< / div >
2017-06-16 00:57:52 +02:00
< / div >
2017-06-02 20:10:36 +02:00
< / div >
< / nav >
< div id = "content" class = "content-admin" >
< div class = "content container center" >
{{block "content" .}}{{call $.T "nothing_here"}}{{end}}
< / div >
{{if ne .Mascot "hide"}}
< div id = "mascot" class = "hide-xs" onclick = "playVoice();" > < / div >
{{ if eq .Theme "tomorrow" }}
< audio id = "explosion" hidden preload = "none" >
< source src = "https://megumin.love/sounds/explosion.mp3" type = "audio/mpeg" >
< / audio >
{{ else }}
< audio id = "nyanpassu" hidden preload = "none" >
< source src = "https://a.doko.moe/sewang.mp3" type = "audio/mpeg" >
< / audio >
{{end}}
{{end}}
< div class = "pagination" >
{{ genNav .Navigation .URL 15 }}
< / div >
< footer id = "footer" >
< div class = "container footer center" >
< div class = "footer-opt" >
< p > < a href = "/settings" > {{ call $.T "change_settings" }}< / a > < / p >
< / div >
2017-06-20 02:06:01 +02:00
< span > < i > Powered by < a href = "#" > NyaaPantsu< / a > v{{ .Config.Version }} - commit {{ .Config.Build }}< / i > < / span >
2017-06-02 20:10:36 +02:00
< / div >
< / footer >
< / div >
< script type = "text/javascript" charset = "utf-8" src = "{{.URL.Parse " / js / main . js " } } ? v = {{ . Config . Version } } " async > < / script >
{{ block "footer_js" .}}{{end}}
< / body >
2017-06-06 16:47:49 +02:00
< / html >