Cleans up bootstrap CSS and front page collapsing wodgets

main
Yasen Pramatarov 2024-07-25 16:28:51 +03:00
parent fa581f8fb7
commit ac42b6f591
2 changed files with 14 additions and 16 deletions

View File

@ -65,20 +65,18 @@ try {
}
// display the result
echo "<div class=\"widget\">";
echo "<a style=\"text-decoration: none;\" data-toggle=\"collapse\" href=\"#collapseLastDays\" role=\"button\" aria-expanded=\"true\" aria-controls=\"collapseLastDays\">";
echo "<div class=\"card bg-light card-body\">Conferences for the last 2 days</div></a>";
echo "<div class=\"collapse show\" id=\"collapseLastDays\">";
echo "<div class=\"results-header\">\n";
echo "<div class=\"results-message\">Conferences for the last 2 days";
if ($time_range_specified) {
echo "<br />for the time period <strong>$from_time - $until_time</strong>";
echo "<p class=\"m-3\">time period: <strong>$from_time - $until_time</strong></p>";
}
echo "</div>\n\n";
//// filters - time selection and sorting dropdowns
//include 'templates/results-filter.php';
echo "</div>\n\n";
// results table
echo "<div class=\"mb-5\">\n";
@ -124,7 +122,7 @@ echo "\n</div>\n";
echo "</div>";
echo "<br />";
// last 10 conferences
try {
@ -182,20 +180,18 @@ try {
}
// display the result
echo "<div class=\"widget\">";
echo "<a style=\"text-decoration: none;\" data-toggle=\"collapse\" href=\"#collapseLastConferences\" role=\"button\" aria-expanded=\"true\" aria-controls=\"collapseLastConferences\">";
echo "<div class=\"card bg-light card-body\">The last $conference_number conferences</div></a>";
echo "<div class=\"collapse show\" id=\"collapseLastConferences\">";
echo "<div class=\"results-header\">\n";
echo "<div class=\"results-message\">The last $conference_number conferences";
if ($time_range_specified) {
echo "<br />for the time period <strong>$from_time - $until_time</strong>";
}
echo "</div>\n\n";
//// filters - time selection and sorting dropdowns
//include 'templates/results-filter.php';
echo "</div>\n\n";
// results table
echo "<div class=\"mb-5\">\n";

View File

@ -4,11 +4,13 @@
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="static/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="static/all.css">
<script src="static/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<title>Jilo Web</title>
</head>
<body>
<script src="static/bootstrap.min.js"></script>
<div class="container-fluid">