Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
domescala committed Feb 19, 2024
1 parent f61dc6e commit bf9427b
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 50 deletions.
97 changes: 50 additions & 47 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono:wght@400;600&family=Roboto+Slab:wght@400;600&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style/style.css">
<!-- <link rel="stylesheet" href="style/style_desk.css"> -->
<link rel="stylesheet" href="style/style_desk.css">
</head>

<body>
Expand All @@ -38,56 +38,59 @@ <h1>aule libere<br>polito</h1>
<!-- <select id="date_selector" onchange="change_date(this.value)">
</select> -->
<div id="campus_box">
<p class="campus_title">📍 Sede:</p>
<select id="campus_input" onchange="change_campus(this)">
<option value="SEDE_CENTRALE">Sede Centrale</option>
<option value="MIRAFIORI">Mirafiori</option>
<option value="LINGOTTO">Lingotto</option>
<option value="VALENTINO">Valentino</option>
</select>

</div>
<div id="date_box">
<div>
<input type="date" class="date_input" oninput="change_date(this)" value="" min="" max="" />
</div>
<p class="date_title row_title">📅 Data:</p>
<p class="date_value">...</p>

</div>

<div id="filter_box">
<div class="filter_title">
<p>Filtra le aule per:</p>
</div>

<div class="filter" value="_piano">
<p>Piano 🔢</p>
</div>

<div class="filter" value="_capienza">
<p>Capienza 🪑</p>
</div>

<div class="filter" value="_superficie">
<p>Superficie 📐</p>
<div id="inputs-box">

<div id="campus_box">
<p class="campus_title">📍 Sede:</p>
<select id="campus_input" onchange="change_campus(this)">
<option value="SEDE_CENTRALE">Sede Centrale</option>
<option value="MIRAFIORI">Mirafiori</option>
<option value="LINGOTTO">Lingotto</option>
<option value="VALENTINO">Valentino</option>
</select>

</div>

<div class="filter" value="_fabbricato">
<p>Zona 📍</p>
<div id="date_box">
<div>
<input type="date" class="date_input" oninput="change_date(this)" value="" min="" max="" />
</div>
<p class="date_title row_title">📅 Data:</p>
<p class="date_value">...</p>

</div>

<div class="filter" value="_fasce_libere">
<p>Disponibilità 🕔</p>

<div id="filter_box">
<div class="filter_title">
<p>Filtra le aule per:</p>
</div>

<div class="filter" value="_piano">
<p>Piano 🔢</p>
</div>

<div class="filter" value="_capienza">
<p>Capienza 🪑</p>
</div>

<div class="filter" value="_superficie">
<p>Superficie 📐</p>
</div>

<div class="filter" value="_fabbricato">
<p>Zona 📍</p>
</div>

<div class="filter" value="_fasce_libere">
<p>Disponibilità 🕔</p>
</div>
</div>
</div>
<div class="row_orari">
<div>
<p><span> 08:30 10:00 </span></p>
</div>
<div>
<p><span> 10:00 11:30 </span></p>
<div class="row_orari">
<div>
<p><span> 08:30 10:00 </span></p>
</div>
<div>
<p><span> 10:00 11:30 </span></p>
</div>
<div>
<p><span> 11:30 13:00 </span></p>
Expand Down
2 changes: 1 addition & 1 deletion js/classrooms_data.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ body.loading-out {
display: flex;
flex-wrap: wrap;
}

#inputs-box{
display: flex;
flex-wrap: wrap;
width: 100%;
}
a {
/* color: rgb(255, 255, 255); */
text-decoration: inherit;
Expand Down
8 changes: 7 additions & 1 deletion style/style_desk.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
}

#block_scroll {
margin-left: 240px;
}
#inputs-box{

}

a {
}

Expand All @@ -42,6 +45,7 @@
/* -------------------------------- */

.row_orari {
/* width: 600px; */
}


Expand All @@ -60,6 +64,8 @@
/* AULE */
/* -------------------------------- */
#container_row_aule{
/* width: 556px; */
margin-left: 240px;
}
.row_aule {
}
Expand Down

0 comments on commit bf9427b

Please sign in to comment.