Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-23 12:21:34 +02:00
committed by GitHub
parent 5ff877526e
commit 0a80a51104
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func main() {
}
log.Printf("Server starting on port %s", port)
log.Printf("Access the application at: http://localhost:%s", port)
log.Printf("Access the application at: http://webportal:%s", port)
log.Fatal(http.ListenAndServe(":"+port, nil))
}
+6 -6
View File
@@ -54,8 +54,8 @@
<!-- Desktop menu -->
<div class="hidden md:flex space-x-6">
<a href="../index.html" class="hover:text-brand-light-blue">Rozcestník</a>
<a href="../evidence-aut" class="hover:text-brand-light-blue">Evidence aut</a>
<a href="webportal" class="hover:text-brand-light-blue">Rozcestník</a>
<a href="webportal/evidence-aut" class="hover:text-brand-light-blue">Evidence aut</a>
<a href="http://ppc-app/pwkweb2/" class="hover:text-brand-light-blue">Objednávka obědů</a>
<a href="http://osticket/" class="hover:text-brand-light-blue">OSticket</a>
<a href="http://kanboard/" class="hover:text-brand-light-blue">Kanboard</a>
@@ -65,8 +65,8 @@
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden px-2 pt-2 pb-3 space-y-1">
<a href="../index.html" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Rozcestník</a>
<a href="../evidence-aut" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Evidence aut</a>
<a href="webportal" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Rozcestník</a>
<a href="webportal/evidence-aut" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Evidence aut</a>
<a href="http://ppc-app/pwkweb2/" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Objednávka obědů</a>
<a href="http://osticket/" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">OSticket</a>
<a href="http://kanboard/" class="block px-3 py-2 rounded-md text-base font-medium hover:text-brand-light-blue">Kanboard</a>
@@ -200,8 +200,8 @@
<div>
<h3 class="text-white text-lg font-semibold mb-4">Rychlé odkazy</h3>
<ul class="space-y-2">
<li><a href="../index.html" class="hover:text-white">Rozcestník</a></li>
<li><a href="../evidence-aut" class="hover:text-white">Evidence aut</a></li>
<li><a href="webportal" class="hover:text-white">Rozcestník</a></li>
<li><a href="webportal/evidence-aut" class="hover:text-white">Evidence aut</a></li>
<li><a href="http://ppc-app/pwkweb2/" class="hover:text-white">Objednávka obědů</a></li>
<li><a href="http://osticket/" class="hover:text-white">Technická podpora</a></li>
<li><a href="/kontakt" class="hover:text-white">Kontakty</a></li>
+4 -4
View File
@@ -188,11 +188,11 @@ func handleSubmit(w http.ResponseWriter, r *http.Request) {
}
func sendEmail(entry TripEntry, parsedDateStart, parsedDateEnd time.Time, czechMonths []string) error {
smtpHost := "smtp.gmail.com"
smtpHost := "mail.pp-kunovice.cz"
smtpPort := 465
sender := "contact.dvorak@gmail.com"
password := "gqkk srpd ybjt rldw"
recipient := "contact.dvorak@gmail.com"
sender := "sluzebnicek@pp-kunovice.cz"
password := "7g}qznB5bj"
recipient := "sluzebnicek@pp-kunovice.cz"
m := gomail.NewMessage()
m.SetHeader("From", sender)