beta #4
No files matched your search
@@ -0,0 +1,126 @@
|
||||
import sys
|
||||
import json
|
||||
import logging
|
||||
from logging import config
|
||||
import yaml
|
||||
from flask import Flask, render_template, redirect, request, url_for
|
||||
from thsf.backend import Backend
|
||||
from thsf.schedule import Schedule
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Configuration
|
||||
# ------------------------------------------------------------------------------
|
||||
class AppConfig:
|
||||
""" Flask application config """
|
||||
CONFIG_FILENAME = "config.yml"
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Application
|
||||
# ------------------------------------------------------------------------------
|
||||
logger = logging.getLogger('wsgi')
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Local configuration
|
||||
# ------------------------------------------------------------------------------
|
||||
app.config.from_object(__name__ + '.AppConfig')
|
||||
try:
|
||||
with open(app.config["CONFIG_FILENAME"], mode="r", encoding="utf-8") as local_config_file:
|
||||
app.local_config = yaml.load(local_config_file, Loader=yaml.SafeLoader)
|
||||
app.config["SECRET_KEY"] = app.local_config["app"]["secret_key"]
|
||||
app.config["LANGUAGES"] = app.local_config["app"]["languages"]
|
||||
config.dictConfig(app.local_config["log"])
|
||||
backend = Backend(url=app.local_config["pretalx"]["url"],
|
||||
apiprefix=app.local_config["pretalx"]["apiprefix"],
|
||||
apikey=app.local_config["pretalx"]["apikey"])
|
||||
schedule = Schedule()
|
||||
except Exception as err:
|
||||
logger.critical("[{}] {}".format(err.__class__, str(err)))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Tools
|
||||
# ------------------------------------------------------------------------------
|
||||
@app.errorhandler(404)
|
||||
def page_not_found(err):
|
||||
return redirect(url_for('index'))
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Routes
|
||||
# ------------------------------------------------------------------------------
|
||||
@app.route('/favicon.ico', methods=['GET'])
|
||||
def favicon():
|
||||
return redirect(url_for('static', filename='images/favicon.png'))
|
||||
|
||||
|
||||
@app.route('/', methods=['GET'])
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
@app.route('/planning', methods=['GET'])
|
||||
def planning():
|
||||
slots = backend.get(endpoint=f"events/{app.local_config['pretalx']['event']}/schedules/{app.local_config['pretalx']['schedule']}").json()
|
||||
# schedule.set_slots(slots["slots"])
|
||||
return render_template("planning.html", slots=slots["slots"])
|
||||
# return "toto"
|
||||
# for slot in sched["slots"]:
|
||||
# schedule.add_slot(slot)
|
||||
# return schedule.df.to_html()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@app.route('/concerts', methods=['GET'])
|
||||
def concerts():
|
||||
return "concerts"
|
||||
|
||||
|
||||
@app.route('/djsets', methods=['GET'])
|
||||
def djsets():
|
||||
return "djsets"
|
||||
|
||||
|
||||
@app.route('/exhibitions', methods=['GET'])
|
||||
def exhibitions():
|
||||
return "exhibitions"
|
||||
|
||||
|
||||
@app.route('/lighttalks', methods=['GET'])
|
||||
def lighttalks():
|
||||
return "lighttalks"
|
||||
|
||||
|
||||
@app.route('/paneldiscussions', methods=['GET'])
|
||||
def paneldiscussions():
|
||||
return "paneldiscussions"
|
||||
|
||||
|
||||
@app.route('/screenings', methods=['GET'])
|
||||
def screenings():
|
||||
return "screenings"
|
||||
|
||||
|
||||
@app.route('/talks', methods=['GET'])
|
||||
def talks():
|
||||
return "talks"
|
||||
|
||||
|
||||
@app.route('/workshops', methods=['GET'])
|
||||
def workshops():
|
||||
return "workshops"
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# -- Main
|
||||
# ------------------------------------------------------------------------------
|
||||
if __name__ == '__main__':
|
||||
app.run(host='127.0.0.1', port=5000, debug=True)
|
||||
@@ -0,0 +1,15 @@
|
||||
import requests
|
||||
import logging
|
||||
|
||||
class Backend:
|
||||
def __init__(self, url, apiprefix, apikey):
|
||||
self.url = url
|
||||
self.apiprefix = apiprefix
|
||||
self.apikey = apikey
|
||||
self.session = requests.Session()
|
||||
|
||||
def get(self, endpoint, params=None):
|
||||
url = f"{self.url}/{self.apiprefix}/{endpoint}"
|
||||
headers = {"Authorization": f"Token {self.apikey}",
|
||||
"Accept": "application/json"}
|
||||
return self.session.get(url, params=params, headers=headers)
|
||||
@@ -0,0 +1,6 @@
|
||||
class Schedule:
|
||||
def __init__(self):
|
||||
self.slots = list()
|
||||
|
||||
def set_slots(self, slots):
|
||||
self.slots = slots
|
||||
@@ -0,0 +1,50 @@
|
||||
#schedule {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
|
||||
.slot {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin: 1em;
|
||||
border-radius: 5px;
|
||||
border-color: var(--alt-color);
|
||||
background-color: var(--main-color);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
font-size: 2em;
|
||||
width: 25em;
|
||||
}
|
||||
|
||||
.metadata {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
.data {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.speaker_avatar {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.data_img {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
@font-face {
|
||||
font-family: pfdintextcomppromedium;
|
||||
src: url(../fonts/PFDinTextCompPro-Medium.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: pfdintextcompprothin;
|
||||
src: url(../fonts/PFDinTextCompPro-Thin.ttf);
|
||||
}
|
||||
|
||||
:root {
|
||||
--main-bg-color: #e6007e;
|
||||
--main-color: #ffffff;
|
||||
--alt-color: #1A000D;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--main-bg-color);
|
||||
font-family: pfdintextcomppromedium;
|
||||
}
|
||||
|
||||
.white {
|
||||
color: var(--main-color);
|
||||
}
|
||||
|
||||
.black {
|
||||
color: var(--alt-color);
|
||||
}
|
||||
|
||||
.thin {
|
||||
font-family: pfdintextcompprothin;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-family: pfdintextcomppromedium;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: 2.5em;
|
||||
transition-property: color;
|
||||
transition-duration: 1s;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
color: var(--main-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
.cursor {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 0.75em solid transparent;
|
||||
border-right: 0.75em solid transparent;
|
||||
border-bottom: 0.75em solid var(--alt-color);
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: pfdintextcomppromedium;
|
||||
font-weight: 250;
|
||||
color: var(--alt-color);
|
||||
transition-property: color;
|
||||
transition-duration: 1s;
|
||||
text-decoration: wavy;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--main-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#main_wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
|
||||
#center_wrapper, #header_wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 0;
|
||||
text-align: center;
|
||||
font-size: 9.75em;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#header > span {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#subheader {
|
||||
margin: -1em 0 0 0;
|
||||
font-size: 3.47em;
|
||||
}
|
||||
|
||||
#place {
|
||||
margin: 0;
|
||||
font-size: 2.145em;
|
||||
}
|
||||
|
||||
#logo_wrapper {
|
||||
margin-top: 1em;
|
||||
width: 40em;
|
||||
}
|
||||
|
||||
#navbar_wrapper {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
padding: 1em 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2em;
|
||||
background-color: var(--main-bg-color);
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
#cursorbar {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#blah {
|
||||
margin: 2em 0 2em;
|
||||
font-size: 2em;
|
||||
font-family: pfdintextcompprothin;
|
||||
color: var(--main-color);
|
||||
width: 20em;
|
||||
text-align:justify;
|
||||
text-justify:inter-word;
|
||||
}
|
||||
|
||||
#blah > p, blah.h2 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext {
|
||||
visibility: hidden;
|
||||
background-color: var(--main-color);
|
||||
color: var(--alt-color);
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
padding: 5px 0;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 125%;
|
||||
left: 50%;
|
||||
margin-left: -60px;
|
||||
opacity: 0;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
}
|
||||
|
||||
.tooltip:hover .tooltiptext {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -0,0 +1,301 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="121.70832mm"
|
||||
height="68.336594mm"
|
||||
viewBox="0 0 121.70832 68.336594"
|
||||
version="1.1"
|
||||
id="svg4988"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview4990"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false" />
|
||||
<defs
|
||||
id="defs4985">
|
||||
<linearGradient
|
||||
id="SVGID_1_"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="604.435"
|
||||
y1="427.5899"
|
||||
x2="392.76849"
|
||||
y2="639.25647"
|
||||
gradientTransform="translate(0,-230)">
|
||||
<stop
|
||||
offset="0.1074"
|
||||
style="stop-color:#E5006D"
|
||||
id="stop3532" />
|
||||
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#000000"
|
||||
id="stop3534" />
|
||||
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="SVGID_00000049196946087679940990000002865169276270721946_"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="631.63287"
|
||||
y1="-164.8441"
|
||||
x2="419.96631"
|
||||
y2="46.822399"
|
||||
gradientTransform="rotate(180,403.1837,148.76325)">
|
||||
<stop
|
||||
offset="0.1074"
|
||||
style="stop-color:#E5006D"
|
||||
id="stop3543" />
|
||||
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#000000"
|
||||
id="stop3545" />
|
||||
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-44.145837,-114.33171)">
|
||||
<g
|
||||
id="g6042"
|
||||
transform="translate(64.735074,36.940299)">
|
||||
<g
|
||||
id="g3356"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-62.811448,24.252494)">
|
||||
<path
|
||||
d="m 366.84,248.03 c 0,0 -1.98,-15.18 -13.55,-29.89 l -19.59,33.94 c 6.6,3.81 12.93,8.09 18.92,12.76 3.55,-3.43 11.3,-11.76 14.22,-16.81 z"
|
||||
id="path3338" />
|
||||
|
||||
<path
|
||||
d="m 315.4,219.95 c 0,0 -9.31,-12.16 -26.68,-19.11 v 39.19 c 7.62,0 15.25,0.54 22.77,1.59 1.35,-4.75 3.91,-15.84 3.91,-21.67 z"
|
||||
id="path3340" />
|
||||
|
||||
<path
|
||||
d="m 256.81,221.35 c 0,0 -14.14,-5.88 -32.66,-3.21 l 19.59,33.94 c 6.6,-3.81 13.47,-7.16 20.51,-10.01 -1.19,-4.79 -4.52,-15.67 -7.44,-20.72 z"
|
||||
id="path3342" />
|
||||
|
||||
<path
|
||||
d="m 206.77,251.86 c 0,0 -15.18,1.98 -29.89,13.55 L 210.82,285 c 3.81,-6.6 8.09,-12.93 12.76,-18.92 -3.43,-3.55 -11.76,-11.3 -16.81,-14.22 z"
|
||||
id="path3344" />
|
||||
|
||||
<path
|
||||
d="m 178.69,303.3 c 0,0 -12.16,9.31 -19.11,26.68 h 39.19 c 0,-7.62 0.54,-15.25 1.59,-22.77 -4.75,-1.35 -15.84,-3.91 -21.67,-3.91 z"
|
||||
id="path3346" />
|
||||
|
||||
<path
|
||||
d="m 180.09,361.89 c 0,0 -5.88,14.14 -3.21,32.66 l 33.94,-19.59 c -3.81,-6.6 -7.16,-13.47 -10.01,-20.51 -4.78,1.19 -15.67,4.52 -20.72,7.44 z"
|
||||
id="path3348" />
|
||||
|
||||
<path
|
||||
d="m 210.6,411.93 c 0,0 1.98,15.18 13.55,29.89 l 19.59,-33.94 c -6.6,-3.81 -12.93,-8.09 -18.92,-12.76 -3.54,3.43 -11.3,11.76 -14.22,16.81 z"
|
||||
id="path3350" />
|
||||
|
||||
<path
|
||||
d="m 262.04,440.01 c 0,0 9.31,12.16 26.68,19.11 v -39.19 c -7.62,0 -15.25,-0.54 -22.77,-1.59 -1.35,4.75 -3.91,15.84 -3.91,21.67 z"
|
||||
id="path3352" />
|
||||
|
||||
<path
|
||||
d="m 320.63,438.61 c 0,0 14.14,5.88 32.66,3.21 L 333.7,407.88 c -6.6,3.81 -13.47,7.16 -20.51,10.01 1.19,4.78 4.53,15.67 7.44,20.72 z"
|
||||
id="path3354" />
|
||||
|
||||
</g>
|
||||
<g
|
||||
id="g3376"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-62.811448,24.252494)">
|
||||
<path
|
||||
d="m 554.34,395.12 c -5.99,4.67 -12.32,8.95 -18.92,12.76 l 19.59,33.94 c 11.57,-14.7 13.55,-29.89 13.55,-29.89 -2.91,-5.05 -10.67,-13.38 -14.22,-16.81 z"
|
||||
id="path3358" />
|
||||
|
||||
<path
|
||||
d="m 513.21,418.34 c -7.52,1.05 -15.14,1.59 -22.77,1.59 v 39.19 c 17.37,-6.95 26.68,-19.11 26.68,-19.11 0,-5.83 -2.55,-16.92 -3.91,-21.67 z"
|
||||
id="path3360" />
|
||||
|
||||
<path
|
||||
d="m 465.98,417.88 c -7.04,-2.85 -13.91,-6.19 -20.51,-10.01 l -19.59,33.94 c 18.52,2.67 32.66,-3.21 32.66,-3.21 2.91,-5.04 6.24,-15.93 7.44,-20.72 z"
|
||||
id="path3362" />
|
||||
|
||||
<path
|
||||
d="m 426.55,264.84 c 5.99,-4.67 12.32,-8.95 18.92,-12.76 l -19.59,-33.94 c -11.57,14.7 -13.55,29.89 -13.55,29.89 2.91,5.05 10.67,13.38 14.22,16.81 z"
|
||||
id="path3364" />
|
||||
|
||||
<path
|
||||
d="m 467.68,241.62 c 7.52,-1.05 15.14,-1.59 22.77,-1.59 v -39.19 c -17.37,6.95 -26.68,19.11 -26.68,19.11 0,5.83 2.55,16.92 3.91,21.67 z"
|
||||
id="path3366" />
|
||||
|
||||
<path
|
||||
d="m 514.91,242.07 c 7.04,2.85 13.91,6.19 20.51,10.01 l 19.59,-33.94 c -18.52,-2.67 -32.66,3.21 -32.66,3.21 -2.91,5.05 -6.24,15.93 -7.44,20.72 z"
|
||||
id="path3368" />
|
||||
|
||||
<path
|
||||
d="m 555.58,266.08 c 4.67,5.99 8.95,12.32 12.76,18.92 l 33.94,-19.59 c -14.7,-11.57 -29.89,-13.55 -29.89,-13.55 -5.05,2.92 -13.37,10.67 -16.81,14.22 z"
|
||||
id="path3370" />
|
||||
|
||||
<path
|
||||
d="m 578.8,307.21 c 1.05,7.52 1.59,15.14 1.59,22.77 h 39.19 c -6.95,-17.37 -19.11,-26.68 -19.11,-26.68 -5.83,0 -16.92,2.56 -21.67,3.91 z"
|
||||
id="path3372" />
|
||||
|
||||
<path
|
||||
d="m 578.35,354.44 c -2.85,7.04 -6.19,13.91 -10.01,20.51 l 33.94,19.59 c 2.67,-18.52 -3.21,-32.66 -3.21,-32.66 -5.05,-2.91 -15.93,-6.24 -20.72,-7.44 z"
|
||||
id="path3374" />
|
||||
|
||||
</g>
|
||||
<path
|
||||
class="st0"
|
||||
d="m 66.953446,136.57076 c -1.690687,0 -3.384021,-0.17198 -5.035021,-0.508 -1.608666,-0.32808 -3.190875,-0.8202 -4.704291,-1.4605 -1.481667,-0.62706 -2.913063,-1.40229 -4.251854,-2.30716 -1.322917,-0.89429 -2.566459,-1.92088 -3.696229,-3.05065 l -9.001125,-9.00112 -9.001125,9.00112 c -1.129771,1.12977 -2.373313,2.15636 -3.696229,3.05065 -1.338792,0.90487 -2.767542,1.6801 -4.251854,2.30716 -1.513417,0.6403 -3.095625,1.12977 -4.704292,1.4605 -1.648354,0.33602 -3.341687,0.508 -5.035021,0.508 -1.693333,0 -3.384021,-0.17198 -5.0350206,-0.508 -1.6086666,-0.32808 -3.1908749,-0.8202 -4.7042916,-1.4605 -1.4816666,-0.62706 -2.91306244,-1.40229 -4.25185409,-2.30716 -1.32291661,-0.89429 -2.56645831,-1.92088 -3.69622911,-3.05065 -1.1297708,-1.12977 -2.1563541,-2.37331 -3.0506458,-3.69887 -0.9022292,-1.33615 -1.6801041,-2.76755 -2.3071666,-4.25186 -0.6402912,-1.51077 -1.1297712,-3.09298 -1.4605002,-4.70429 -0.336021,-1.64835 -0.508,-3.34169 -0.508,-5.03502 0,-0.008 0,-0.0132 0,-0.0212 0.0026,-1.68804 0.171979,-3.37343 0.508,-5.01385 0.330729,-1.60867 0.820209,-3.19088 1.4605002,-4.70429 0.6270625,-1.48167 1.4022916,-2.913065 2.3071666,-4.251857 0.8942917,-1.322917 1.920875,-2.566458 3.0506458,-3.696229 1.1297708,-1.129771 2.3733125,-2.156354 3.69622911,-3.050646 1.33879165,-0.904875 2.76754159,-1.680104 4.25185409,-2.307166 1.5134167,-0.640292 3.095625,-1.129771 4.7042916,-1.4605 1.6404166,-0.336021 3.3337496,-0.505355 5.0350206,-0.505355 1.701271,0 3.394604,0.169334 5.035021,0.505355 1.608667,0.328083 3.190875,0.820208 4.704292,1.4605 1.484312,0.627062 2.913062,1.404937 4.251854,2.307166 1.322916,0.894292 2.566458,1.920875 3.696229,3.050646 0,0 6.416146,6.416146 9.001125,9.001126 l 9.001125,-9.001126 c 1.12977,-1.129771 2.373312,-2.156354 3.696229,-3.050646 1.338791,-0.904875 2.767541,-1.680104 4.251854,-2.307166 1.513416,-0.640292 3.095625,-1.129771 4.704291,-1.4605 1.648355,-0.336021 3.341688,-0.508 5.035021,-0.508 1.693334,0 3.386667,0.171979 5.035021,0.508 1.608667,0.328083 3.190875,0.820208 4.704292,1.4605 1.484312,0.627062 2.913062,1.402291 4.251854,2.307166 1.322916,0.894292 2.566458,1.920875 3.696229,3.050646 1.129771,1.129771 2.156354,2.375958 3.050646,3.696229 0.902229,1.336146 1.680104,2.767537 2.307166,4.251857 0.640292,1.51077 1.129771,3.09298 1.4605,4.70429 0.336021,1.64835 0.508,3.34169 0.508,5.03237 0,1.69334 -0.171979,3.38667 -0.508,5.03502 -0.330729,1.61132 -0.820208,3.19353 -1.4605,4.7043 -0.629708,1.48431 -1.404937,2.9157 -2.307166,4.25185 -0.894292,1.32292 -1.920875,2.56646 -3.050646,3.69623 -1.129771,1.12977 -2.373313,2.15635 -3.696229,3.05065 -1.338792,0.90487 -2.767542,1.6801 -4.251854,2.30716 -1.513417,0.64029 -3.095625,1.12977 -4.704292,1.4605 -1.651,0.34131 -3.344333,0.51329 -5.035021,0.51329 z M 13.579051,98.830597 c -0.867833,0 -1.733021,0.08731 -2.57175,0.259292 -0.814917,0.166687 -1.6166041,0.415396 -2.3812499,0.738187 -0.7514167,0.317504 -1.4790208,0.711734 -2.159,1.172104 -0.6746875,0.45508 -1.3096875,0.9816 -1.8891249,1.5584 -0.5767917,0.57679 -1.1006667,1.21179 -1.5583959,1.88912 -0.460375,0.67998 -0.8546041,1.40494 -1.1721041,2.159 -0.3227917,0.76465 -0.5715,1.56633 -0.7381875,2.38125 -0.17197917,0.83873 -0.25929167,1.70392 -0.25929167,2.57175 0,0.86783 0.0873125,1.73302 0.25929167,2.57175 0.1666875,0.81492 0.4153958,1.61661 0.7381875,2.38125 0.3175,0.75406 0.7117291,1.47902 1.1721041,2.159 0.4550834,0.67469 0.9816042,1.30969 1.5583959,1.88913 0.5767916,0.57679 1.2117916,1.10066 1.8891249,1.55839 0.6799792,0.46038 1.4075833,0.85461 2.159,1.17211 0.7646458,0.32279 1.5663329,0.5715 2.3812499,0.73818 0.833438,0.17198 1.698625,0.25665 2.57175,0.25665 0.873125,0 1.738313,-0.0873 2.57175,-0.25665 0.814917,-0.16668 1.616604,-0.41539 2.38125,-0.73818 0.754062,-0.3175 1.479021,-0.71438 2.159,-1.17211 0.447146,-0.30162 1.314979,-1.03452 1.910292,-1.58221 l 8.977312,-8.97731 -9.001125,-9.00112 c -0.576792,-0.5768 -1.211792,-1.10067 -1.889125,-1.5584 -0.679979,-0.46037 -1.407583,-0.8546 -2.159,-1.172104 -0.764646,-0.322791 -1.566333,-0.5715 -2.38125,-0.738187 -0.836083,-0.171979 -1.701271,-0.259292 -2.569104,-0.259292 z m 44.37327,21.730233 c 0.576792,0.57679 1.211792,1.10066 1.889125,1.55839 0.679979,0.46038 1.407584,0.85461 2.159,1.17211 0.764646,0.32279 1.566334,0.5715 2.38125,0.73818 0.836084,0.17198 1.701271,0.25665 2.57175,0.25665 0.870479,0 1.738313,-0.0873 2.57175,-0.25665 0.814917,-0.16668 1.613958,-0.41539 2.38125,-0.73818 0.751417,-0.3175 1.479021,-0.71173 2.161646,-1.17211 0.674687,-0.45773 1.309687,-0.9816 1.886479,-1.55839 0.576792,-0.5768 1.103313,-1.2118 1.558396,-1.88913 0.460375,-0.67998 0.854604,-1.40758 1.172104,-2.159 0.322792,-0.76729 0.5715,-1.56633 0.738188,-2.38125 0.171979,-0.83873 0.259291,-1.70392 0.259291,-2.57175 0,-0.86783 -0.08731,-1.73302 -0.259291,-2.57175 -0.166688,-0.81227 -0.415396,-1.61396 -0.738188,-2.38125 -0.3175,-0.75406 -0.714375,-1.47902 -1.172104,-2.159 -0.457729,-0.67733 -0.981604,-1.31233 -1.558396,-1.88912 -0.576792,-0.5768 -1.211792,-1.10Line truncated
|
||||
id="path3378"
|
||||
style="fill:#e5006d;stroke-width:0.264583" />
|
||||
<g
|
||||
id="g3554"
|
||||
inkscape:export-filename="logo.svg"
|
||||
inkscape:export-xdpi="300"
|
||||
inkscape:export-ydpi="300"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-62.811448,24.252494)">
|
||||
<path
|
||||
d="m 364.78,329.98 24.81,-24.81 -38.03,-38.03 c -4.02,-4.02 -8.44,-7.66 -13.14,-10.84 -4.75,-3.21 -9.83,-5.97 -15.1,-8.2 -5.37,-2.27 -10.99,-4.02 -16.7,-5.19 -11.71,-2.4 -24.07,-2.4 -35.78,0 -5.71,1.17 -11.33,2.91 -16.7,5.19 -5.27,2.23 -10.35,4.99 -15.1,8.2 -4.7,3.18 -9.12,6.82 -13.14,10.84 -4.02,4.02 -7.66,8.44 -10.84,13.14 -3.21,4.75 -5.97,9.83 -8.2,15.1 -2.27,5.37 -4.02,10.99 -5.19,16.7 -1.2,5.85 -1.81,11.87 -1.81,17.89 0,0.01 0,0.01 0,0.02 0,4.92 0.55,9.72 1.6,14.35 1.05,4.64 2.59,9.12 4.58,13.39 1.99,4.27 4.42,8.32 7.25,12.11 2.82,3.79 6.04,7.33 9.6,10.56 3.56,3.23 7.45,6.15 11.63,8.71 4.18,2.56 8.65,4.77 13.35,6.58 4.7,1.81 9.64,3.21 14.75,4.16 5.12,0.95 10.41,1.45 15.84,1.45 5.92,0 11.7,-0.48 17.29,-1.38 5.59,-0.9 10.97,-2.24 16.1,-3.96 5.13,-1.72 10.01,-3.82 14.57,-6.26 4.56,-2.44 8.81,-5.22 12.69,-8.29 l 113.32,-89.46 c -0.56,0.51 0.53,-0.54 0,0 2.44,-2.44 5.12,-4.65 7.97,-6.58 2.88,-1.94 5.95,-3.61 9.13,-4.96 3.24,-1.37 6.63,-2.42 10.07,-3.13 7.09,-1.45 14.63,-1.45 21.71,0 3.44,0.7 6.83,1.76 10.07,3.13 3.18,1.35 6.25,3.01 9.13,4.96 2.85,1.93 5.53,4.14 7.97,6.58 2.44,2.44 4.65,5.12 6.58,7.97 1.94,2.87 3.61,5.95 4.96,9.13 1.37,3.24 2.42,6.63 3.13,10.07 0.72,3.54 1.09,7.2 1.09,10.86 0,3.66 -0.37,7.31 -1.09,10.86 -0.71,3.45 -1.76,6.83 -3.13,10.07 -1.35,3.18 -3.01,6.26 -4.96,9.13 -1.93,2.85 -4.14,5.53 -6.58,7.97 -2.44,2.44 -5.12,4.65 -7.97,6.58 -2.87,1.94 -5.95,3.61 -9.13,4.96 -3.24,1.37 -6.63,2.42 -10.07,3.13 -7.09,1.45 -14.62,1.45 -21.71,0 -3.44,-0.7 -6.83,-1.76 -10.07,-3.13 -3.18,-1.35 -6.25,-3.01 -9.13,-4.95 -2.85,-1.93 -5.53,-4.14 -7.97,-6.58 L 414.4,329.99 v 0 l -24.81,24.81 v 0 l 38.03,38.03 c 4.02,4.02 8.44,7.66 13.14,10.84 4.75,3.21 9.83,5.97 15.1,8.2 5.37,2.27 10.99,4.02 16.7,5.19 5.85,1.2 11.87,1.81 17.89,1.81 6.02,0 12.04,-0.61 17.89,-1.81 5.71,-1.17 11.33,-2.91 16.7,-5.19 5.27,-2.23 10.35,-4.99 15.1,-8.2 4.7,-3.18 9.12,-6.82 13.14,-10.84 4.02,-4.02 7.66,-8.44 10.84,-13.14 3.21,-4.75 5.97,-9.83 8.2,-15.1 2.27,-5.37 4.02,-10.99 5.19,-16.7 1.2,-5.85 1.8,-11.87 1.8,-17.89 v 0 c 0,-4.92 -0.55,-9.73 -1.6,-14.37 -1.05,-4.64 -2.59,-9.12 -4.58,-13.39 -1.99,-4.27 -4.42,-8.32 -7.25,-12.11 -2.82,-3.79 -6.04,-7.33 -9.6,-10.56 -3.56,-3.23 -7.45,-6.15 -11.63,-8.71 -4.18,-2.56 -8.65,-4.77 -13.35,-6.58 -4.7,-1.8 -9.64,-3.21 -14.75,-4.16 -5.12,-0.95 -10.41,-1.45 -15.84,-1.45 -5.92,0 -11.7,0.47 -17.29,1.38 -5.58,0.9 -10.97,2.24 -16.1,3.96 -5.13,1.72 -10.01,3.82 -14.57,6.26 -4.56,2.44 -8.81,5.22 -12.69,8.29 l -113.32,89.46 c -1.98,1.82 -5.75,5.07 -7.97,6.58 -2.87,1.94 -5.95,3.61 -9.13,4.96 -3.24,1.37 -6.63,2.42 -10.07,3.13 -7.09,1.45 -14.62,1.45 -21.71,0 -3.44,-0.71 -6.83,-1.76 -10.07,-3.13 -3.18,-1.35 -6.25,-3.01 -9.13,-4.96 -2.85,-1.93 -5.53,-4.14 -7.97,-6.58 -2.44,-2.44 -4.65,-5.12 -6.58,-7.97 -1.94,-2.87 -3.61,-5.95 -4.96,-9.13 -1.37,-3.24 -2.42,-6.63 -3.13,-10.07 -0.73,-3.54 -1.09,-7.2 -1.09,-10.86 0,-3.66 0.37,-7.31 1.09,-10.86 0.7,-3.44 1.76,-6.83 3.13,-10.07 1.35,-3.18 3.01,-6.25 4.95,-9.13 1.93,-2.85 4.14,-5.53 6.58,-7.97 2.44,-2.44 5.12,-4.65 7.97,-6.58 2.88,-1.94 5.95,-3.61 9.13,-4.96 3.24,-1.37 6.63,-2.42 10.07,-3.13 3.54,-0.73 7.2,-1.09 10.86,-1.09 3.66,0 7.31,0.37 10.86,1.09 3.44,0.7 6.83,1.76 10.07,3.13 3.18,1.35 6.25,3.01 9.13,4.96 2.85,1.93 5.53,4.14 7.97,6.58 z"
|
||||
id="path3530" />
|
||||
|
||||
<g
|
||||
id="g3552">
|
||||
<g
|
||||
id="g3541">
|
||||
<g
|
||||
id="g3539">
|
||||
|
||||
<linearGradient
|
||||
id="linearGradient5717"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="604.435"
|
||||
y1="427.5899"
|
||||
x2="392.76849"
|
||||
y2="639.25647"
|
||||
gradientTransform="translate(0,-230)">
|
||||
<stop
|
||||
offset="0.1074"
|
||||
style="stop-color:#E5006D"
|
||||
id="stop5713" />
|
||||
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#000000"
|
||||
id="stop5715" />
|
||||
|
||||
</linearGradient>
|
||||
|
||||
<path
|
||||
class="st2"
|
||||
d="m 452.77,270.26 c 4.56,-2.44 9.44,-4.54 14.57,-6.26 5.13,-1.72 10.52,-3.05 16.1,-3.96 5.58,-0.9 11.36,-1.38 17.29,-1.38 5.43,0 10.72,0.5 15.84,1.45 5.12,0.95 10.05,2.35 14.75,4.16 4.7,1.8 9.17,4.01 13.35,6.58 4.18,2.56 8.08,5.48 11.63,8.71 3.56,3.23 6.77,6.76 9.6,10.56 2.82,3.79 5.26,7.85 7.25,12.11 1.99,4.27 3.53,8.74 4.58,13.39 1.05,4.64 1.6,9.45 1.6,14.37 0,-6.02 -0.61,-12.04 -1.8,-17.89 -1.17,-5.71 -2.91,-11.33 -5.19,-16.7 -2.23,-5.27 -4.99,-10.35 -8.2,-15.1 -3.18,-4.7 -6.82,-9.12 -10.84,-13.14 -4.02,-4.02 -8.44,-7.66 -13.14,-10.84 -4.75,-3.21 -9.83,-5.97 -15.1,-8.2 -5.37,-2.27 -10.99,-4.02 -16.7,-5.19 -5.85,-1.2 -11.87,-1.81 -17.89,-1.81 -6.02,0 -12.04,0.61 -17.89,1.81 -5.71,1.17 -11.33,2.91 -16.7,5.19 -5.27,2.23 -10.35,4.98 -15.1,8.2 -4.7,3.18 -9.12,6.82 -13.14,10.84 L 389.61,305.19 364.8,330 326.77,368.03 c -0.54,0.54 -1.09,1.05 -1.64,1.57 L 440.1,278.57 c 3.85,-3.09 8.1,-5.87 12.67,-8.31 z"
|
||||
id="path3537"
|
||||
style="fill:url(#SVGID_1_)" />
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
|
||||
<g
|
||||
id="g3550">
|
||||
|
||||
<linearGradient
|
||||
id="linearGradient5726"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="631.63287"
|
||||
y1="-164.8441"
|
||||
x2="419.96631"
|
||||
y2="46.822399"
|
||||
gradientTransform="rotate(180,403.1837,148.76325)">
|
||||
<stop
|
||||
offset="0.1074"
|
||||
style="stop-color:#E5006D"
|
||||
id="stop5722" />
|
||||
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#000000"
|
||||
id="stop5724" />
|
||||
|
||||
</linearGradient>
|
||||
|
||||
<path
|
||||
style="fill:url(#SVGID_00000049196946087679940990000002865169276270721946_)"
|
||||
d="m 326.4,389.7 c -4.56,2.44 -9.44,4.54 -14.57,6.26 -5.13,1.72 -10.52,3.05 -16.1,3.96 -5.58,0.9 -11.36,1.38 -17.29,1.38 -5.43,0 -10.72,-0.5 -15.84,-1.45 -5.12,-0.95 -10.05,-2.35 -14.75,-4.16 -4.7,-1.8 -9.17,-4.01 -13.35,-6.58 -4.18,-2.56 -8.08,-5.48 -11.63,-8.71 -3.56,-3.23 -6.77,-6.76 -9.6,-10.56 -2.82,-3.79 -5.26,-7.85 -7.25,-12.11 -1.99,-4.27 -3.53,-8.74 -4.58,-13.39 -1.05,-4.64 -1.6,-9.45 -1.6,-14.37 0,6.02 0.61,12.04 1.8,17.89 1.17,5.71 2.91,11.33 5.19,16.7 2.23,5.27 4.99,10.35 8.2,15.1 3.18,4.7 6.82,9.12 10.84,13.14 4.02,4.02 8.44,7.66 13.14,10.84 4.75,3.21 9.83,5.97 15.1,8.2 5.37,2.27 10.99,4.02 16.7,5.19 5.85,1.2 11.87,1.81 17.89,1.81 6.02,0 12.04,-0.61 17.89,-1.81 5.71,-1.17 11.33,-2.91 16.7,-5.19 5.27,-2.23 10.35,-4.98 15.1,-8.2 4.7,-3.18 9.12,-6.82 13.14,-10.84 l 38.03,-38.03 24.81,-24.81 38.03,-38.03 c 0.54,-0.54 1.09,-1.05 1.64,-1.57 l -114.97,91.03 c -3.86,3.09 -8.11,5.87 -12.67,8.31 z"
|
||||
id="path3548" />
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
<g
|
||||
id="g3598"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-62.811448,24.252494)">
|
||||
<path
|
||||
d="m 257.18,326.38 c -0.64,-0.33 -1.28,-0.57 -1.94,-0.73 -0.66,-0.16 -1.35,-0.24 -2.08,-0.24 -2.1,0 -3.15,0.38 -3.15,1.12 0,0.26 0.1,0.45 0.31,0.58 0.21,0.13 0.5,0.22 0.88,0.29 0.38,0.07 0.84,0.11 1.38,0.14 0.54,0.03 1.16,0.08 1.85,0.15 0.74,0.07 1.38,0.17 1.94,0.3 0.55,0.13 1.01,0.3 1.38,0.52 0.36,0.22 0.64,0.5 0.82,0.82 0.18,0.33 0.27,0.73 0.27,1.2 0,1.02 -0.45,1.8 -1.35,2.35 -0.9,0.55 -2.22,0.83 -3.96,0.83 -2.43,0 -4.38,-0.55 -5.83,-1.66 l 1,-1.31 c 0.65,0.45 1.37,0.79 2.17,1.02 0.8,0.23 1.68,0.35 2.63,0.35 1.1,0 1.93,-0.14 2.5,-0.41 0.57,-0.27 0.85,-0.63 0.85,-1.08 0,-0.51 -0.36,-0.87 -1.08,-1.06 -0.52,-0.14 -1.14,-0.22 -1.85,-0.23 -0.71,-0.01 -1.52,-0.06 -2.42,-0.14 -1.17,-0.11 -2.03,-0.36 -2.58,-0.75 -0.55,-0.39 -0.83,-0.96 -0.83,-1.72 0,-0.9 0.44,-1.62 1.31,-2.15 0.87,-0.53 2.12,-0.79 3.75,-0.79 2.13,0 3.86,0.46 5.18,1.38 z"
|
||||
id="path3578" />
|
||||
|
||||
<path
|
||||
d="m 279.64,333.66 h -2.11 l 7.14,-11.29 h 2.09 z"
|
||||
id="path3580" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 306.39,333.5 v -9.46 h 9.83 v 1.66 h -7.98 v 2.06 h 5.55 v 1.66 h -5.55 v 2.42 h 8.34 v 1.66 z"
|
||||
id="path3582"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 346.07,333.5 -3.77,-3.71 -3.77,3.71 h -2.32 l 4.92,-4.8 -4.75,-4.66 h 2.32 l 3.6,3.57 3.6,-3.57 h 2.32 l -4.75,4.66 4.92,4.8 z"
|
||||
id="path3584"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 373.81,325.7 v 7.8 h -1.85 v -7.8 h -4.52 v -1.66 h 10.89 v 1.66 z"
|
||||
id="path3586"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 407.66,333.5 -2.48,-3.48 h -4.69 v 3.48 h -1.85 v -9.46 h 7.65 c 0.5,0 0.96,0.07 1.36,0.22 0.4,0.15 0.75,0.35 1.04,0.61 0.29,0.26 0.51,0.58 0.66,0.95 0.15,0.37 0.23,0.78 0.23,1.23 0,0.77 -0.2,1.4 -0.6,1.88 -0.4,0.49 -0.98,0.82 -1.75,0.99 l 2.55,3.58 z m -1.65,-5.13 c 1.12,0 1.68,-0.43 1.68,-1.29 0,-0.48 -0.14,-0.83 -0.43,-1.04 -0.29,-0.22 -0.74,-0.33 -1.35,-0.33 h -5.42 v 2.66 z"
|
||||
id="path3588"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 439.64,333.5 -1.09,-2.03 h -6.35 l -1.09,2.03 h -2.03 l 5.15,-9.46 h 2.29 l 5.15,9.46 z m -4.26,-7.87 -2.26,4.18 h 4.51 z"
|
||||
id="path3590"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 461.83,333.5 v -9.46 h 1.85 v 9.46 z"
|
||||
id="path3592"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 494.38,333.5 -2.48,-3.48 h -4.69 v 3.48 h -1.85 v -9.46 h 7.65 c 0.5,0 0.96,0.07 1.36,0.22 0.4,0.15 0.75,0.35 1.04,0.61 0.29,0.26 0.51,0.58 0.66,0.95 0.15,0.37 0.23,0.78 0.23,1.23 0,0.77 -0.2,1.4 -0.6,1.88 -0.4,0.49 -0.98,0.82 -1.75,0.99 l 2.55,3.58 z m -1.64,-5.13 c 1.12,0 1.68,-0.43 1.68,-1.29 0,-0.48 -0.14,-0.83 -0.43,-1.04 -0.29,-0.22 -0.74,-0.33 -1.35,-0.33 h -5.42 v 2.66 z"
|
||||
id="path3594"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
class="st1"
|
||||
d="m 517.58,333.5 v -9.46 h 9.83 v 1.66 h -7.98 v 2.06 h 5.55 v 1.66 h -5.55 v 2.42 h 8.34 v 1.66 z"
|
||||
id="path3596"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang='zxx'>
|
||||
<head>
|
||||
<title>THSF 2023: S/Extraire</title>
|
||||
<meta name="viewport" content="initial-scale=1.0" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet"
|
||||
href="{{ url_for('static', filename='css/style.css') }}">
|
||||
<link rel="stylesheet"
|
||||
href="{{ url_for('static', filename='css/tooltip.css') }}">
|
||||
<link rel="icon"
|
||||
type="image/png"
|
||||
href="{{ url_for('static', filename='images/favicon.png') }}" />
|
||||
<link rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
<div id="navbar_wrapper">
|
||||
<i class="button tooltip black fa-regular fa-calendar"
|
||||
title="Programme"
|
||||
alt="Programme"
|
||||
onclick="document.location='/planning'">
|
||||
<span class="tooltiptext thin">Programme</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-map-location-dot"
|
||||
title="Le Lieu"
|
||||
alt="Le Lieu">
|
||||
<span class="tooltiptext thin">Le lieu</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-burger"
|
||||
title="Restauration"
|
||||
alt="Restauration">
|
||||
<span class="tooltiptext thin">Restauration</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-shirt"
|
||||
title="T-shirt et goodies"
|
||||
alt="T-shirt et goodies">
|
||||
<span class="tooltiptext thin">Goodies</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-guitar"
|
||||
title="Concerts et DJ sets"
|
||||
alt="Concerts et DJ sets">
|
||||
<span class="tooltiptext thin">Concerts et DJ sets</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-screwdriver-wrench"
|
||||
title="Ateliers"
|
||||
alt="Ateliers">
|
||||
<span class="tooltiptext thin">Ateliers</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-film"
|
||||
title="Projections"
|
||||
alt="Projections">
|
||||
<span class="tooltiptext thin">Projections</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-users-line"
|
||||
title="Tables rondes"
|
||||
alt="Tables rondes">
|
||||
<span class="tooltiptext thin">Tables rondes</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-palette"
|
||||
title="Expositions"
|
||||
alt="Expositions">
|
||||
<span class="tooltiptext thin">Expositions</span>
|
||||
</i>
|
||||
<i class="button tooltip black fa-solid fa-person-chalkboard"
|
||||
title="Conférences"
|
||||
alt="Conférences">
|
||||
<span class="tooltiptext thin">Conférences</span>
|
||||
</i>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,36 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div id="main_wrapper">
|
||||
<div id="center_wrapper">
|
||||
<div id="header_wrapper">
|
||||
<div id="header">
|
||||
<span class="black bold">THSF</span>
|
||||
<span class="white thin">2023</span>
|
||||
</div>
|
||||
<div id="subheader">
|
||||
<span class="white thin">Toulouse Hacker Space Factory</span>
|
||||
</div>
|
||||
<div id="place">
|
||||
<span class="black thin">26 28 mai 2023 - </span>
|
||||
<span class="white bold">CINÉMA UTOPIA BORDEROUGE</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="logo_wrapper">
|
||||
<img class="logo"
|
||||
src="{{ url_for('static', filename='images/logo.svg') }}"
|
||||
alt="THSF 2023 - S/Extraire"
|
||||
title="THSF 2023 - S/Extraire"/>
|
||||
</div>
|
||||
<div id="blah">
|
||||
<h2>Le T.H.S.F est enfin de retour !</h2>
|
||||
<p>Nous vous invitons à passer un week-end de 3 jours à <a href="https://www.cinemas-utopia.org/toulouse/">Utopia Borderouge Toulouse</a> pour partager avec vous nos projets, nos réflexions, nos performances, nos poésies et nos doutes sur la technologie.</p>
|
||||
|
||||
<p>Après avoir été soutenu et accueilli pendant 10 ans par <a href="https://vive.mixart-myrys.org/">Mix'Art Myrys</a>, le <strong>Toulouse HackerSpace Factory (T.H.S.F)</strong> se tient désormais dans un autre lieu où l'utopie nécessaire est inscrite programme.</p>
|
||||
|
||||
<p>Cette année nous mettrons en avant des réflexions sur <a href="https://fr.wikipedia.org/wiki/Extractivisme" target="_new">l'extractivisme des ressources</a> planétaires, des données, de la valeur travail.</p>
|
||||
|
||||
<p>Comme toujours, notre objectif est de créer un festival qui poétise les bifurcations de nos idées communes et qui réinvente le sens de certains schémas imposés par notre époque. Rejoignez-nous pour une expérience enrichissante et pleine de surprises !</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,44 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
<link rel="stylesheet"
|
||||
href="{{ url_for('static', filename='css/planning.css') }}">
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div id="main_wrapper">
|
||||
<div id="#schedule">
|
||||
{% for slot in slots %}
|
||||
<div class="slot">
|
||||
<div class="metadata">
|
||||
<div class="title">{{slot["title"]}}</div>
|
||||
<div class="speakers">
|
||||
{% for speaker in slot["speakers"] %}
|
||||
<div class="speaker">
|
||||
<div class="name">{{speaker["name"]}}</div>
|
||||
<img class="speaker_avatar" src="{{speaker['avatar']}}"/>
|
||||
<div class="speaker_biography">{{speaker["biography"]}}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="type">{{slot["submission_type"]["fr"]}}</div>
|
||||
<div class="start">{{slot["slot"]["start"]}}</div>
|
||||
<div class="duration">{{slot["duration"]}}</div>
|
||||
<div class="room">{{slot["slot"]["room"]["fr"]}}</div>
|
||||
<div class="locale">{{slot["content_locale"]}}</div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<div class="abstract">{{slot["abstract"]}}</div>
|
||||
<div class="description">{{slot["description"]}}</div>
|
||||
<img class="data_img" src="{{slot['image']}}"/>
|
||||
<div class="resources">
|
||||
{% for resource in slot["resources"] %}
|
||||
<div class="resources">
|
||||
<a href="{{resource['resource']}}">{{resource["description"]}}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -23,6 +23,7 @@ install_requires =
|
||||
gunicorn
|
||||
pyYAML
|
||||
requests
|
||||
pandas
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: thsf
|
||||
Version: 0.0.1
|
||||
Summary: "THSF website"
|
||||
Home-page: https://git.tetalab.org/tetalab/thsf.net
|
||||
Author: Doug Le Tough
|
||||
Author-email: doug@redatomik.org
|
||||
License: UNKNOWN
|
||||
Platform: UNKNOWN
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Requires-Python: >=3.7
|
||||
Description-Content-Type: text/markdown
|
||||
Provides-Extra: dev
|
||||
|
||||
# THSF.NET
|
||||
|
||||
Le site du THSF
|
||||
|
||||
## Modifier le site
|
||||
|
||||
Il n'est **pas possible** de pousser directement des modifications sur la branche `master`.
|
||||
|
||||
Pour modifier le site, il est nécessaire de créer une branche spécifique et d'y pousser vos modifications.
|
||||
|
||||
## Publication du site
|
||||
|
||||
Lorsque vous êtes satisfaits de vos modifications, vous pouvez créer [une demande d'ajout](https://git.tetalab.org/tetalab/thsf.net/pulls) de votre branche sur la branche `master`.
|
||||
|
||||
Lorsque la demande de fusion sera acceptée (vous pouvez auto-accepter vos demandes de fusion), vos modifications seront automatiquement publiées sur [le site du THSF](https://www.thsf.net).
|
||||
|
||||
### Personnalisation de la publication
|
||||
|
||||
Afin de rendre le processus plus souple, il est possible de personnaliser la livraison en plaçant **à la racine du dépôt** un fichier `Makefile` contenant une cible `all` qui sera systématiquement exécutée.
|
||||
|
||||
C'est dans cette cible `all` que vous pourrez mettre toutes vos commandes personnalisées, typiquement l'installation de modules `python`, etc.
|
||||
|
||||
Le processus de publication est le suivant:
|
||||
|
||||
1. Le site actuellement en production est **supprimé**
|
||||
|
||||
2. La branche `master` du présent dépôt est cloné sur le serveur hébergeant le site du **THSF**
|
||||
|
||||
3. Si un fichier `Makefile` se trouve **à la racine du dépôt**, la cible `all` (i.e: `make all`) est automatiquement exécutée.
|
||||
|
||||
|
||||
## Contrôle de qualité et tests
|
||||
|
||||
Aucun contrôle de qualité ou de tests n'est mis en place. Vous êtes seuls sur le coup.
|
||||
|
||||
Soyez responsable et **testez vos modifications sur votre machine locale avant de fusionner votre branche** sur la branche `master`.
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
MANIFEST.in
|
||||
README.md
|
||||
pyproject.toml
|
||||
setup.cfg
|
||||
setup.py
|
||||
src/thsf/__init__.py
|
||||
src/thsf.egg-info/PKG-INFO
|
||||
src/thsf.egg-info/SOURCES.txt
|
||||
src/thsf.egg-info/dependency_links.txt
|
||||
src/thsf.egg-info/requires.txt
|
||||
src/thsf.egg-info/top_level.txt
|
||||
src/thsf/backend/__init__.py
|
||||
src/thsf/schedule/__init__.py
|
||||
src/thsf/static/css/planning.css
|
||||
src/thsf/static/css/style.css
|
||||
src/thsf/static/css/tooltip.css
|
||||
src/thsf/static/fonts/PFDinTextCompPro-Medium.ttf
|
||||
src/thsf/static/fonts/PFDinTextCompPro-Thin.ttf
|
||||
src/thsf/static/fonts/Uni Sans Bold.otf
|
||||
src/thsf/static/fonts/Uni Sans Book.otf
|
||||
src/thsf/static/images/affiche_v1.png
|
||||
src/thsf/static/images/bg.png
|
||||
src/thsf/static/images/favicon.png
|
||||
src/thsf/static/images/logo.svg
|
||||
src/thsf/static/images/pretalx-header.png
|
||||
src/thsf/templates/base.html
|
||||
src/thsf/templates/index.html
|
||||
src/thsf/templates/planning.html
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
flask
|
||||
gunicorn
|
||||
pyYAML
|
||||
requests
|
||||
pandas
|
||||
|
||||
[dev]
|
||||
twine
|
||||
build
|
||||
wheel>=0.37.0
|
||||
flake8>=4.0.1
|
||||
flake8-breakpoint>=1.1.0
|
||||
flake8-builtins>=1.5.3
|
||||
flake8-print>=4.0.0
|
||||
flake8-return>=1.1.3
|
||||
pep8-naming>=0.8.2
|
||||
setuptools>=60.9.2
|
||||
pylint>=2.12.2
|
||||
@@ -0,0 +1 @@
|
||||
thsf
|
||||
+30
-7
@@ -1,9 +1,11 @@
|
||||
import sys
|
||||
import json
|
||||
import logging
|
||||
from logging import config
|
||||
import yaml
|
||||
from flask import Flask, render_template, redirect, request, url_for
|
||||
# from thsf.backend import Backend
|
||||
from thsf.backend import Backend
|
||||
from thsf.schedule import Schedule
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -26,14 +28,15 @@ app = Flask(__name__)
|
||||
# ------------------------------------------------------------------------------
|
||||
app.config.from_object(__name__ + '.AppConfig')
|
||||
try:
|
||||
with open(app.config["CONFIG_FILENAME"], "r") as local_config_file:
|
||||
with open(app.config["CONFIG_FILENAME"], mode="r", encoding="utf-8") as local_config_file:
|
||||
app.local_config = yaml.load(local_config_file, Loader=yaml.SafeLoader)
|
||||
app.config["SECRET_KEY"] = app.local_config["app"]["secret_key"]
|
||||
app.config["LANGUAGES"] = app.local_config["app"]["languages"]
|
||||
config.dictConfig(app.local_config["log"])
|
||||
# backend = Backend(url=app.local_config["pretalx"]["url"],
|
||||
# apiprefix=app.local_config["pretalx"]["apiprefix"],
|
||||
# apikey=app.local_config["pretalx"]["apikey"])
|
||||
backend = Backend(url=app.local_config["pretalx"]["url"],
|
||||
apiprefix=app.local_config["pretalx"]["apiprefix"],
|
||||
apikey=app.local_config["pretalx"]["apikey"])
|
||||
schedule = Schedule()
|
||||
except Exception as err:
|
||||
logger.critical("[{}] {}".format(err.__class__, str(err)))
|
||||
sys.exit(1)
|
||||
@@ -54,43 +57,63 @@ def page_not_found(err):
|
||||
def favicon():
|
||||
return redirect(url_for('static', filename='images/favicon.png'))
|
||||
|
||||
|
||||
@app.route('/', methods=['GET'])
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
@app.route('/planning', methods=['GET'])
|
||||
def planning():
|
||||
backend.get(endpoint=f"events/{app.local_config['pretalx']['event']}/schedules/{app.local_config['pretalx']['schedule']}")
|
||||
return "planning"
|
||||
slots = backend.get(endpoint=f"events/{app.local_config['pretalx']['event']}/schedules/{app.local_config['pretalx']['schedule']}").json()
|
||||
# schedule.set_slots(slots["slots"])
|
||||
return render_template("planning.html", slots=slots["slots"])
|
||||
# return "toto"
|
||||
# for slot in sched["slots"]:
|
||||
# schedule.add_slot(slot)
|
||||
# return schedule.df.to_html()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@app.route('/concerts', methods=['GET'])
|
||||
def concerts():
|
||||
return "concerts"
|
||||
|
||||
|
||||
@app.route('/djsets', methods=['GET'])
|
||||
def djsets():
|
||||
return "djsets"
|
||||
|
||||
|
||||
@app.route('/exhibitions', methods=['GET'])
|
||||
def exhibitions():
|
||||
return "exhibitions"
|
||||
|
||||
|
||||
@app.route('/lighttalks', methods=['GET'])
|
||||
def lighttalks():
|
||||
return "lighttalks"
|
||||
|
||||
|
||||
@app.route('/paneldiscussions', methods=['GET'])
|
||||
def paneldiscussions():
|
||||
return "paneldiscussions"
|
||||
|
||||
|
||||
@app.route('/screenings', methods=['GET'])
|
||||
def screenings():
|
||||
return "screenings"
|
||||
|
||||
|
||||
@app.route('/talks', methods=['GET'])
|
||||
def talks():
|
||||
return "talks"
|
||||
|
||||
|
||||
@app.route('/workshops', methods=['GET'])
|
||||
def workshops():
|
||||
return "workshops"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import requests
|
||||
import logging
|
||||
|
||||
|
||||
class Backend(url, apiprefix, apikey):
|
||||
class Backend:
|
||||
def __init__(self, url, apiprefix, apikey):
|
||||
self.url = url
|
||||
self.apiprefix = apiprefix
|
||||
@@ -10,6 +10,6 @@ class Backend(url, apiprefix, apikey):
|
||||
|
||||
def get(self, endpoint, params=None):
|
||||
url = f"{self.url}/{self.apiprefix}/{endpoint}"
|
||||
headers = {f"Authorization: Token {self.apikey}"}
|
||||
return self.session.get(url, **{"params": params, "headers": headers})
|
||||
|
||||
headers = {"Authorization": f"Token {self.apikey}",
|
||||
"Accept": "application/json"}
|
||||
return self.session.get(url, params=params, headers=headers)
|
||||
@@ -0,0 +1,6 @@
|
||||
class Schedule:
|
||||
def __init__(self):
|
||||
self.slots = list()
|
||||
|
||||
def set_slots(self, slots):
|
||||
self.slots = slots
|
||||
@@ -0,0 +1,50 @@
|
||||
#schedule {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
|
||||
.slot {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin: 1em;
|
||||
border-radius: 5px;
|
||||
border-color: var(--alt-color);
|
||||
background-color: var(--main-color);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
font-size: 2em;
|
||||
width: 25em;
|
||||
}
|
||||
|
||||
.metadata {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
.data {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.speaker_avatar {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.data_img {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
@@ -1,18 +1,44 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
<script type="text/javascript" src="https://23.thsf.net/thsf-2023/schedule/widget/v2.en.js"></script>
|
||||
<link rel="stylesheet"
|
||||
href="{{ url_for('static', filename='css/planning.css') }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="thsf-schedule-wrapper">
|
||||
<pretalx-schedule event-url="https://23.thsf.net/thsf-2023/" locale="fr" format="list" style="--pretalx-clr-primary: #91AE2C"></pretalx-schedule>
|
||||
<noscript>
|
||||
<div class="pretalx-widget">
|
||||
<div class="pretalx-widget-info-message">
|
||||
JavaScript is disabled in your browser. To access our schedule without JavaScript,
|
||||
please <a target="_blank" href="https://23.thsf.net/thsf-2023/schedule/">click here</a>.
|
||||
<div id="main_wrapper">
|
||||
<div id="#schedule">
|
||||
{% for slot in slots %}
|
||||
<div class="slot">
|
||||
<div class="metadata">
|
||||
<div class="title">{{slot["title"]}}</div>
|
||||
<div class="speakers">
|
||||
{% for speaker in slot["speakers"] %}
|
||||
<div class="speaker">
|
||||
<div class="name">{{speaker["name"]}}</div>
|
||||
<img class="speaker_avatar" src="{{speaker['avatar']}}"/>
|
||||
<div class="speaker_biography">{{speaker["biography"]}}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="type">{{slot["submission_type"]["fr"]}}</div>
|
||||
<div class="start">{{slot["slot"]["start"]}}</div>
|
||||
<div class="duration">{{slot["duration"]}}</div>
|
||||
<div class="room">{{slot["slot"]["room"]["fr"]}}</div>
|
||||
<div class="locale">{{slot["content_locale"]}}</div>
|
||||
</div>
|
||||
</noscript>
|
||||
<div class="data">
|
||||
<div class="abstract">{{slot["abstract"]}}</div>
|
||||
<div class="description">{{slot["description"]}}</div>
|
||||
<img class="data_img" src="{{slot['image']}}"/>
|
||||
<div class="resources">
|
||||
{% for resource in slot["resources"] %}
|
||||
<div class="resources">
|
||||
<a href="{{resource['resource']}}">{{resource["description"]}}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user