diff --git a/public/css/g.css b/public/css/g.css index 16cc2976..10335716 100644 --- a/public/css/g.css +++ b/public/css/g.css @@ -43,8 +43,8 @@ th a { color: #7A5C94; } th { border-color: #cbbdd7 !important; } td { border-color: #e6eff4 !important; } -td.tr-se { color: #22A243; } -td.tr-le { color: #E84C4C; } +td.tr-se, .success-text { color: #22A243; } +td.tr-le, .error-text { color: #E84C4C; } .aplus { background: hsla(200, 100%, 50%, 0.2) !important; } .trusted { background: hsla(100, 100%, 50%, 0.2) !important; } diff --git a/public/css/main.css b/public/css/main.css index 918cdc14..d555d2d7 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -424,8 +424,8 @@ th a { color: #6E96AA; } th { border-color: #ddd !important; } td { border-color: #ccc !important; } -td.tr-se { color: #22A243; } -td.tr-le { color: #E84C4C; } +td.tr-se, .success-text { color: #22A243; } +td.tr-le, .error-text { color: #E84C4C; } /* Original Nyaa colors, do NOT change! */ .aplus { background: #60B0F0; } @@ -712,3 +712,6 @@ input.filelist-checkbox:checked + table.table-filelist { .editor-preview-side { top: 110px; } +.error-text, .success-text { + text-align: center; +} diff --git a/public/css/tomorrow.css b/public/css/tomorrow.css index 8b409c56..86342c72 100644 --- a/public/css/tomorrow.css +++ b/public/css/tomorrow.css @@ -37,8 +37,8 @@ th a { color: #c5c8c6; } th, td { border-color: #141517 !important; } -td.tr-se { color: #b5bd68; } -td.tr-le { color: #cc6666; } +td.tr-se, .success-text { color: #b5bd68; } +td.tr-le, .error-text { color: #cc6666; } .aplus { background: hsla(180, 50%, 50%, 0.2) !important; } .trusted { background: hsla(90, 50%, 50%, 0.2) !important; } diff --git a/templates/_profile_edit.html b/templates/_profile_edit.html index 1f27602e..99fb4212 100644 --- a/templates/_profile_edit.html +++ b/templates/_profile_edit.html @@ -1,10 +1,10 @@ {{define "profile_edit_content"}} {{with .UserProfile}} {{ range (index $.FormInfos "infos")}} -
{{ . }}
{{end}} {{ range (index $.FormErrors "errors")}} -{{ . }}
{{end}}{{ . }}
+{{ . }}
{{end}}{{ . }}
+{{ . }}
{{end}} {{ if not (HasAdmin $.User)}}{{ . }}
+{{ . }}
{{end}} {{end}}{{ . }}
+{{ . }}
{{end}}{{ . }}
+{{ . }}
{{end}}{{ . }}
+{{ . }}
{{end}} {{ with .Settings }} {{ if DefaultUserSettings "new_torrent"}} @@ -64,7 +64,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_torrent_email"}} @@ -74,7 +74,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_comment"}} @@ -84,7 +84,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_comment_email"}} @@ -94,7 +94,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_responses"}} @@ -104,7 +104,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_responses_email"}} @@ -114,7 +114,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_follower"}} @@ -124,7 +124,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "new_follower_email"}} @@ -134,7 +134,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "followed"}} @@ -144,7 +144,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{ if DefaultUserSettings "followed_email"}} @@ -154,7 +154,7 @@{{ . }}
+{{ . }}
{{end}} {{end}} {{end}} @@ -163,7 +163,7 @@{{ . }}
+{{ . }}
{{end}} {{ range (index $.FormErrors "status")}} -{{ . }}
+{{ . }}
{{end}} {{end}} diff --git a/templates/upload.html b/templates/upload.html index 595979d6..65e554ac 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -5,7 +5,7 @@