Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
525fe51328 | ||
|
|
e515554240 | ||
|
|
1bee5ad56b | ||
|
|
270070866e | ||
|
|
887b87f71c | ||
|
|
dd31c4d21a | ||
|
|
a34ea4acef | ||
|
|
3a9a7b5b9c | ||
|
|
fbfeabf366 | ||
|
|
be1ad6f71a | ||
|
|
9a40936f48 | ||
|
|
003688a565 | ||
|
|
54800990ab |
No files matched your search
@@ -1 +0,0 @@
|
||||
rolnik.maathias.pl
|
||||
@@ -1,92 +0,0 @@
|
||||
.logo {
|
||||
background-image: url("/static/tyl.jpg");
|
||||
background-size: 100vw;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
height: 15vh;
|
||||
}
|
||||
|
||||
.bg-blue {
|
||||
background-color: #1976d2;
|
||||
}
|
||||
|
||||
.bg-red {
|
||||
background-color: #d32f2f;
|
||||
}
|
||||
|
||||
.bg-purple {
|
||||
background-color: #7b1fa2;
|
||||
}
|
||||
|
||||
.bg-green {
|
||||
background-color: #388e3c;
|
||||
}
|
||||
|
||||
a[class^="carousel-control-"]:hover {
|
||||
background: #00000022;
|
||||
}
|
||||
|
||||
#navbarSupportedContent > form > input {
|
||||
width: calc(100% - 83px);
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
#navbarSupportedContent > form > button {
|
||||
width: 75px;
|
||||
}
|
||||
|
||||
#navbarSupportedContent > ul {
|
||||
margin-top: 8px;
|
||||
border-top: 1px solid hsla(210, 10%, 18%, 1);
|
||||
}
|
||||
|
||||
.articleImg {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.articleTags {
|
||||
width: 100%;
|
||||
background: #00000055;
|
||||
border-radius: 5px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.articleTags > .articleTag {
|
||||
background: #00000033;
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.row.container-footer{
|
||||
border-top: 1px solid #343a40;
|
||||
margin: 20px 0px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.navbar-nav > li.nav-item{
|
||||
border-bottom: 1px dashed #292e32;
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
background-color: #eceff1;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
#navbarSupportedContent > ul {
|
||||
margin-top: initial;
|
||||
border-top: initial;
|
||||
}
|
||||
|
||||
.navbar-nav > li.nav-item{
|
||||
border-bottom: initial;
|
||||
}
|
||||
|
||||
ul.navbar-nav li.dropdown:hover > div.dropdown-menu {
|
||||
margin: 0;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-item:hover {
|
||||
background-color: rgba(165, 165, 165, 0.5);
|
||||
}
|
||||
-360
@@ -1,360 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Zespół Szkół i Placówek Oświatowych w Nysie</title>
|
||||
<!-- TODO: themecolor -->
|
||||
<link rel="shortcut icon" href="/static/logo/Favicon@32.png" type="image/x-icon" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
||||
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<link rel="stylesheet" href="./css/style.css" />
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150749288-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-150749288-1');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="text-center logo"></header>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand mb-0 h1" href="#">ZSiPO w Nysie</a>
|
||||
<button
|
||||
class="navbar-toggler"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
data-target="#navbarSupportedContent"
|
||||
aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false"
|
||||
aria-label="Toggle navigation"
|
||||
>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="#">Start <span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item"><a class="nav-link" href="#">Plan Lekcji</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#">e-Dziennik</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a
|
||||
class="nav-link dropdown-toggle"
|
||||
href="#"
|
||||
id="navbarDropdown"
|
||||
role="button"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"
|
||||
>
|
||||
Skróty
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" href="#">Rekrutacja</a>
|
||||
<a class="dropdown-item" href="#">Rolnik na Facebooku</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">Rolnik in photography</a>
|
||||
<a class="dropdown-item" href="#">Samorząd uczniowski</a>
|
||||
<a class="dropdown-item" href="#">Foto Galeria</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">COOLtura and ROLLnik</a>
|
||||
<a class="dropdown-item" href="#">From globe to erasmus</a>
|
||||
<a class="dropdown-item" href="#">Frelancer</a>
|
||||
<a class="dropdown-item" href="#">Projekty</a>
|
||||
<a class="dropdown-item" href="#">Rekonysa'ns</a>
|
||||
<a class="dropdown-item" href="#">Klaster gastronomiczny</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">Office 365</a>
|
||||
<a class="dropdown-item" href="#">Informatyka</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link disabled" href="#">Disabled</a>
|
||||
</li>
|
||||
</ul>
|
||||
<form class="form-inline my-2 my-lg-0">
|
||||
<input
|
||||
class="form-control mr-sm-2"
|
||||
type="search"
|
||||
placeholder="Search"
|
||||
aria-label="Search"
|
||||
/>
|
||||
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<div id="carouselMain" class="carousel slide mt-3" data-ride="carousel">
|
||||
<ol class="carousel-indicators">
|
||||
<li data-target="#carouselMain" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#carouselMain" data-slide-to="1"></li>
|
||||
<li data-target="#carouselMain" data-slide-to="2"></li>
|
||||
</ol>
|
||||
<div class="carousel-inner">
|
||||
<div class="carousel-item active">
|
||||
<img
|
||||
class="d-block w-100"
|
||||
src="http://rolniknysa.pl/images/slider/sli7.jpg"
|
||||
alt="First slide"
|
||||
/>
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img
|
||||
class="d-block w-100"
|
||||
src="http://rolniknysa.pl/images/slider/sli_odczyn.jpg"
|
||||
alt="Second slide"
|
||||
/>
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img
|
||||
class="d-block w-100"
|
||||
src="http://rolniknysa.pl/images/slider/sli2.jpg"
|
||||
alt="Third slide"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<a class="carousel-control-prev" href="#carouselMain" role="button" data-slide="prev">
|
||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="carousel-control-next" href="#carouselMain" role="button" data-slide="next">
|
||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 mt-3">
|
||||
<div class="card mb-3">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-md-4 align-self-center">
|
||||
<img
|
||||
src="http://rolniknysa.pl/media/k2/items/cache/d857df8a9cfd7c86ccb2e9f710b5414b_XL.jpg"
|
||||
class="card-img"
|
||||
alt="..."
|
||||
/>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
Otrzymaliśmy podziękowania za Erasmus Day w ZSiPO w Nysie
|
||||
</h5>
|
||||
<p class="card-text text-justify">
|
||||
Dziękujemy za Wasze zaangażowanie! W dniach 10-12 października br. w ramach
|
||||
obchodów Erasmus Days w całej Polsce odbyło się 199...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-muted">
|
||||
<div class="row">
|
||||
<div class="col-sm-7 text-truncate">
|
||||
<a href="#">tag1</a>, <a href="#">tag2</a>, <a href="#">tag3</a>,
|
||||
<a href="#">tag4</a>, <a href="#">tag5</a>, <a href="#">tag6</a>,
|
||||
<a href="#">tag7</a>,
|
||||
<a href="#">tag8</a>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<p class="card-text text-right">
|
||||
<small class="text-muted"
|
||||
><time datetime="2019-10-20 19:54">Niedziela, 20.10.2019 19:02</time></small
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-3">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-md-12">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
Mistrzostwa Miasta i Gminy Nysa w Tenisie Stołowym Szkół Średnich
|
||||
</h5>
|
||||
<p class="card-text text-justify">
|
||||
W dniu 17.10.2019 roku w hali Zespołu Szkół i Placówek Oświatowych w Nysie
|
||||
odbyły się Mistrzostwa Miasta i Gminy Nysa...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-muted">
|
||||
<div class="row">
|
||||
<div class="col-sm-7 text-truncate">
|
||||
<a href="#">tag1</a>, <a href="#">tag2</a>, <a href="#">tag3</a>,
|
||||
<a href="#">tag4</a>, <a href="#">tag5</a>, <a href="#">tag6</a>,
|
||||
<a href="#">tag7</a>,
|
||||
<a href="#">tag8</a>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<p class="card-text text-right">
|
||||
<small class="text-muted"
|
||||
><time datetime="2019-10-20 19:37">Niedziela, 20.10.2019 19:37</time></small
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-3">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-md-4 align-self-center">
|
||||
<img
|
||||
src="http://rolniknysa.pl/media/k2/items/cache/5459fdebc623d8908312fbf56cc3b92a_XL.jpg"
|
||||
class="card-img"
|
||||
alt="..."
|
||||
/>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Dzień Nauczyciela</h5>
|
||||
<p class="card-text text-justify">dzien-nauczyciela</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-muted">
|
||||
<div class="row">
|
||||
<div class="col-sm-7 text-truncate">
|
||||
<a href="#">tag1</a>, <a href="#">tag2</a>, <a href="#">tag3</a>,
|
||||
<a href="#">tag4</a>, <a href="#">tag5</a>, <a href="#">tag6</a>,
|
||||
<a href="#">tag7</a>,
|
||||
<a href="#">tag8</a>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<p class="card-text text-right">
|
||||
<small class="text-muted"
|
||||
><time datetime="2019-10-16 22:56">Środa, 16.10.2019 22:56</time></small
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-3">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-md-4 align-self-center">
|
||||
<img
|
||||
src="http://rolniknysa.pl/media/k2/items/cache/0a0ad529e93f57f85e15802b10ac6d71_XL.jpg"
|
||||
class="card-img"
|
||||
alt="..."
|
||||
/>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Awans piłkarek!</h5>
|
||||
<p class="card-text text-justify">
|
||||
W dniu 9.10.2019r. byliśmy gospodarzem Eliminacji do Mistrzostw Powiatu w piłce
|
||||
nożnej dziewcząt, w których wzięły udział 3 nyskie szkoły:...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-muted">
|
||||
<div class="row">
|
||||
<div class="col-sm-7 text-truncate">
|
||||
<a href="#">tag1</a>, <a href="#">tag2</a>, <a href="#">tag3</a>,
|
||||
<a href="#">tag4</a>, <a href="#">tag5</a>, <a href="#">tag6</a>,
|
||||
<a href="#">tag7</a>,
|
||||
<a href="#">tag8</a>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<p class="card-text text-right">
|
||||
<small class="text-muted"
|
||||
><time datetime="2019-10-16 22:53">Środa, 16.10.2019 22:53</time></small
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class='col-md-4 bg-blue'>
|
||||
TODO: skróty
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="row container-footer">
|
||||
<div class="col-md-3">
|
||||
<div class="list-group list-group-flush">
|
||||
<button type="button" class="list-group-item list-group-item-action">
|
||||
Rada Rodziców
|
||||
</button>
|
||||
<button type="button" class="list-group-item list-group-item-action">
|
||||
Dyrekcja Szkoły
|
||||
</button>
|
||||
<button type="button" class="list-group-item list-group-item-action">
|
||||
Pedagog Szkolny
|
||||
</button>
|
||||
<button type="button" class="list-group-item list-group-item-action">
|
||||
Rzecznik Praw Ucznia
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">Zespól Szkól i Placówek Oświatowych</li>
|
||||
<li class="list-group-item">ul. Rodziewiczówny 1, 48-303 Nysa</li>
|
||||
<li class="list-group-item">tel. +48 77 4310466-67</li>
|
||||
<li class="list-group-item">zsr_nysa@wodip.opole.pl</li>
|
||||
<li class="list-group-item">http://zsiponysa.bip.gov.pl/</li>
|
||||
<li class="list-group-item">klauzula informacyjna</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Twórcy strony</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Mateusz Pstrucha</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sebastian Fudalej</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michał Kozłowski</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
||||
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
|
||||
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script
|
||||
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
|
||||
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script src="/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Whitespace-only changes.
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 154 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
-2108
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,109 @@
|
||||
body {
|
||||
margin: 0px;
|
||||
font-family: "Roboto";
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
#headLogo {
|
||||
height: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
/* div,
|
||||
header,
|
||||
nav,
|
||||
section,
|
||||
aside,
|
||||
footer,
|
||||
main {
|
||||
border: 1px dashed black;
|
||||
} */
|
||||
|
||||
head {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#feed > article.news > img {
|
||||
max-width: 100px;
|
||||
max-height: 100px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
#feed > article.news > header {
|
||||
display: flexbox;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 75%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#headLogo {
|
||||
width: 80vw;
|
||||
padding: calc((100vh - 80vw) / 2) 10vw;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
body > header > nav {
|
||||
background-color: #195202;
|
||||
user-select: none;
|
||||
widows: 100%;
|
||||
}
|
||||
|
||||
.navList,
|
||||
.navSubList{
|
||||
list-style: none;
|
||||
border: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.navEl,
|
||||
.navSubEl{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.navSubEl{
|
||||
background: #00a000;
|
||||
padding: 10px 0px;
|
||||
border-bottom: 1px solid white;
|
||||
}
|
||||
|
||||
.navList {
|
||||
width: 100%;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navEl {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 10px 0px;
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
|
||||
.navSubList{
|
||||
height: 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.elActive>.navSubList{
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* body > header > nav > span.navElement {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 10px 0px;
|
||||
border-bottom: 2px solid white;
|
||||
} */
|
||||
|
||||
body > header > nav > span.navElement:hover {
|
||||
background-color: darkgreen;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
:root {
|
||||
/* --colorPrimary400: TODO choose color scheme */
|
||||
/* --colorPrimary600: TODO choose color scheme */
|
||||
/* --colorPrimary800: TODO choose color scheme */
|
||||
/* --fontFamily: TODO choose font */
|
||||
/* --fontSizeMd: TODO choose font size */
|
||||
/* --fontSizeLg: TODO choose font size */
|
||||
/* --fontSizeXl: TODO choose font size */
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<html lang="pl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<!-- TODO: theme color -->
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Zespół Szkół i Placówek Oświatowych w Nysie</title>
|
||||
|
||||
<link rel="stylesheet" href="css/main.css" />
|
||||
<link rel="shortcut icon" href="static/logo/Favicon@32.png" type="image/x-icon" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
|
||||
<script src="js/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<!-- <img src="static/logo/Big.svg" alt="Rolnik logo" id="headLogo" /> -->
|
||||
<object type="image/svg+xml" data="static/logo/Big.svg" id="headLogo">
|
||||
Your browser does not support SVG
|
||||
</object>
|
||||
<!-- <span>Zespół Szkół i Placówek Oświatowych w Nysie</span> -->
|
||||
<nav>
|
||||
<ul class="navList">
|
||||
<li><span class="navEl">Element 1</span>
|
||||
<ul class="navSubList">
|
||||
<li class="navSubEl">Sub 1</li>
|
||||
<li class="navSubEl">Sub 2</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><span class="navEl">Element 2</span>
|
||||
<ul class="navSubList">
|
||||
<li class="navSubEl">Sub 1</li>
|
||||
<li class="navSubEl">Sub 2</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- <div class='navElement'>Element 1</div>
|
||||
<div class='navElement'>Element 2</div>
|
||||
<div class='navElement'>Element 3</div>
|
||||
<div class='navElement'>Element 4</div>
|
||||
<div class='navElement'>Element 5</div>
|
||||
<div class='navElement'>Element 6</div> -->
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<section id='feed'>
|
||||
<article class='news'>
|
||||
<header>Lorem ipsum</header>
|
||||
<img src="https://4.img-dpreview.com/files/p/E~TS590x0~articles/3925134721/0266554465.jpeg" alt="" />
|
||||
<time datetime="2019-10-14">14 października 2019r.</time>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit illum iusto dignissimos dolorum sed
|
||||
fuga minima beatae. Possimus deleniti non dolor doloribus sapiente incidunt excepturi vitae
|
||||
perspiciatis quia, culpa rerum!</p>
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
<footer>footer</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,9 @@
|
||||
const $ = selector => document.querySelector(selector);
|
||||
|
||||
window.onload = () => {
|
||||
document.querySelectorAll('.navList>li').forEach(el => {
|
||||
el.onclick = function (e) {
|
||||
if(e.target.parentElement == el) this.classList.toggle('elActive')
|
||||
}
|
||||
})
|
||||
};
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user