hezký web
|
@ -73,11 +73,11 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
'loggers': {
|
'loggers': {
|
||||||
# Vypisovani databazovych dotazu do konzole
|
# Vypisovani databazovych dotazu do konzole
|
||||||
'django.db.backends': {
|
#'django.db.backends': {
|
||||||
'level': 'DEBUG',
|
# 'level': 'DEBUG',
|
||||||
'handlers': ['console'],
|
# 'handlers': ['console'],
|
||||||
'propagate': False,
|
# 'propagate': False,
|
||||||
},
|
#},
|
||||||
'': {
|
'': {
|
||||||
'handlers': ['console'],
|
'handlers': ['console'],
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
|
|
|
@ -3,6 +3,16 @@
|
||||||
body {
|
body {
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: 'Open Sans', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
background-color: #fffbf6;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container {
|
||||||
|
width: 970px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #6f2509;
|
||||||
}
|
}
|
||||||
|
|
||||||
.org-logged-in .mam-text-plugin {
|
.org-logged-in .mam-text-plugin {
|
||||||
|
@ -44,7 +54,6 @@ table .border-b {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.container {
|
div.container {
|
||||||
background-color: #fff8eb;
|
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,33 +74,53 @@ h1 {
|
||||||
|
|
||||||
/* Headline & Header */
|
/* Headline & Header */
|
||||||
|
|
||||||
|
#title { /*dělá blbosti šířka, je to kvůli fixed pozici, zatím natvrdo, vyřešit*/
|
||||||
|
height: 55px;
|
||||||
|
width: 970px;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 10;
|
||||||
|
background-color: #e84e10;
|
||||||
|
filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4));
|
||||||
|
|
||||||
|
font-size: 200%;
|
||||||
|
color: #fffbf6;
|
||||||
|
font-weight: 400;
|
||||||
|
font-variant: small-caps;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: bold;
|
||||||
|
padding-top: 8px
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#header {
|
#header {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 250%;
|
background: url("../images/uvod.jpg") no-repeat center top;
|
||||||
background: url("../images/header-bg-uvod.jpg") no-repeat center top;
|
background-size: 100%;
|
||||||
height: 255px;
|
top: 58px;
|
||||||
top: -1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*todo: rozumné fotky*/
|
||||||
|
|
||||||
#header.cojemam { background-image: url("../images/header-bg-uvod.jpg"); }
|
#header.cojemam { background-image: url("../images/uvod.jpg");}
|
||||||
#header.soustredeni { background-image: url("../images/header-bg-soustredeni.jpg"); }
|
#header.soustredeni { background-image: url("../images/noc.jpg");}
|
||||||
#header.zadani { background-image: url("../images/header-bg-zadani.jpg"); }
|
#header.zadani { background-image: url("../images/noc.jpg");}
|
||||||
#header.clanky { background-image: url("../images/header-bg-clanek.jpg"); }
|
#header.clanky { background-image: url("../images/stiny.jpg");}
|
||||||
#header.archiv { background-image: url("../images/header-bg-archiv.jpg"); }
|
#header.archiv { background-image: url("../images/ohen.jpg");}
|
||||||
|
|
||||||
|
#header.NOC {background-image: url("../images/uvod.jpg");}
|
||||||
|
#header.NOCcojemam { background-image: url("../images/noc.jpg");}
|
||||||
|
#header.NOCsoustredeni { background-image: url("../images/stiny.jpg");}
|
||||||
|
#header.NOCzaani { background-image: url("../images/ohen.jpg");}
|
||||||
|
#header.NOCclanky { background-image: url("../images/ohen.jpg");}
|
||||||
|
#header.NOCarchiv { background-image: url("../images/uvod.jpg");}
|
||||||
|
|
||||||
#header.NOC {background-image: url("../images/header-bg-uvod-NOC.jpg"); }
|
|
||||||
#header.NOCcojemam { background-image: url("../images/header-bg-uvod-NOC.jpg"); }
|
|
||||||
#header.NOCsoustredeni { background-image: url("../images/header-bg-soustredeni-NOC.jpg"); }
|
|
||||||
#header.NOCzadani { background-image: url("../images/header-bg-zadani-NOC.jpg"); }
|
|
||||||
#header.NOCclanky { background-image: url("../images/header-bg-clanek-NOC.jpg"); }
|
|
||||||
#header.NOCarchiv { background-image: url("../images/header-bg-archiv-NOC.jpg"); }
|
|
||||||
|
|
||||||
#header img.logo {
|
#header img.logo {
|
||||||
position: absolute;
|
position: absolute center;
|
||||||
top: 40px;
|
width: 100%;
|
||||||
left: 55px;
|
filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#header h1 {
|
#header h1 {
|
||||||
font-size: 130%;
|
font-size: 130%;
|
||||||
|
@ -101,6 +130,7 @@ h1 {
|
||||||
height: 110px;
|
height: 110px;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#header img.header {
|
#header img.header {
|
||||||
margin: -25px 20px 0px 0px;
|
margin: -25px 20px 0px 0px;
|
||||||
height: 145px;
|
height: 145px;
|
||||||
|
@ -108,6 +138,7 @@ h1 {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Menu */
|
/* Menu */
|
||||||
|
|
||||||
div.menu.mobile {
|
div.menu.mobile {
|
||||||
|
@ -118,10 +149,8 @@ div.menu.desktop {
|
||||||
}
|
}
|
||||||
div.menu {
|
div.menu {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -10px;
|
|
||||||
z-index: 10;
|
|
||||||
background: url("../images/menu-bg.png") no-repeat left top;
|
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
top: 12px;
|
||||||
}
|
}
|
||||||
div.menu ul {
|
div.menu ul {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -145,21 +174,20 @@ div.menu li {
|
||||||
div.menu a {
|
div.menu a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
color: #006400;
|
color: #6f2509;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
}
|
}
|
||||||
div.menu a:hover {
|
div.menu a:hover {
|
||||||
background: url("../images/menu-bg-selected.png") no-repeat left -7px;
|
color: black;
|
||||||
background-size: 100% 68px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #003c00;
|
/*background: url("../images/menu-selected.svg") no-repeat center -4px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
div.menu li.selected a {
|
div.menu li.selected a {
|
||||||
background: url("../images/menu-bg-selected.png") no-repeat left -7px;
|
/*background: url("../images/menu-selected.svg") no-repeat center -4px;
|
||||||
background-size: 100% 68px;
|
background-size: 98% 68px;*/
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #003c00;
|
color: black;
|
||||||
z-index: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 a:hover {
|
h1 a:hover {
|
||||||
|
@ -168,35 +196,39 @@ h1 a:hover {
|
||||||
|
|
||||||
#submenu {
|
#submenu {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -15px;
|
top: 4px;
|
||||||
background: url("../images/submenu-bg.png") no-repeat left top;
|
background: url("../images/submenu.svg") no-repeat left top;
|
||||||
height: 60px;
|
background-size: 100%;
|
||||||
|
filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4));
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#submenu ul {
|
#submenu ul {
|
||||||
padding: 0px 15px;
|
padding: 10px 30px;
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
#submenu li {
|
#submenu li {
|
||||||
padding: 4px 20px;
|
padding: 4px 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 40px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
#submenu li>a {
|
#submenu li>a {
|
||||||
color: #003c00;
|
color: #f9d59e;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
#submenu li>a:hover {
|
#submenu li>a:hover {
|
||||||
color: #3c003c;
|
color: #3c003c;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
#submenu li.selected {
|
#submenu li.selected {
|
||||||
background: url("../images/submenu-bg-selected.png") no-repeat center;
|
background: url("../images/submenu-bg-selected.png") no-repeat center -11px;
|
||||||
background-size: 150% 150%;
|
background-size: 150% 150%;
|
||||||
}
|
}
|
||||||
#submenu li.selected>a {
|
#submenu li.selected>a {
|
||||||
color: #3c003c;
|
color: #3c003c;
|
||||||
}
|
}
|
||||||
/*#submenu li:first-child {
|
#submenu li:first-child {
|
||||||
border-top-left-radius: 7px;
|
border-top-left-radius: 7px;
|
||||||
border-top-right-radius: 7px;
|
border-top-right-radius: 7px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
@ -226,15 +258,10 @@ div.zadani_azad_termin {
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
background: url("../images/footer-bg-top.png") no-repeat top center;
|
background: url("../images/footer.svg") no-repeat top center;
|
||||||
background-color: #ffd546;
|
background-color: #ffd546;
|
||||||
padding: 20px 30px 0px 30px;
|
padding: 20px 30px 0px 30px;
|
||||||
min-height: 210px;
|
width: 100%;
|
||||||
}
|
|
||||||
|
|
||||||
#footer-extra {
|
|
||||||
background: url("../images/footer-bg-bottom.png") no-repeat bottom center;
|
|
||||||
height: 39px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p.license {
|
#footer p.license {
|
||||||
|
@ -275,8 +302,6 @@ div.zadani_azad_termin {
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
#header img.logo {
|
#header img.logo {
|
||||||
top: 27px;
|
|
||||||
left: 35px;
|
|
||||||
height: 140px;
|
height: 140px;
|
||||||
}
|
}
|
||||||
div.menu li {
|
div.menu li {
|
||||||
|
|
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 8.8 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %}{% block nadpis1a %}{% endblock %} – Korespondenční seminář M&M{% endblock title %}</title>
|
<title>{% block title %}{% block nadpis1a %}{% endblock %} – Korespondenční seminář M&M{% endblock title %}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="shortcut icon" href="{% static 'favicon.ico' %}" type="image/x-icon">
|
<link rel="shortcut icon" href="{% static 'images/MATFYZ_MM_barevne.svg' %}" type="image/x-icon">
|
||||||
{% render_block "css" %}
|
{% render_block "css" %}
|
||||||
<link href="{% static 'css/bootstrap-theme.css' %}" rel="stylesheet">
|
<link href="{% static 'css/bootstrap-theme.css' %}" rel="stylesheet">
|
||||||
<link href="{% static 'css/bootstrap.css' %}" rel="stylesheet">
|
<link href="{% static 'css/bootstrap.css' %}" rel="stylesheet">
|
||||||
|
@ -34,8 +34,11 @@
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class='{% if user.is_staff %}org-logged-in{% endif %}'>
|
<body class='{% if user.is_staff %}org-logged-in{% endif %}'>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
<div class="login-bar" style='background: #F80;'>
|
<div class="login-bar" style='background: #6a0043;'>
|
||||||
{% if view.object %}
|
{% if view.object %}
|
||||||
Objekt {{ view.object }}: {{ view.object }}
|
Objekt {{ view.object }}: {{ view.object }}
|
||||||
{% if view.object.admin_url %}<a href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
|
{% if view.object.admin_url %}<a href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
|
||||||
|
@ -47,12 +50,13 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-md-12'>
|
<div class='col-md-12'>
|
||||||
<a href='/'>
|
<a href='/'>
|
||||||
|
<div id="title" >M&M - korepsondenční seminář a časopis MFF UK</div>
|
||||||
<div id="header" class="{% if noc %}NOC{% endif %}{% block header %}{% endblock %}">
|
<div id="header" class="{% if noc %}NOC{% endif %}{% block header %}{% endblock %}">
|
||||||
<img class="logo" src="{% static 'images/logo.png' %}" />
|
<img class="logo" src="{% static 'images/logo.svg' %}" />
|
||||||
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -109,10 +113,11 @@
|
||||||
<a href="http://jcmf.cz/"><img class="logo-left" src="{% static 'images/logo-jcmf.png' %}" /></a>
|
<a href="http://jcmf.cz/"><img class="logo-left" src="{% static 'images/logo-jcmf.png' %}" /></a>
|
||||||
<p class="organize"><a href="/co-je-MaM/kontakt/">Korespondenční seminář M&M</a> organizují převážně studenti MFF UK. Organizaci semináře a vydávání časopisu podporuje <a href="http://jcmf.cz">Jednota českých matematiků a fyziků</a>.</p>
|
<p class="organize"><a href="/co-je-MaM/kontakt/">Korespondenční seminář M&M</a> organizují převážně studenti MFF UK. Organizaci semináře a vydávání časopisu podporuje <a href="http://jcmf.cz">Jednota českých matematiků a fyziků</a>.</p>
|
||||||
<a href="http://mff.cuni.cz"><img class="logo-right" src="{% static 'images/logo-mff.png' %}" /></a>
|
<a href="http://mff.cuni.cz"><img class="logo-right" src="{% static 'images/logo-mff.png' %}" /></a>
|
||||||
</div><div id="footer-extra"></div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="{% static 'js/bootstrap.js' %}"></script>
|
<script src="{% static 'js/bootstrap.js' %}"></script>
|
||||||
<script src="{% static 'js/jquery.jcarousel-core.js' %}" type="text/javascript"></script>
|
<script src="{% static 'js/jquery.jcarousel-core.js' %}" type="text/javascript"></script>
|
||||||
<script src="{% static 'js/jquery.prettyPhoto.js' %}" type="text/javascript" charset="utf-8"></script>
|
<script src="{% static 'js/jquery.prettyPhoto.js' %}" type="text/javascript" charset="utf-8"></script>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
{% for org in object_list %}
|
{% for org in object_list %}
|
||||||
<h1>
|
<h1>
|
||||||
{{org.osoba.jmeno}}
|
{{org.osoba.jmeno}}
|
||||||
{% if org.prezdivka %}
|
{% if org.osoba.prezdivka %}
|
||||||
„{{org.osoba.prezdivka}}“
|
„{{org.osoba.prezdivka}}“
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{org.osoba.prijmeni}}
|
{{org.osoba.prijmeni}}
|
||||||
|
@ -55,11 +55,14 @@
|
||||||
{% if org.skola %}
|
{% if org.skola %}
|
||||||
<li>{{org.studuje}} na {{org.skola}}
|
<li>{{org.studuje}} na {{org.skola}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if org.osoba.email %}
|
{% if org.osoba.email %}
|
||||||
<li>Pošta:
|
<li>Pošta:
|
||||||
{# zobrazeni e-mailu (na jednom radku, aby nevznikaly mezery navic) #}
|
{# zobrazeni e-mailu (na jednom radku, aby nevznikaly mezery navic) #}
|
||||||
{% for znak in org.osoba.email %}{% if znak == '@' %} <zavináč> {% elif znak == '.' %} <tečka> {% else %}{{znak}}{% endif %}{% endfor %}
|
{% for znak in org.osoba.email %}{% if znak == '@' %} <at> {% elif znak == '.' %} <dot> {% else %}{{znak}}{% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
{# {{org.strucny_popis_organizatora}} #}
|
{# {{org.strucny_popis_organizatora}} #}
|
||||||
</td>
|
</td>
|
||||||
|
|