modif site frontend

This commit is contained in:
2022-10-13 10:02:40 +02:00
parent 250d9cf713
commit a477cd36ea
3 changed files with 83 additions and 12 deletions

View File

@@ -1,17 +1,21 @@
<html>
<style>
.div_container{
border: 1px solid #1e1e1e;
}
.main_div{
height: 500px;
height: 430px;
padding: 10px;
width: 30%;
}
.main_div p{
color: red;
color: white;
font-weight: bold;
font-size: 18pt;
text-align: center;
//text-transform: uppercase;
font-family: 'Source Sans Pro', sans-serif;
}
</style>
<body style="background-color:black">
@@ -35,9 +39,9 @@
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/road"></iframe>
</div>
<div style="height: 50%">
<p style="">Communications importantes</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/road"></iframe>
</div>
<p style="">Manifestations</p>
<iframe style="border:0;width:100%;height:100%;color:white" src="https://rh.ambulance-clerc.ch/caldav/team"></iframe>
</div>
</div>
<div style="float:left;" class="div_container main_div">
@@ -48,7 +52,7 @@
<div style="clear: both"></div>
<div>
<div style="float:left;" class="div_container main_div">
<p style="">Acceuil</p>
<p style="">Accueil</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/rh"></iframe>
</div>
<div style="float:left;" class="div_container main_div">
@@ -56,9 +60,9 @@
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/task"></iframe>
</div>
<div style="float:left;" class="div_container main_div">
<p style="">Manifestations</p>
<iframe style="border:0;width:100%;height:100%;color:white" src="https://rh.ambulance-clerc.ch/caldav/team"></iframe>
</div>
<p style="">Communications importantes</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/road"></iframe>
</div>
</div>
<div style="clear: both"></div>
</body>

View File

@@ -0,0 +1,67 @@
<html>
<style>
.div_container{
border: 1px solid #1e1e1e;
}
.main_div{
height: 500px;
padding: 10px;
width: 30%;
}
.main_div p{
color: white;
font-weight: bold;
font-size: 18pt;
text-align: center;
}
</style>
<body style="background-color:black">
<div style="width: 100%;" class="div_container">
<div style="float:left; width:50%"><iframe src="https://www.zeitverschiebung.net/clock-widget-iframe-v2?language=fr&size=medium&timezone=Europe%2FZurich" width="100%" height="115" frameborder="0" scrolling="no" seamless ></iframe></div>
<div style="float:right; width:50%"><a class="weatherwidget-io" href="https://forecast7.com/fr/46d256d95/monthey/" data-label_1="MONTHEY" data-label_2="METEO" data-days="3" data-theme="dark" >MONTHEY METEO</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>
</div>
<div style="clear: both"></div>
</div>
<div>
<div style="float:left;" class="div_container main_div">
<p style="">Équipage</p>
<iframe style="border:0;width:100%;height:100%;color:white" src="https://rh.ambulance-clerc.ch/caldav/team"></iframe>
</div>
<div style="float:left;" class="div_container main_div">
<div style="height: 50%">
<p style="">Restrictions routières</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/road"></iframe>
</div>
<div style="height: 50%">
<p style="">Communications importantes</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/road"></iframe>
</div>
</div>
<div style="float:left;" class="div_container main_div">
<p style="">Agenda véhicules</p>
<iframe style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/vhc"></iframe>
</div>
</div>
<div style="clear: both"></div>
<div>
<div style="float:left;" class="div_container main_div">
<p style="">Accueil</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/rh"></iframe>
</div>
<div style="float:left;" class="div_container main_div">
<p style="">Tâches à faire</p>
<iframe scrolling="no" style="border:0;width:100%;height:100%" src="https://rh.ambulance-clerc.ch/caldav/task"></iframe>
</div>
<div style="float:left;" class="div_container main_div">
<p style="">Manifestations</p>
<iframe style="border:0;width:100%;height:100%;color:white" src="https://rh.ambulance-clerc.ch/caldav/team"></iframe>
</div>
</div>
<div style="clear: both"></div>
</body>
</html>

View File

@@ -4,7 +4,7 @@
{% for task in latest_task_list %}
<tr>
<td style="vertical-align: top;padding-bottom: 18px" width="100" >
<td style="vertical-align: top;padding-bottom: 18px" width="120" >
<span style="font-weight: bold;">{{task.key}}</span><br>
{{task.str_start_date}} - {{task.str_end_date}}<br>
{{task.str_start_time}} - {{task.str_end_time}}<br>