2017-05-02 12:39:53 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
2017-05-04 03:50:21 +02:00
< title > Nyaa Pantsu< / title >
2017-05-02 12:39:53 +02:00
<!-- Latest compiled and minified CSS -->
< link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity = "sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin = "anonymous" >
<!-- Bootstrap -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!-- [if lt IE 9]>
< script src = "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
<![endif]-->
2017-05-03 19:45:18 +02:00
<!-- Website CSS -->
< link rel = "stylesheet" href = "css/style.css" >
2017-05-02 12:39:53 +02:00
< / head >
< body >
< nav class = "navbar navbar-default" >
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-1" aria-expanded = "false" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
2017-05-04 01:01:36 +02:00
< a class = "navbar-brand" href = "https://nyaa.pantsu.cat" > Nyaa Pantsu< / a >
2017-05-02 12:39:53 +02:00
< / div >
< div class = "collapse navbar-collapse" id = "bs-example-navbar-collapse-1" >
2017-05-02 13:23:04 +02:00
< ul class = "nav navbar-nav" >
2017-05-04 01:01:36 +02:00
< li > < a href = "https://sukebei.pantsu.cat" > Sukebei Pantsu< / a > < / li >
2017-05-04 04:31:19 +02:00
< li > < a href = "https://nyaa.pantsu.cat/faq" > Faq< / a > < / li >
2017-05-02 13:23:04 +02:00
< / ul >
2017-05-02 12:39:53 +02:00
< form class = "navbar-form navbar-left" role = "search" action = "/search" method = "get" >
< div class = "form-group" >
2017-05-03 06:59:27 +02:00
< select name = "c" class = "form-control" value >
< option value = "_" > All categories< / option >
< option value = "1_" { { if eq . Category " 1_ " } } selected { { end } } > Software< / option >
< option value = "1_1" { { if eq . Category " 1_1 " } } selected { { end } } > Software - Applications< / option >
< option value = "1_2" { { if eq . Category " 1_2 " } } selected { { end } } > Software - Games< / option >
< option value = "2_" { { if eq . Category " 2_ " } } selected { { end } } > Audio< / option >
< option value = "2_3" { { if eq . Category " 2_3 " } } selected { { end } } > Audio - Lossless< / option >
< option value = "2_4" { { if eq . Category " 2_4 " } } selected { { end } } > Audio - Lossy< / option >
< option value = "3_" { { if eq . Category " 3_ " } } selected { { end } } > Anime< / option >
< option value = "3_5" { { if eq . Category " 3_5 " } } selected { { end } } > Anime - English-translated< / option >
< option value = "3_6" { { if eq . Category " 3_6 " } } selected { { end } } > Anime - Raw< / option >
< option value = "4_" { { if eq . Category " 4_ " } } selected { { end } } > Literature< / option >
< option value = "4_7" { { if eq . Category " 4_7 " } } selected { { end } } > Literature - English-translated< / option >
< option value = "4_8" { { if eq . Category " 4_8 " } } selected { { end } } > Literature - Raw< / option >
< option value = "5_" { { if eq . Category " 5_ " } } selected { { end } } > Live Action< / option >
< option value = "5_9" { { if eq . Category " 5_9 " } } selected { { end } } > Live Action - English-translated< / option >
< option value = "5_10" { { if eq . Category " 5_10 " } } selected { { end } } > Live Action - Idol/Promotional Video< / option >
< option value = "5_11" { { if eq . Category " 5_11 " } } selected { { end } } > Live Action - Raw< / option >
< / select >
2017-05-04 05:24:34 +02:00
< input name = "q" class = "form-control col-md-1" placeholder = "Search" type = "text" >
2017-05-03 19:45:18 +02:00
< select name = "max" class = "form-control" value >
< option value = "" > Nb Item per Page< / option >
< option value = "5" { { if eq . QueryRecordCount 5 } } selected { { end } } > 5< / option >
< option value = "10" { { if eq . QueryRecordCount 10 } } selected { { end } } > 10< / option >
< option value = "15" { { if eq . QueryRecordCount 15 } } selected { { end } } > 15< / option >
< option value = "20" { { if eq . QueryRecordCount 20 } } selected { { end } } > 20< / option >
< option value = "25" { { if eq . QueryRecordCount 25 } } selected { { end } } > 25< / option >
< option value = "30" { { if eq . QueryRecordCount 30 } } selected { { end } } > 30< / option >
< option value = "35" { { if eq . QueryRecordCount 35 } } selected { { end } } > 35< / option >
< option value = "40" { { if eq . QueryRecordCount 40 } } selected { { end } } > 40< / option >
< option value = "45" { { if eq . QueryRecordCount 45 } } selected { { end } } > 45< / option >
< option value = "50" { { if eq . QueryRecordCount 50 } } selected { { end } } > 50< / option >
< option value = "70" { { if eq . QueryRecordCount 70 } } selected { { end } } > 70< / option >
< option value = "100" { { if eq . QueryRecordCount 100 } } selected { { end } } > 100< / option >
< option value = "150" { { if eq . QueryRecordCount 150 } } selected { { end } } > 150< / option >
< option value = "200" { { if eq . QueryRecordCount 200 } } selected { { end } } > 200< / option >
< option value = "300" { { if eq . QueryRecordCount 300 } } selected { { end } } > 300< / option >
< / select >
2017-05-02 12:39:53 +02:00
< / div >
< button type = "submit" class = "btn btn-default" > Search for Torrents< / button >
< / form >
< / div >
< / div >
< / nav >
< div class = "container" >
< table class = "table" >
< tr >
2017-05-04 05:24:34 +02:00
< th > {{.Id}}< / th >
2017-05-02 12:39:53 +02:00
< th > Name< / th >
< th > Hash< / th >
< th > Links< / th >
< / tr >
{{ range .Records}}
2017-05-03 08:58:06 +02:00
< tr { { if eq . Status 2 } } class = "remake" { { end } }
{{if eq .Status 3}}class="trusted"{{end}}
{{if eq .Status 4}}class="aplus"{{end}}>
2017-05-04 05:24:34 +02:00
< td > {{.Id}}< / td >
< td > {{.Name}}< / td >
2017-05-02 12:39:53 +02:00
< td > {{.Hash}}< / td >
2017-05-04 05:24:34 +02:00
2017-05-03 08:00:12 +02:00
< td > < a href = "{{.Magnet}}" target = "_blank" title = "Magnet link" > < span class = "glyphicon glyphicon-magnet" aria-hidden = "true" > < / span > < / a >
2017-05-02 12:39:53 +02:00
< / td >
< / tr >
{{end}}
< / table >
< nav aria-label = "Page navigation" >
< ul class = "pagination" >
< li >
2017-05-03 12:06:52 +02:00
< a id = "page-prev" href = "/page/" aria-label = "Previous" >
2017-05-02 12:39:53 +02:00
< span aria-hidden = "true" > « < / span >
< / a >
< / li >
2017-05-03 12:06:52 +02:00
< li > < a id = "page-0" href = "/page/" > < / a > < / li >
< li > < a id = "page-1" href = "/page/" > < / a > < / li >
< li > < a id = "page-2" href = "/page/" > < / a > < / li >
< li > < a id = "page-3" href = "/page/" > < / a > < / li >
< li > < a id = "page-4" href = "/page/" > < / a > < / li >
2017-05-02 12:39:53 +02:00
< li >
2017-05-03 12:06:52 +02:00
< a id = "page-next" href = "/page/" aria-label = "Next" >
2017-05-02 12:39:53 +02:00
< span aria-hidden = "true" > » < / span >
< / a >
< / li >
< / ul >
< / nav >
< / div >
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
< script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" > < / script >
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified JavaScript -->
< script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity = "sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin = "anonymous" > < / script >
2017-05-02 14:27:17 +02:00
2017-05-03 19:45:18 +02:00
<!-- Main Javascript File -->
< script type = "text/javascript" charset = "utf-8" src = "js/main.js" > < / script >
2017-05-02 14:27:17 +02:00
< / body >
2017-05-02 12:39:53 +02:00
< / html >