Compare commits

..

No commits in common. "fa825d54a7ccbb69ad8f3000ff3b23b6d7886716" and "e51a1ba525419bf699c2806451b80bb67e0c3603" have entirely different histories.

2 changed files with 5 additions and 18 deletions

View file

@ -226,7 +226,7 @@ func runServer() {
w.Header().Set("Content-Type", "application/opensearchdescription+xml") w.Header().Set("Content-Type", "application/opensearchdescription+xml")
http.ServeFile(w, r, "static/opensearch.xml") http.ServeFile(w, r, "static/opensearch.xml")
}) })
printInfo("Website is enabled.") printInfo("Website functionality enabled.")
} else { } else {
// Redirect all website routes to a "service disabled" handler // Redirect all website routes to a "service disabled" handler
http.HandleFunc("/static/", handleWebsiteDisabled) http.HandleFunc("/static/", handleWebsiteDisabled)
@ -238,7 +238,7 @@ func runServer() {
http.HandleFunc("/image_status", handleWebsiteDisabled) http.HandleFunc("/image_status", handleWebsiteDisabled)
http.HandleFunc("/privacy", handleWebsiteDisabled) http.HandleFunc("/privacy", handleWebsiteDisabled)
http.HandleFunc("/opensearch.xml", handleWebsiteDisabled) http.HandleFunc("/opensearch.xml", handleWebsiteDisabled)
printInfo("Website is disabled.") printInfo("Website functionality disabled.")
} }
if config.NodesEnabled { if config.NodesEnabled {
@ -252,7 +252,7 @@ func runServer() {
func handleWebsiteDisabled(w http.ResponseWriter, r *http.Request) { func handleWebsiteDisabled(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/plain") w.Header().Set("Content-Type", "text/plain")
w.WriteHeader(http.StatusServiceUnavailable) w.WriteHeader(http.StatusServiceUnavailable)
_, _ = w.Write([]byte("The website is currently disabled.")) _, _ = w.Write([]byte("The website functionality is currently disabled."))
} }
func handlePrivacyPage(w http.ResponseWriter, r *http.Request) { func handlePrivacyPage(w http.ResponseWriter, r *http.Request) {

View file

@ -1602,27 +1602,15 @@ body, h1, p, a, input, button {
} }
.fetched_img { .fetched_img {
margin-top: 25px !important; margin-top: 135px !important;
margin-left: 1.2% !important; margin-left: 1.2% !important;
left: 0px !important; left: 0px !important;
} }
.fetched_vid { .fetched_vid {
margin-top: 25px !important;
}
.fetched_dif_videos {
margin-top: 135px !important; margin-top: 135px !important;
} }
.fetched_dif_files{
margin-top: 25px !important;
}
.fetched_dif_images {
margin-top: 25px;
}
.results_settings { .results_settings {
left: 20px; left: 20px;
font-size: 13px; font-size: 13px;
@ -1634,7 +1622,6 @@ body, h1, p, a, input, button {
} }
form.torrent-sort { form.torrent-sort {
margin-top: 35px;
left: 20px; left: 20px;
} }