bygdis.fi

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 30f21de0c30568fd01b78f93ee3f0b2aa55aeb21
parent d698c256775b6faf2e98f7347b9f8e515847f750
Author: rob <rob@tarina.org>
Date:   Mon, 12 Oct 2020 13:16:48 +0300

all html files

Diffstat:
Apublic_html/html/addevent.html | 14++++++++++++++
Apublic_html/html/admin.html | 21+++++++++++++++++++++
Apublic_html/html/base.html | 17+++++++++++++++++
Apublic_html/html/base2.html | 14++++++++++++++
Apublic_html/html/base3.html | 27+++++++++++++++++++++++++++
Apublic_html/html/bild.html | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apublic_html/html/bildinfo.html | 22++++++++++++++++++++++
Apublic_html/html/edit.html | 17+++++++++++++++++
Apublic_html/html/event.html | 14++++++++++++++
Apublic_html/html/forgotpass.html | 14++++++++++++++
Apublic_html/html/kiitos.html | 18++++++++++++++++++
Apublic_html/html/login.html | 16++++++++++++++++
Apublic_html/html/nope.html | 8++++++++
Apublic_html/html/ny.html | 14++++++++++++++
Apublic_html/html/old.html | 40++++++++++++++++++++++++++++++++++++++++
Apublic_html/html/protokoll.html | 21+++++++++++++++++++++
Apublic_html/html/register.html | 16++++++++++++++++
Apublic_html/html/remove.html | 16++++++++++++++++
Apublic_html/html/senaste.html | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
Apublic_html/html/tuning.html | 11+++++++++++
Apublic_html/html/upload.html | 17+++++++++++++++++
21 files changed, 443 insertions(+), 0 deletions(-)

diff --git a/public_html/html/addevent.html b/public_html/html/addevent.html @@ -0,0 +1,14 @@ +$def with (kalender) +<div id="container"> + <div id="default"> + <br> + <h2>Lägg till event</h2> + <div id="addevent"> + <form method="POST"> + $:kalender.render() + </form> + </div> + <b><p></p></b> + </div> + </div> +</div> diff --git a/public_html/html/admin.html b/public_html/html/admin.html @@ -0,0 +1,21 @@ +$def with (anslagstavla, saysomething) +<div id="container"> + <div id="default"> + <br> + <h1>Bygdis.fi</h1> + <a href="/event">Event</a> | <a href="/protokoll">Protokoll</a> | <a href="/static/mlinvoice">Fakturera</a> | <a href="/logout">Logga ut</a><br> + <a href="/bilder">Byyns fotoalbum</a> + <br> + <div class="anslagstavla"> + <h4>Säg någå</h4> + <form method="POST"> + $:saysomething.render() + </form> + </div> + $for i in anslagstavla: + <div class=anslagstavla> + <h3>$i.datumtid[8:10] $i.datumtid[5:7] kl. $i.datumtid[10:16]</h3> + <p>$i.post</p></form><form action="/removepost/$i.id" method="post"><input type="submit" value="radera"></form> + </div> + </div> +</div> diff --git a/public_html/html/base.html b/public_html/html/base.html @@ -0,0 +1,17 @@ +$def with (content) +<!doctype html> +<HEAD> + <meta charset="utf-8"> + <title>Hommansby Ungdomsförening</title> + <meta name="description" content="Hommansby Ungdomsförening. Bygdegården." /> + <meta name="viewport" content="width=device-width; initial-scale=1.0;"> + <link rel="stylesheet" href="/static/robstyle.css" type="text/css" rel="stylesheet"/> + <meta name="google-site-verification" content="88dInqkR1qhmPAMVnlopcopq6t_5-6RQ5_VEl5ja6GA" /> +</HEAD> +<body> + +$:content + +<script type="text/javascript" src="../static/scrollcookie.js"></script> +</body> + diff --git a/public_html/html/base2.html b/public_html/html/base2.html @@ -0,0 +1,14 @@ +$def with (content) +<!doctype html> +<HEAD> + <meta charset="utf-8"> + <title>Bygdis.fi | Hommansby Ungdomsförening rf.</title> + <meta name="viewport" content="width=device-width; initial-scale=1.0;"> + <link rel="stylesheet" href="../static/leipuri.css" type="text/css" rel="stylesheet"/> +</HEAD> +<body> + +$:content + +</body> + diff --git a/public_html/html/base3.html b/public_html/html/base3.html @@ -0,0 +1,27 @@ +$def with (content) +<!doctype html> + <head> + <meta name="viewport" content="initial-scale=1.0"> + <meta charset="utf-8"> + <style> + /* Always set the map height explicitly to define the size of the div + * element that contains the map. */ + /* Optional: Makes the sample page fill the window. */ + html, body { + height: 100%; + margin: 0px auto; + padding: 0; + } + #container { + margin: 0px auto; + width: 95%; + } + </style> +</head> + +<body> + +$:content + +</body> + diff --git a/public_html/html/bild.html b/public_html/html/bild.html @@ -0,0 +1,54 @@ +$def with (b, imghash, personer, kform, comments, user, user_likes, likes, user_hates, hates, back_next, text, getdisplayname) +$ imglink = imghash + '.jpeg' +<div id="album"> +<br> +<a href="/bilder#$imghash"><-- tibaks</a> <a href="/bild/$back_next.next"><-- föra</a> <a href="/bild/$back_next.prev">nästa --></a> <a href="/static/bilder/$imglink">full storlek</a> +<br> +<h2>$b.titel</h2> +<a href="/bilder#$imghash"><img id="bild" src="/static/bilder/web/$imglink"></a><br> +<a href="/bilder#$imghash"><-- tryck här elr på bilden för ti far tibaks</a> +<p>📸 <a href="/bilder?search=$b.fotograf">$b.fotograf</a>, år: <a href="/bilder?search=$b.year">$b.year</a>, plats: <a href="/bilder?search=$b.plats">$b.plats</a></p> +<p>Story: $b.beskrivning</p> +<p>Personer: +$for i in personer: + <a href="/bilder?search=$i">$i,</a> +</p> +<p>Om du veit någå kan du <a href="/bildinfo/$imghash#bildinfo">lägg till eller rätta bild info</a>✏️</p> +$if b.beskrivning != '' and b.beskrivning != None or b.personer != '' and b.personer != None: + $ comma = '' + $ moddedby = '' + $for p in text: + $ d = getdisplayname(p.moddedby) + $if d not in moddedby: + $ moddedby += comma + d + $ comma = ', ' + <p>info av $moddedby +$else: + $pass +<p>bild uppladdad av $getdisplayname(b.uppladdare) +$if user_likes: + <p>$likes.likes ❤️ <a href="/bild/$imghash?unlike=$user#comments">ångra tyck</a> 👎 +$else: + <p>$likes.likes ❤️ <a href="/bild/$imghash?like=$user#comments">tyck om bild</a> 👍 +$if user_hates: + <p>$hates.hates ☠️ <a href="/bild/$imghash?unhate=$user#comments">flagga hövlig</a> +$else: + <p>$hates.hates ☠️ <a href="/bild/$imghash?hate=$user#comments">flagga ohövlig</a> +$if user == b.uppladdare: + <a href="/remove/$imghash">ta bort bild</a> +</p> +<div id="comments"> +<form method="POST"> +$:kform.render() +</form> +<br> +$for i in comments: + $if i.user == user and i.user != 'byyssare': + $i.datumtid.strftime('%d-%m-%y %H:%M') $getdisplayname(i.user): $i.comment <a href="/bild/$imghash?delete=$i.id#comments">ta bort</a> + $else: + $i.datumtid.strftime('%d-%m-%y %H:%M') $getdisplayname(i.user): $i.comment + <br> + <br> +</div> +</div> +</div> diff --git a/public_html/html/bildinfo.html b/public_html/html/bildinfo.html @@ -0,0 +1,22 @@ +$def with (infoform, imghash, moddedby, lastmod, allaversioner) +$ imglink = imghash + '.jpeg' +<div id="album"> + <br> + <a href="/bild/$imghash"><-- tibaks</a> + <a href="/bild/$imghash"><img src="/static/bilder/web/$imglink" width=100%"></a> + <a href="/bild/$imghash"><-- tibaks</a> + <div id="default"> + <div id="addevent"> + <form method="POST" id="bildinfo"> + $:infoform.render() + </form> + <br> + <a href="/bild/$imghash"><-- tibaks</a> + <p>Version historik</p> + $for i in allaversioner: + <a href="/bildinfo/$imghash?id=$i.id">$i.lastmod | $i.moddedby</a> + </div> + <b><p></p></b> + </div> + </div> +</div> diff --git a/public_html/html/edit.html b/public_html/html/edit.html @@ -0,0 +1,17 @@ +$def with (gigs) +$var gigs = gigs +<form method="post" enctype="multipart/formdata" id="keikkaform"> +<div id="keikka_add" onkeypress="return checksubmit(event)"> + <br /> + <label>Päivämäärä (pp.kk.vvvv):</label> <input type="text" id="datepicker"> + <br /> + <label>Kuvaus:</label> <input type="text" id="description"> + <br /> + <input type="button" value="Lisää" onclick="addkeikka()"> +</div> +<form> + +<div id="keikka_listing"> +$for i in gigs: + $i.date $i.description <a href="#" onclick="removekeikka($i.id)">Poista</a><br> +</div> diff --git a/public_html/html/event.html b/public_html/html/event.html @@ -0,0 +1,14 @@ +$def with (upcomingevents) +$var upcomingevents = upcomingevents + +<div id="container"> + <div id="default"> + <br> + <h1>Bygdis.fi</h1> + <a href="/admin">Tillbaka</a> | <a href="/addevent">Lägg till</a> | <a href="/logout">Logga ut</a> + $for i in upcomingevents: + <div id=event> + <h4>$i.event</h4>$i.veckodag $i.datumtid[8:10] $i.datumtid[5:7] kl. $i.datumtid[10:16] $i.admin <form action="/removeevent/$i.id" method="post"><input type="submit" value="radera"></form> + </div> + </div> +</div> diff --git a/public_html/html/forgotpass.html b/public_html/html/forgotpass.html @@ -0,0 +1,14 @@ +$def with (forgotpassform, fejl) +<div id="container"> + <div id="default"> + <br> + <h2>Skicka nytt lösenord</h2> + <div id="addevent"> + <form method="POST"> + $:forgotpassform.render() + </form> + <h4>$fejl</h4> + </div> + <a href="/login"><---tibaks</a> + </div> +</div> diff --git a/public_html/html/kiitos.html b/public_html/html/kiitos.html @@ -0,0 +1,18 @@ +$def with (paisto, maara, nimi, katu, postinumero, postitoimipaikka, puhelin, jatkuva, viesti) +<div id="container"> + <div id="default"> + <br> + <h1>Kiitos tilauksesta $nimi!</h1> + <img src="static/surbrod.png" width="200px"><br> + <p>Toimitus: $paisto</p> + <p>Määrä: $maara</p> + <p>Osoite: $katu $postinumero $postitoimipaikka + <p>Älä huoli, lasku tulee leipien mukana.</p> + <br> + Yhteystiedot:<br> + mail: info@reikaleipa.fi puh: 0505968687 + <br> + <br> + <a href="http://reikaleipa.fi/">Takaisin</a> + </div> +</div> diff --git a/public_html/html/login.html b/public_html/html/login.html @@ -0,0 +1,16 @@ +$def with (loginform, fejl, link) +<div id="container"> + <div id="default"> + <br> + <h2>Logga in</h2> + <div id="addevent"> + <form method="POST"> + $:loginform.render() + </form> + <h4>$fejl</h4> + $if link == True: + <a href="/forgotpass">ja ha glöömi å vill ha nyyt lösen</a> + </div> + <b><p></p></b> + </div> +</div> diff --git a/public_html/html/nope.html b/public_html/html/nope.html @@ -0,0 +1,8 @@ +<div id="container"> + <div id="default"> + <br> + <h2>Oho, nu for no någå fejl, pröva pånytt!</h2> + <a href="javascript:history.back()">Gå tibax</a> + </div> + </div> +</div> diff --git a/public_html/html/ny.html b/public_html/html/ny.html @@ -0,0 +1,14 @@ +$def with (namn, url) +<div id="container"> +<div id="default"> +<br> +<h2>Välkommen $namn!</h2> +<p>Du är nu inlogga!.</p> +$if url != '': + <a href="$url">Fortsätt ---></a> +$else: + <a href="/bilder">Fortsätt ---></a> +<b><p></p></b> +</div> +</div> +</div> diff --git a/public_html/html/old.html b/public_html/html/old.html @@ -0,0 +1,40 @@ +$def with (upcomingevents) +$var upcomingevents = upcomingevents +<div id="container"> + <div id="default"> + <br> + <h1>Bygdis.fi</h1> + <h4><a href="#styrelsen">Styrelsen</a> | <a href="#bokningar">Bokningar</a></h4> + $for i in upcomingevents: + <div id=event> + <h4>$i.event</h4> + $i.veckodag $i.datumtid + </div> + <div id="styrelsen"> + <h1>Styrelsen</h1> + Heidi Holmsten | ordförande | <a href="tel:0451269187">0451269187</a><br> + Robin Bäckman | sekreterare | <a href="tel:0505968687">0505968687</a><br> + Fabio Moretti, Frieda Ramstedt, Johanna Granqvist, Lars-Erik Kullström, Mia Wigren<br> + </div> + <div id="bokningar"> + <h1>Bokningar</h1> + Bokningar tas emot på <a href="tel:0505968687">0505968687</a><br> + <h2>Veckoslut</h2> + fredagkväll till söndag eftermiddag</b><br> + medlemmar 180 €<br> + icke medlemmar 300 €<br> + <h3>För en dag (12h)</h3> + medlemmar 50 €<br> + icke medlemmar 100 €<br> + <h3>Städning</h3> + Städning kan skötas av en städfirma om hyresgästen så önskar då faktureras hyresgästen enligt städfirmans avgift. + <h3>Bordsdukar och löpare</h3> + 8€/kg (2-3 vita dukar går på 1kg) + <br>Hommansby Uf sköter <b>alltid</b> om tvättning av dukarna. + <h3>Uthyrning av jaktföreningens kylrum</h3> + 30€/veckoslut + <h3>Marthornas mat- och kaffeservis</h3> + 20€/servis + </div> + </div> +</div> diff --git a/public_html/html/protokoll.html b/public_html/html/protokoll.html @@ -0,0 +1,21 @@ +$def with (year, years, protokoll, view) +$var protokoll = protokoll +$var view = view +<div id="container"> + <div id="default"> + <br> + <a href="/admin">Tillbaka</a> | <a href="/logout">Logga ut</a><br><br> + $for i in years: + <a href="/protokoll?year=$i">$i</a> | + <br> + <br> + $ p = 0 + $for i in protokoll: + <a href="/protokoll?year=$year&nr=$p">$i</a> | + $ p += 1 + <br> + <br> + <a href="/static/pdf/uf-protokoll.pdf">Ladda ner som pdf</a> + $:view + </div> +</div> diff --git a/public_html/html/register.html b/public_html/html/register.html @@ -0,0 +1,16 @@ +$def with (loginform, formfail) +<div id="container"> + <div id="default"> + <br> + <h2>Registreer te mesama!</h2> + <p>Tu måst registreer te för att kun sät opp bilder å anat plåtär. men ja ha ju registreer mej ridan <a href="/login">logg in tå</a></p> + <div id="addevent"> + <form method="POST"> + $:loginform.render() + <h2>$formfail</h2> + </form> + </div> + <a href="javascript:history.back()"><--- tibaks</a> + </div> + </div> +</div> diff --git a/public_html/html/remove.html b/public_html/html/remove.html @@ -0,0 +1,16 @@ +$def with (namn, url) +<div id="container"> +<div id="default"> +<br> +<h2>Är du säker att du vill ta bort bilden??!</h2> +<p>All info om bilden försvinner också!.</p> + +$ imageurl = namn + '.jpeg' +<img src="/static/bilder/thumb/$imageurl"> +<br> +<h4><a href="/remove/$namn?sure=yes">Jooooo!</a></h4> +<h4><a href="$url">Näääää!</a></h4> +<b><p></p></b> +</div> +</div> +</div> diff --git a/public_html/html/senaste.html b/public_html/html/senaste.html @@ -0,0 +1,52 @@ +$def with (bilder, comments, binfo, getdisplayname) +<div id="album"> +<br> +<h4><a href="/bilder"><--tibaks</a></h4> +<br> +<h4>Här kan tu följ mää allt som häänder op siidåna!</h4> +<p id="footer">tryyck opa webläsarns eegi baakååt knapp om du vill hii tibaks sidan ba du siit på nån länk</p> +<br> +$ get_info = True +$ get_bild = True +$ get_comment = True + +$for c in range(100): + $if get_comment == True: + $for p in comments: + $ commentdate = p.datumtid.strftime('%s') + $break + $else: + $ commentdate = '' + $if get_bild == True: + $for a in bilder: + $ imageurl = a.filename + '.jpeg' + $ bilddate = a.uploaddate.strftime('%s') + $break + $else: + $ bilddate = '' + $if get_info == True: + $for i in binfo: + $ imageurl = i.filename + '.jpeg' + $ infodate = i.lastmod.strftime('%s') + $break + $else: + $ infodate = '' + $if infodate == '' and bilddate == '' and commentdate == '': + $break + $ get_info = False + $ get_bild = False + $ get_comment = False + $ d = max(infodate,bilddate,commentdate) + $if d == infodate: + $ get_info = True + <p><a href="/bild/$i.filename">$i.lastmod.strftime('%d-%m-%y %H:%M') $i.moddedby lade till bildinfo $i.titel</a></p> + $if d == bilddate: + $ get_bild = True + <p><a href="/bild/$a.filename">$a.uploaddate.strftime('%d-%m-%y %H:%M') $a.uppladdare lade till bild $a.titel</a></p> + $if d == commentdate: + $ get_comment = True + <p><a href="/bild/$p.filename">$p.datumtid.strftime('%d-%m-%y %H:%M') $p.user kommenterade $p.comment</a></p> + +<br> +<p id="footer">hemsiidåna duunade mää 🍒 av bebin rockman 😎</p> +</div> diff --git a/public_html/html/tuning.html b/public_html/html/tuning.html @@ -0,0 +1,11 @@ +$def with (tuningform, formfail, user) +<div id="container"> + <div id="default"> + <h2>Tuuna ditt konto $user!</h2> + <form method="POST"> + $:tuningform.render() + </form> + <h2>$formfail</h2> + <a href="/bilder"><--tibaks</a> + </div> +</div> diff --git a/public_html/html/upload.html b/public_html/html/upload.html @@ -0,0 +1,17 @@ +<div id="container"> + <div id="default"> + <br> + <h2>Lägg op ein bild</h2> + <p>Destu rutigare bild destu betär. Kontakta rob@bygdis.fi om he e problem eller om du har bilder men inga scanner.</p> + <div id="addevent"> + <form method="POST" enctype="multipart/form-data" action=""> + Image(jpeg): <input type="file" name="imgfile"/> <br> + <br/> + <input name="upload", type="submit" value="upload"/> + </form> + <br> + <br> + <a href="/bilder"><-- tibaks</a> + </div> + </div> +</div>