2017-05-10 08:07:28 +02:00
{{define "title"}}{{.Torrent.Name}}{{end}}
2017-06-17 00:49:57 +02:00
{{define "contclass"}}cont-view{{end}}
2017-06-12 01:14:26 +02:00
{{define "additional_header"}}
< link rel = "stylesheet" href = "/css/flags/flags.min.css" >
< link rel = "stylesheet" href = "/css/flags/custom_flags.css" >
{{end}}
2017-05-26 03:53:18 +02:00
{{ define "make_treeview" }}
{{ range $index, $folder := .Folder.Folders }}
{{ $folderId := (print $.IdentifierChain "_" $index) }}
< tr class = "tr-filelist tr-folder" style = "--nest-level: {{ $.NestLevel }}" >
< td > < label for = "contents_{{$folderId}}" > {{$folder.FolderName}}< / label > < / td >
< td > {{ fileSize $folder.TotalSize $.T }}< / td >
< / tr >
< tr >
< td colspan = "2" >
< input id = "contents_{{$folderId}}" type = "checkbox" class = "filelist-checkbox" >
< table class = "table-filelist" >
{{ template "make_treeview" (makeTreeViewData $folder (inc $.NestLevel) $.T $folderId) }}
< / table >
< / td >
< / tr >
{{ end }}
{{ range .Folder.Files }}
< tr class = "tr-filelist tr-file" style = "--nest-level: {{ $.NestLevel }}" >
< td > {{.Filename}}< / td >
< td > {{fileSize .Filesize $.T}}< / td >
< / tr >
{{ end }}
{{ end }}
2017-05-10 08:07:28 +02:00
{{define "content"}}
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< div style = "text-align: left;" class = "box" >
2017-05-10 21:46:34 +02:00
{{with .Torrent}}
2017-05-20 17:01:13 +02:00
{{ range (index $.FormErrors "errors")}}
2017-06-05 20:25:03 +02:00
< p class = "error-text" > {{ . }}< / p >
2017-05-20 17:01:13 +02:00
{{end}}
{{ range (index $.Infos "infos")}}
2017-06-05 20:25:03 +02:00
< p class = "success-text" > {{ . }}< / p >
2017-05-20 17:01:13 +02:00
{{end}}
2017-05-25 02:20:30 +02:00
< div id = "torrent-name" class = "{{if eq . Status 2 } } remake { { end } }
{{if eq .Status 3}}trusted{{end}}
{{if eq .Status 4}}aplus{{end}}">
< p style = "text-align: center;" class = "torrent-hr" > {{.Name}}< / p >
< / div >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< br >
< table >
< tr class = "torrent-info-row" >
2017-05-27 03:55:46 +02:00
< td class = "torrent-info-td torrent-info-label" > {{ call $.T "category" }}:< / td > < td class = "torrent-info-td torrent-info-data" style = "padding:0" > < a href = "{{$.URL.Parse (printf " / search ? c = %s_%s" . Category . SubCategory ) } } " > {{ if Sukebei}}{{ call $.T (CategoryName .Category .SubCategory) }}{{else}}{{ call $.T (CategoryName .Category .SubCategory) }}{{end}}< / a > < br > < / td >
2017-05-27 14:14:14 +02:00
< td class = "torrent-info-td torrent-info-label" > {{ call $.T "date" }}:< / td > < td class = "torrent-info-td date-full" > {{.Date}}< / td >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / tr >
< tr class = "torrent-info-row" >
2017-06-16 00:57:52 +02:00
< td class = "torrent-info-td torrent-info-label" > {{ call $.T "uploaded_by" }}:< / td > < td class = "torrent-view-td torrent-info-data" > {{ if ne .OldUploader ""}}{{.OldUploader}}{{else}}{{ genUploaderLink .UploaderID .UploaderName .Hidden }}{{end}}< / td >
2017-05-27 14:14:14 +02:00
< td class = "torrent-info-td torrent-info-label" > {{call $.T "seeders"}}:< / td > < td class = "tr-se torrent-info-td" > {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Seeders}}{{end}}< / td >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / tr >
< tr class = "torrent-info-row" >
2017-06-21 03:28:48 +02:00
< td class = "torrent-info-td torrent-info-label" > {{ call $.T "website_link" }}:< / td > < td class = "torrent-view-td torrent-info-data" > {{if ne .WebsiteLink ""}}< a href = "{{.WebsiteLink}}" > {{.WebsiteLink}}< / a > {{else}}N/A{{end}}< / td >
2017-05-27 14:14:14 +02:00
< td class = "torrent-info-td torrent-info-label" > {{call $.T "leechers"}}:< / td > < td class = "tr-le torrent-info-td" > {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Leechers}}{{end}}< / td >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / tr >
< tr class = "torrent-info-row" >
2017-05-27 03:55:46 +02:00
< td class = "torrent-info-td torrent-info-label" > {{call $.T "hash"}}:< / td > < td style = "font-family: monospace;" class = "torrent-view-td torrent-info-data" > {{.Hash}}< / td >
2017-05-31 00:36:00 +02:00
< td class = "torrent-info-td torrent-info-label" > {{call $.T "completed"}}:< / td > < td class = "torrent-info-td" > < b > {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Completed}}{{end}}< / b > < / td >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / tr >
< tr class = "torrent-info-row" >
< td class = "torrent-info-td torrent-info-label" > {{call $.T "size"}}:< / td > < td class = "torrent-view-td torrent-info-data" > {{ fileSize .Filesize $.T }}< / td >
2017-05-27 14:14:14 +02:00
< td class = "torrent-info-td torrent-info-label" > {{call $.T "last_scraped"}}< / td > < td class = "torrent-info-td{{if not .LastScrape.IsZero}} date-full" > {{formatDateRFC .LastScrape}}{{else}}">{{call $.T "unknown"}}{{end}}< / td >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / tr >
2017-06-12 01:14:26 +02:00
{{if ne (FlagCode .Language) ""}}
< tr class = "torrent-info-row" >
< td class = "torrent-info-td torrent-info-label" > {{call $.T "torrent_language"}}:< / td > < td class = "tr-flag torrent-view-td torrent-info-data" > < img src = "/img/blank.gif" alt = "{{ LanguageName .Language $.T }}" class = "flag flag-{{FlagCode .Language}}" title = "{{ LanguageName .Language $.T }}" > < / img > {{ LanguageName .Language $.T }}< / td >
< / tr >
{{end}}
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / table >
2017-05-25 02:20:30 +02:00
< div class = "torrent-buttons" >
2017-06-20 15:15:26 +02:00
< a href = "{{.Magnet}}" class = "form-input btn-green download" style = "float:left;height: auto;margin-right: 0.5em;" > < div class = "icon-magnet" > < / div > {{call $.T "magnet_link"}}< / a >
2017-05-28 00:47:41 +02:00
{{ if ne .TorrentLink ""}}
2017-06-20 15:15:26 +02:00
< a href = "{{.TorrentLink}}" class = "form-input download" style = "float:left;height: auto;" > < div class = "icon-floppy" > < / div > {{call $.T "torrent_file"}}< / a >
2017-05-28 00:47:41 +02:00
{{end}}
2017-05-25 02:20:30 +02:00
{{ if gt $.User.ID 0}}
2017-06-06 00:06:52 +02:00
< a id = "reportPopup" href = "#" class = "form-input" > {{ call $.T "report_btn" }}< / a >
2017-05-30 01:15:50 +02:00
{{ if HasAdmin $.User}}
2017-06-06 16:32:24 +02:00
< a href = "{{ genRoute " mod_tdelete " } } ? id = {{ . ID } } " class = "form-input btn-red" onclick = "if (!confirm('{{ call $.T " are_you_sure " } } ' ) ) return false ; " > {{ call $.T "delete" }}< / a >
< a href = "{{ genRoute " mod_tedit " } } ? id = {{ . ID } } " class = "form-input btn-orange" > {{ call $.T "edit" }}< / a >
2017-06-06 00:36:31 +02:00
{{ else if CurrentUserIdentical $.User .UploaderID }}
2017-06-06 16:32:24 +02:00
< a href = "{{ genRoute " user_torrent_delete " } } ? id = {{ . ID } } " class = "form-input btn-red" onclick = "if (!confirm('{{ call $.T " are_you_sure " } } ' ) ) return false ; " > {{ call $.T "delete" }}< / a >
< a href = "{{ genRoute " user_torrent_edit " } } ? id = {{ . ID } } " class = "form-input btn-orange" > {{ call $.T "edit" }}< / a >
2017-05-30 01:15:50 +02:00
{{end}}
2017-06-06 00:06:52 +02:00
{{end}}
2017-06-20 15:15:26 +02:00
< div style = "clear:both;" > < / div >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / div >
< p class = "torrent-hr" > {{call $.T "description"}}< / p >
{{ if ne .Description ""}}
2017-05-26 18:16:45 +02:00
< div id = "description-box" class = "torrent-info-box" > {{.Description}}< / div >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
{{else}}
2017-05-27 03:55:46 +02:00
< p > {{ call $.T "no_description" }}< / p >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
{{end}}
2017-05-26 03:53:18 +02:00
< input type = "checkbox" id = "show-filelist" >
< label class = "torrent-hr filelist-control" for = "show-filelist" > {{call $.T "files"}}< / label >
2017-05-27 03:55:46 +02:00
< div class = "torrent-info-box" id = "filelist" >
{{ if gt (len .FileList) 0 }}
{{/* how do i concat lol */}}
2017-05-27 14:14:14 +02:00
< table class = "table-filelist" >
2017-05-27 03:55:46 +02:00
< thead >
2017-06-06 04:46:44 +02:00
< th style = "width: 80%" > {{call $.T "file_name"}}< / th >
2017-05-27 03:55:46 +02:00
< th > {{call $.T "size"}}< / th >
< / thead >
< tbody >
{{ template "make_treeview" (makeTreeViewData $.RootFolder 0 $.T "root") }}
< / tbody >
< / table >
2017-05-24 16:13:56 +02:00
{{ else }}
2017-05-27 03:55:46 +02:00
< p > {{ call $.T "no_files" }}< / p >
{{ end }}
< / div >
2017-05-24 16:13:56 +02:00
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< p class = "torrent-hr" > {{call $.T "comments"}}< / p >
{{range $index, $element := .Comments}}
< div class = "torrent-info-box comment-box" >
2017-06-01 23:17:36 +02:00
< span class = "comment-index" > < a href = "#comment_{{inc $index}}" > #{{inc $index}}< / a > < small style = "padding-left: 4px;" class = "date-short" > {{formatDateRFC .Date}}< / small > < / span >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< p > {{.Username}}< / p >
< p > {{.Content}}< / p >
< / div >
{{end}}
{{end}}
< div style = "margin-top: 10px" class = "torrent-info-box" >
< form method = "post" >
2017-05-29 17:07:18 +02:00
{{ block "csrf_field" $ }}{{end}}
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< div class = "comment-form" >
< div class = "comment-text" >
2017-05-25 14:29:39 +02:00
< h3 > {{ if gt .User.ID 0}} {{call $.T "submit_a_comment_as_username" .User.Username}} {{else}} {{call $.T "submit_a_comment_as_anonymous"}} {{end}}< / h3 >
< textarea style = "height: 10rem;" placeholder = "サンキュー" name = "comment" class = "form-input up-input" > < / textarea >
< / div >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< div class = "comment-captcha" >
{{block "captcha" (makeCaptchaData .CaptchaID $.T)}}{{end}}
2017-05-20 12:45:27 +02:00
< / div >
2017-06-14 12:10:03 +02:00
< button type = "submit" class = "form-input up-btn" > {{call $.T "submit" }}< / button >
2017-05-11 03:00:57 +02:00
< / div >
Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* Change layout on torrent table, using grids.
* Remove Bootstrap and Jquery, and create basic nav
* More improvements to navbar, as well as work on _badgemenu
* Complete navbar HTML, obviously it still looks horrendous
* HOLY FUCK INDEX IS /DONE/
* DO UPLOAD PAGE, DELETE OLD SHITTY CSS
* Complete login page
* Begin work on profile page
* fucking git, man
* Damn, that looks sexy
* Complete login and register pages, include very minimal grid system, and delete all of view template
* Do view page!
* Finish view even more
* Fix dates and filesizes in torrent table
* Improve comment/captcha input
* Actually add magnet and torrent buttons
* Add open-iconic instead of fontawesome
* Improve user side-panel
* Rename Category_* to CategoryName
* Beginning to finish up
* Implement themes and add basic mobile support to front page
* Fix some slight color errors
* Fix captcha on dark
* magnet and torrent links on view
2017-05-24 06:20:51 +02:00
< / form >
< / div >
< / div >
2017-06-06 00:06:52 +02:00
{{ if gt $.User.ID 0 }}
<!-- Modal -->
< div id = "modal_mod_tools" class = "modal" >
<!-- Modal content -->
< div class = "modal-content" >
< form method = "post" action = "/report/{{$.Torrent.ID}}" >
< div class = "modal-header" >
< span class = "close" > × < / span >
< h2 > {{ call $.T "report_torrent_number" (print $.Torrent.ID) }}< / h2 >
< / div >
< div class = "modal-body" >
< h4 > {{ call $.T "report_type" }}< / h4 >
{{ template "csrf_field" $ }}
< input type = "radio" name = "report_type" value = "illegal_content" id = "illegal" required > < label for = "illegal" > {{ call $.T "illegal_content" }}< / label > < br / >
< input type = "radio" name = "report_type" value = "spam_garbage" id = "spam" required > < label for = "spam" > {{ call $.T "spam_garbage" }}< / label > < br / >
< input type = "radio" name = "report_type" value = "wrong_category" id = "wrongcat" required > < label for = "wrongcat" > {{ call $.T "wrong_category" }}< / label > < br / >
< input type = "radio" name = "report_type" value = "duplicate_deprecated" id = "dup" required > < label for = "dup" > {{ call $.T "duplicate_deprecated" }}< / label > < br / >
2017-06-14 12:10:03 +02:00
< div class = "comment-captcha" >
2017-06-06 00:06:52 +02:00
{{template "captcha" (makeCaptchaData $.CaptchaID $.T)}}
2017-06-14 12:10:03 +02:00
< / div >
2017-06-06 00:06:52 +02:00
< / div >
< div class = "modal-footer" >
< span > < button id = "confirm_changes" type = "submit" > {{ call $.T "yes"}}< / button >
< button class = "close" onclick = "Modal.CloseActive();" > {{ call $.T "no"}}< / button > < / span >
< h3 > {{ call $.T "are_you_sure" }} < / h3 >
< / div >
< / form >
< / div >
< / div >
{{end}}
2017-05-24 16:13:56 +02:00
{{end}}
2017-06-06 00:06:52 +02:00
{{ define "footer_js"}}
< script type = "text/javascript" src = "{{ $.URL.Parse " / js / modal . js " } } " > < / script >
< script type = "text/javascript" >
// Modal initialization
Modal.Init({
elements: document.getElementsByClassName("modal"),
button: "#reportPopup"
});
< / script >
2017-06-06 00:36:31 +02:00
{{end}}