Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

224 commits

Auteur SHA1 Message Date
akuma06
c564301e35 Update css for refactor 2017-07-12 12:04:20 +10:00
kilo
e6847595cf Update flags.css 2017-07-12 12:04:20 +10:00
kilo
12536c9c68 even BETTER better flag 2017-07-12 12:04:20 +10:00
kilo
0319623355 Delete flag_catalan.png 2017-07-12 12:04:20 +10:00
kilo
7088b353e4 better flag 2017-07-12 12:04:20 +10:00
kilo
af2e21058a Delete catalan.png 2017-07-12 12:04:20 +10:00
kilo
1dd824384e catalan flag 2017-07-12 12:04:20 +10:00
kilo
a8543f7e3f Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
384a1b7318 Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
1ed125a40f not used since long ago 2017-07-12 12:04:20 +10:00
kilo
8fbeeb81d8 Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
27b5e77d1e Update main.css 2017-07-11 18:33:38 +10:00
kilo
9830ac76dd spacing after description 2017-07-11 18:33:27 +10:00
kilo
fa0ca6e488 Update main.css 2017-07-11 18:33:27 +10:00
kilo
57bfbff566 Update main.css 2017-07-10 22:11:35 +10:00
kilo
438a490f68 Update main.css 2017-07-10 22:11:35 +10:00
kilo
83c352c724 Update main.css (#1150) 2017-07-10 15:36:37 +10:00
kilo
61a267af43 Better alignement in user torrent page (#1147)
* Update main.css

* Update torrents.jet.html
2017-07-10 15:13:11 +10:00
kilo
ce1d9d8cec Better padding in user settings (#1144)
* Update main.css

* Update main.css
2017-07-10 15:12:58 +10:00
kilo
c580cfaffe First few fixes of header & refine changes (#1146)
* make refine stick to search bar

* Update search.jet.html
2017-07-10 14:57:59 +10:00
kilo
f5a86525d0 Header & refine dropdown changes (#1130)
* add button in header & remove two options from header search

* dont show refine button on small screens

* remove the div in there

* to put it there and add display: none when needed

* add refine class for future js code

* add function in code to toggle refine

* more html changes

* spacing changes

* add limit & show trusted and all that stuff to refine

* add margin

* obligatory css changes

* forgot {{ }} for a variable name

* add function on onclick refine button

* wrong file

* put onclick & translation on button
2017-07-10 13:57:59 +10:00
kilo
90fa1ad922 Remove unwanted torrent name spacing in user torrents (#1143)
* Update main.css

* might as well remove the now unused category
2017-07-10 13:57:07 +10:00
kilo
5a97ac8830 Update main.css (#1142) 2017-07-10 13:57:00 +10:00
kilo
2a119e6537 make size & date centered in user torrent view (#1140)
* css changes

* Update main.css

* Update torrents.jet.html
2017-07-10 13:55:49 +10:00
kilo
baeb405490 too lazy to make a title (#1138)
* preliminary work

* Update main.css
2017-07-10 13:55:29 +10:00
kilo
efafd2cbfb Add required !important for css to apply 2017-07-09 16:56:23 +02:00
akuma06
3c4857cc8d Merge branch 'refactor' into second-batch 2017-07-09 16:51:28 +02:00
kilo
1b2d16ba78 Fix displaying of user-torrents (#1132)
* Update torrents.jet.html

* Update main.css

* Update main.css

* Update torrents.jet.html

* Update main.css

* Update torrents.jet.html
2017-07-10 00:36:36 +10:00
kilo
a81453ab41 Fix display of multiple flags on torrent viewing page (#1128)
* Update main.css

* whoopsies
2017-07-10 00:35:48 +10:00
kilo
2943fdf6e1 Add small "language is not mandatory" message (#1129)
* add class in css

* html change

* Update en-us.all.json

* Update fr-fr.all.json
2017-07-09 12:19:59 +10:00
kilo
c68b93a33b Update main.css 2017-07-08 22:11:38 +02:00
kilo
efe7421ad0 Update main.css 2017-07-08 21:12:52 +02:00
akuma06
c9643ffa29 Merge pull request #1118 from Kiloutre/patch-7
Make categories borderless and add border through css refactor
2017-07-07 19:26:34 +02:00
kilo
1cb7c85728 Update main.css 2017-07-07 17:59:20 +02:00
kilo
77566b7de7 Update main.css 2017-07-07 02:54:31 +02:00
kilo
f340314d62 Update main.css (#1109) 2017-07-05 15:31:06 +10:00
akuma06
f7abfc53db Merge branch 'refactor' into pr/1089 2017-07-05 02:28:48 +02:00
kilo
6d5181a024 Update main.css 2017-07-03 16:32:30 +02:00
kilo
d1f5fe99e6 margin for flags in view.html 2017-07-01 14:15:38 +02:00
kilo
2ecc6d7019 change width: 45% to max-width: 470px 2017-07-01 02:25:30 +02:00
kilo
8a3a7f9946 more css changes 2017-07-01 02:18:11 +02:00
kilo
5c108eadd5 position improvements 2017-06-30 23:05:39 +02:00
kilo
789f97d26b change pictures to label (CSS) 2017-06-30 22:43:02 +02:00
kilo
6fd17a62f4 flag spacing (margin) 2017-06-30 22:00:52 +02:00
kilo
b4529f6312 css changes 2017-06-30 21:59:41 +02:00
kilo
fae254c404 <kilo> u want me to re-make the PR but on the refactor branch, right? (#1087)
* margin-top removal

* flag-other background: none

* torrent language on other - upload.htl

* torrent language edit.html

* torrent language admin edit
2017-06-29 22:16:21 +10:00
akuma06
5991a21818 First batch of changes for the refactor (#1078)
* First batch of changes for the refactor

Added the support of gin in routes and other services/utils
Begining implementation of JetHTML

* Remove os folder

* Move scrapers to own repo

* Second batch of changes

All .jet.html are the working templates.
You can now test this PR, the index Page and upload works. If you want to complete the other html templates, you're welcome

* Move captcha to util

* Move uploadService to utils

* Use govalidator instead of regex

* Third batch of changes

All the front end should as previously.
I also fixed some minor things unrelated to the refactor (mostly style issues on static pages)
Now errors can be accessed by importing the "errors" helpers and using the `yield errors(name="xxx")` command in templates.
Same for infos.
Templates are now more hierarchized with a base template "base.jet.html" which is extended depending on the context in "index_site" or "index_admin" layouts. Those layouts are extended than in every pages.
Other helpers are captcha to render a captcha `yield captcha(captchaid="xxx")`
And also csrf, with the command `yield csrf_field()`
To translate, you don't have anymore to do `call $.T "xxx"`, you just have to do `T("xxx")`.

Pages for the website part are in folders in the folder "templates/site". Pages for the admin part are in "templates/admin". Layouts are separated in "templates/layouts". Helpers and menu are in "templates/layouts/helpers" and "templates/layouts/menu". Error pages should be put in "templates/errors"

* Added test on templates

When adding a new template, you have to tell to template_test.go, the context of the new template (if it doesn't use the common context)

* Panel admin works

Now the templating part should work. The PR can now be fully tested.

I think we should push the templating PR  and do the routes/controllers/removal of services in another branch. So we know that this one is functional

* Updated dependencies

* Fixed test for modelhelper

* Fix testing for commentlist

* Fix travis :')

* Just renamed router and removed network

* Applying same SEO fix

* Update form_validator.go

* Added back regexp package
2017-06-28 21:42:38 +10:00
kilo
7788a018f5 Prettier color for g's sukebei user menu-button when hovered (#1060) 2017-06-24 09:05:33 +10:00
kilo
a47f89cd0b Make flags overlap category icon (#1059)
* Prettier flag position

* flag overlap category icon

* HTML changes

* fix css that didn't apply properly & colspan not always being there

* Update main.css

* Update home.html

* Update home.html

* Update main.css

* Update main.css
2017-06-24 09:05:21 +10:00
kilo
3f17da2c9d Better color for .h-user when hovered
And text hover color changes for red buttons
2017-06-23 10:05:30 +02:00