MVC + Design update

master
flejk 3 years ago
parent a1b1ee0987
commit 733ec038e7

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,6 +0,0 @@
<footer>
<p>&copy; 2022 - <?php echo date('Y');?> Beer List of Mine</p>
<p>Developed by: <a href="mailto:snowflake@cocaine.ninja">Snowflake</a></p>
</footer>
</body>
</html>

@ -1,30 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Beer List Of Mine</title>
<meta name="description" content="Welcome to BLM - Beer List of Mine, follow your favourite beers"/>
<meta name="author" content="Igor Vujovič" />
<link type="text/css" rel="stylesheet" href="style/style.css" media="all">
<link type="text/css" rel="stylesheet" href="style/print.css" media="print">
</head>
<body>
<header>
<h1>Welcome to BLM<br />
Beer List of Mine</h1>
</header>
<!-- menu-->
<nav>
<div class="menu">
<div class="home-ico"><a href="index.php"><img src="icon/home-ico.png" alt="Home"></a></div>
<ul>
<li>
<!--- TODO -->
</li>
<li>
<!--- TODO -->
</li>
</ul>
</div>
</nav>

@ -1,18 +1,7 @@
<?php require("header.php"); ?> <?php require("view/header.php"); ?>
<div class="content"> <?php require("view/mainContent.php"); ?>
<div class="box">
<h2>News - Lorem Ipsum!</h2>
<p><em> This is a placeholder for news </em></p>
</div>
<div class="box">
<h2>Why do we use it?</h2>
<p><em>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</em></p>
<h2>Where does it come from?</h2>
<p><em>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</em></p>
</div>
</div>
<?php require("sidebar.php"); ?> <?php require("view/sidebar.php"); ?>
<?php require("footer.php"); ?> <?php include("view/footer.php"); ?>

@ -1,48 +0,0 @@
<aside class="right contacts">
<h2>Kontakty</h2>
<ul>
<li class="name">Jan Vais</li>
<li class="content">Mluvčí rady informatiky</li>
<li class="content">Organizace seznamovacích kurzů</li>
<li class="content">4. ročník NMgr. jednoobor</li>
<li><a href="mailto:jan.vais@pedf.cuni.cz">jan.vais@pedf.cuni.cz</a></li>
</ul>
<ul>
<li class="name">Petr Lienert</li>
<li class="content">6. ročník Bc. IT-M</li>
<li><a href="mailto:lienert.petr@gmail.com">lienert.petr@gmail.com</a></li>
</ul>
<ul>
<li class="name">David Zálešák</li>
<li class="content">3. ročník Bc. jednoobor</li>
<li><a href="mailto:dz@pixx.cz">dz@pixx.cz</a></li>
</ul>
<ul>
<li class="name">Emil Miler</li>
<li class="content">1. ročník NMgr. jednoobor</li>
<li><a href="mailto:emil.miler@pedf.cuni.cz">emil.miler@pedf.cuni.cz</a></li>
</ul>
<ul>
<li class="name">Tereza Tichá</li>
<li class="content">1. ročník NMgr. jednoobor</li>
<li><a href="mailto:tt@0x45.cz">tt@0x45.cz</a></li>
</ul>
<ul>
<li class="name">Igor Vujovič</li>
<li class="content">2. ročník Bc. IT-PG</li>
<li><a href="mailto:wereigor@seznam.cz">wereigor@seznam.cz</a></li>
</ul>
<ul>
<li><a href="https://www.facebook.com/groups/110383179112401/">Facebook rady IT</a></li>
</ul>
<p style="font-size:small">Poslední aktualizace kontaktů
<?php
$filename = 'sidebar.php';
if (file_exists($filename)) {
echo date ("d. m. Y", filemtime($filename));
}
?></p>
</aside>

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -0,0 +1,161 @@
/*
Studentská oborová rada ITTV Pedf UK v Praze
http://ittivuk.php5.cz/
Authors: Michaela Stejskalová, Jan Vais, Michal Dudek
Version: release 3.1
*/
/* --- MAIN --- */
/* ZÁKADNÍ BARVY POUŽITÉ V THEME
zelená: #a7c623
zeleno-černá: #2f3511
světle modrá: #c6dcea
*/
body {
text-align: center;
font-family: 'Signika Negative', sans-serif;
max-width: 960px;
margin: auto;
background-color:white;
}
/* - Nadpisy - */
h1, h2, h3, h4 {
font-family: 'Signika Negative', sans-serif;
text-align: left;
color: #575757;
font-size: 1.7em;
}
h1 { /* název stránky */
float: right;
font-size: 1.7em;
margin: 10% 5% 0 0;
}
h2 {
font-size: 1.3em;
margin: 5% 0 2% 0;
border-bottom: 1px dashed #575757;
}
h3 {
font-size: 1.1em;
margin: 5% 0 2% 0;
}
/* --- HEAD --- */
header {
height: 220px;
width: 100%;
margin: 0 0 0 0;
background-image: url("/home/src/bg-logo.png");
background-repeat: no-repeat;
}
nav {
background-color: #575757;
border-radius: 8px;
}
.scrolltainer {
background-color: #575757;
position: fixed;
width: 960px;
bottom:0;
border-radius: 8px;
}
.searchBar {
position: relative;
display: flex;
background-color: #575757;
border-radius: 8px;
justify-content: end;
margin-right: 25px;
}
/* --- CONTENT --- */
.menu {
display: flex;
justify-content: end;
margin-right: 25px;
background-color: #575757;
border-radius: 8px;
}
div.content {
float: left;
width: 66%;
margin-right: 1%;
text-align: justify;
}
aside {
float: right;
width: 28%;
text-align: left;
}
aside ul, aside li {
padding-left: 2%;
list-style: none;
text-align: left;
}
/* Formulář */
input {
border: 1px solid #CCC;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
padding: 1% 1% 1% 1%;
margin: 1% 0 1% 1%;
height: 32px;
font-family: 'Signika Negative', sans-serif;
font-size: 1em;
font-weight: normal;
float: left;
}
input:focus {
border: 1px solid #09F;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
outline: none;
}
button {
text-align: center;
background: #575757;
color: #575757;
border: 2px solid #fff;
border-radius: 8px;
cursor: pointer;
outline: 0;
}
button:hover {
color: #fff;
background: #575757;
border: 2px solid #fff;
}
/* --- FOOTER --- */
footer {
clear: both;
width: 100%;
text-align: center;
color: #575757;
border-top: 1px dashed #575757;
padding-bottom: 80px;
}
footer p {
margin: 0 0 0 0;
}

@ -1,264 +0,0 @@
/*
Studentská oborová rada ITTV Pedf UK v Praze
http://ittivuk.php5.cz/
Authors: Michaela Stejskalová, Jan Vais, Michal Dudek
Version: release 3.1
*/
/* --- MAIN --- */
/* ZÁKADNÍ BARVY POUŽITÉ V THEME
zelená: #a7c623
zeleno-černá: #2f3511
světle modrá: #c6dcea
*/
body {
text-align: center;
font-family: 'Signika Negative', sans-serif;
max-width: 960px;
margin: auto;
background-color:white;
}
/* - Nadpisy - */
h1, h2, h3, h4 {
font-family: 'Signika Negative', sans-serif;
text-align: left;
color: #575757;
font-size: 1.7em;
}
h1 { /* název stránky */
float: right;
font-size: 1.7em;
margin: 10% 5% 0 0;
}
h2 {
font-size: 1.3em;
margin: 5% 0 2% 0;
border-bottom: 1px dashed #575757;
}
h3 {
font-size: 1.1em;
margin: 2% 0 0 0;
}
/* --- HEAD --- */
header {
height: 250px;
width: 100%
margin: 0 0 0 0;
background-image: url(/images/bg_logo_gray.png);
background-repeat: no-repeat;
}
/* - Menu - */
nav {
background-color: #575757;
color: white;
font-size: 1em;
}
.menu {
margin: 0 auto;
width: 100%;
text-align: right;
}
/* AUTHOR: Josh Riser
URL: http://cssdeck.com/labs/another-simple-css3-dropdown-menu */
.menu ul {
text-align: left;
display: inline;
margin: 0;
padding: 0px 4px 0px 0;
list-style: none;
color:white;
background-color: #575757;
width: 930px;
}
.menu ul li {
font: bold 16pt;
color:white;
display: inline-block;
margin-right: -4px;
position: relative;
padding: 25px 25px;
}
.menu ul li a:link {
color: #FFF;
text-decoration:none;
font-size:16pt;
}
.menu ul li:hover {
background: #575757;
color: #FFF;
}
.menu ul li a:visited {
color: #FFF;
}
.menu ul li ul {
padding: 0;
position: absolute;
top: 40px;
left: 0;
width: 240px;
display: none;
}
.menu ul li ul li {
background: #575757;
display: block;
color: #fff;
font-size: 14pt;
}
.menu ul li ul li:hover {
background: #575757;
color: black;
}
.menu ul li ul li a:link {
font-size: 12pt;
}
.menu ul li:hover ul {
display: block;
opacity: 1;
visibility: visible;
}
.home-ico {
padding: 9px 10px 8px 10px;
margin:0px;
float:left;
}
.home-ico:hover{
padding: 9px 10px 8px 10px;
margin:0px;
float:left;
background: #575757;
}
/* --- CONTENT --- */
div.content {
float: left;
width: 66%;
margin: 0 0 0 0;
text-align: justify;
}
aside.right {
float: right;
width: 28%;
margin: 2% 0 0 0;
text-align: left;
}
aside ul, aside li {
list-style: none;
}
aside h2 {
margin: 5% 0 2% 0;
}
table {
margin: 5% 0 5% 0;
}
table th {
font-family: 'Signika Negative', sans-serif;
text-align: left;
color: #575757;
font-size: 1.1em;
}
table td {
padding: 0 0 1% 5%;
}
table p {
font-family: 'Signika Negative', sans-serif;
text-align: left;
color: #575757;
font-size: 1em;
}
/* Formulář */
input {
border: 1px solid #CCC;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
padding: 1% 1% 1% 1%;
margin: 1% 0 1% 1%;
font-family: 'Signika Negative', sans-serif;
font-size: 1em;
font-weight: normal;
float: left;
}
input:focus {
border: 1px solid #09F;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
outline: none;
}
textarea {
border: 1px solid #CCC;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
padding: 1% 1% 1% 1%;
margin: 1% 0 1% 1%;
float: left;
font-family: 'Signika Negative', sans-serif;
font-size: 1en;
font-weight: normal;
width: 95%;
}
textarea:focus {
border: 1px solid #09F;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
outline: none;
}
.text {width: 46%;}
textarea.text {width: 95%;}
.button {
float: left;
width: 48%;
color: #fff;
text-align: center;
font-size: 1.3em;
background: #575757;
border: 3px solid #575757;
border-radius: 8px;
cursor: pointer;
outline: 0;
}
.button:hover {
background: #fff;
color: #575757;
border: 3px solid #575757;
}
/* --- FOOTER --- */
footer {
clear: both;
width: 100%;
text-align: center;
color: #575757;
margin: 0 0 1% 0;
padding: 1% 0 0 0;
border-top: 1px dashed #575757;
}
footer p {
margin: 0 0 0 0;
}
.contacts .name {
font-weight: 600;
}
.contacts .content {
font-style: italic;
}

@ -0,0 +1,12 @@
<div class="scrolltainer">
<form id="searchBar" method="get" class="searchBar" action="/home/search.php">
<input id="SearchText" type="text" name="keyword" placeholder="Beers, Breweries and more..." size="22" autocomplete="off">
<input id="SearchButton" type="image" alt="Search !" src="src/search-ico.png">
</form>
</div>
<footer>
<p>&copy; 2022 - <?php echo date('Y');?> Beer List of Mine</p>
<p>Developed by: <a href="mailto:snowflake@cocaine.ninja">Snowflake</a></p>
</footer>
</body>
</html>

@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Beer List Of Mine</title>
<meta name="description" content="Welcome to Beer List of Mine, follow your favourite beers"/>
<meta name="author" content="Igor Vujovič" />
<link type="text/css" rel="stylesheet" href="src/style/style.css" media="all">
<link type="text/css" rel="stylesheet" href="src/style/print.css" media="print">
</head>
<body>
<header>
<h1>Welcome to<br/>Beer List of Mine</h1>
</header>
<!-- menu-->
<nav>
<div>
<form id="nigol" method="POST" action="/home/verify.php" class="menu">
<input id="prihlasovaciJmeno" type="text" placeholder="Nickname" size="22" >
<input id="prihlasovaciHeslo" type="password" placeholder="Passphrase" size="22" >
<input id="SearchButton" type="image" alt="Enter !" src="src/key-ico.png">
</form>
</div>
</nav>

@ -0,0 +1,23 @@
<div class="content">
<div class="box">
<article>
<h2>News - Lorem Ipsum!</h2> <time pubdate="pubdate"> 07-02-2022 </time>
<p><em> This is a placeholder for news </em></p>
</article>
</div>
<div class="box">
<article>
<h2>Why do we use it?</h2> <time pubdate="pubdate"> 07-02-2022 </time>
<p><em>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</em></p>
</article>
</div>
<div class="box">
<article>
<h2>Where does it come from?</h2> <time pubdate="pubdate"> 07-02-2022 </time>
<p><em>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</em></p>
</article>
</div>
</div>

@ -0,0 +1,26 @@
<aside>
<div>
<h3>New Beers</h3>
<ul>
<li>Zichovec</li>
<li>Matuska</li>
<li>Siberia</li>
<li>Cestmir</li>
<li>Pilsner</li>
</ul>
</div>
<div>
<h3>New Breweries</h3>
<ul>
<li>Zichovec</li>
<li>Matuska</li>
<li>Siberia</li>
<li>Cestmir</li>
<li>Pilsner</li>
</ul>
</div>
</aside>
Loading…
Cancel
Save