128 lines
		
	
	
	
		
			4.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			128 lines
		
	
	
	
		
			4.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% load staticfiles sekizai_tags %}
 | ||
| {% load sitetree %}
 | ||
| <!DOCTYPE html>
 | ||
| <html lang='cs'>
 | ||
|   <head>
 | ||
|     <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">
 | ||
|     <link rel="shortcut icon" href="{% static 'images/MATFYZ_MM_barevne.svg' %}" type="image/x-icon">
 | ||
|     {% render_block "css" %}
 | ||
|     <link href="{% static 'css/bootstrap-theme.css' %}" rel="stylesheet">
 | ||
|     <link href="{% static 'css/bootstrap.css' %}" rel="stylesheet">
 | ||
|     <link href="{% static 'css/mamweb.css' %}" rel="stylesheet">
 | ||
|     <link href="{% static 'css/prettyPhoto.css' %}" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
 | ||
|     <script src="{% static 'js/jquery-1.11.1.js' %}"></script>
 | ||
|     <script src="{% static '/jquery-3.4.1.js' %}"></script>
 | ||
| 
 | ||
|     <link rel="stylesheet" type="text/css" href="{% static 'fluent_comments/css/ajaxcomments.css' %}" />
 | ||
|     <script type="text/javascript" src="{% static 'fluent_comments/js/ajaxcomments.js' %}"></script>
 | ||
| 
 | ||
|     {# nastavení MathJaxu, aby nahrazoval i matiku obalenou jednoduchými $ #}
 | ||
|     <script type="text/x-mathjax-config">
 | ||
|       MathJax.Hub.Config({
 | ||
|         tex2jax: {
 | ||
|           inlineMath: [['$','$'], ['\\(','\\)']],
 | ||
|           processEscapes: true
 | ||
|         }
 | ||
|       });
 | ||
|     </script>
 | ||
|     <script type="text/javascript" async
 | ||
|       src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 | ||
|     </script>
 | ||
| 
 | ||
|     {# script specifický pro stránku #}
 | ||
|     {% block script %}{% endblock %}
 | ||
| 
 | ||
|   </head>
 | ||
|   <body class='{% if user.is_staff %}org-logged-in{% endif %}'>
 | ||
| 
 | ||
|    <div class="container">
 | ||
| 
 | ||
|   {% if user.is_staff %}
 | ||
|     <div class="login-bar" >
 | ||
|       {% if view.object %}
 | ||
| 	Objekt {{ view.object }}: {{ view.object }}
 | ||
| 	{% if view.object.admin_url %}<a href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
 | ||
|       {% endif %}
 | ||
|       {% if flatpage %}
 | ||
| 	Stránka <tt>{{ flatpage.url }}</tt>  ({{ flatpage.title }})
 | ||
| 	<a href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a>
 | ||
|       {% endif %}
 | ||
|     </div>
 | ||
|   {% endif %}
 | ||
| 
 | ||
| 
 | ||
| 	  <div class='row'>
 | ||
| 		<div class='col-md-12'>
 | ||
|           <a href='/'>
 | ||
| 	    <div id="title" >M&M - korespondenční seminář a časopis MFF UK</div>
 | ||
|             <div id="header" class="{% if noc %}NOC{% endif %}{% block header %}{% endblock %}">
 | ||
| 		<img class="logo" src="{% static 'images/logo.svg' %}" />
 | ||
| 		<img class="logo-mobile" src="{% static 'images/logo-mobile.svg' %}" />
 | ||
|             </div>
 | ||
|             </a>
 | ||
|         </div>
 | ||
|       </div>
 | ||
|       <div class='row'>
 | ||
| 	    <div class='col-md-12'>
 | ||
| 
 | ||
| {# ========= MENU ========== #}
 | ||
| 
 | ||
| 	  {% sitetree_menu from "main_menu" include "trunk" template "menu.html" %}
 | ||
| 
 | ||
| {# ========= MENU MOBILE ========== #}
 | ||
| 
 | ||
| <!--Navbar-->
 | ||
| <nav class="nav-button">
 | ||
| 
 | ||
|   <!-- Collapse button -->
 | ||
|   <button class="navbar-button" type="button" data-toggle="collapse" data-target="#navbar-content"
 | ||
|     aria-controls="navbar-content" aria-expanded="false"><span>Menu</span></button>
 | ||
| 
 | ||
|   <!-- Collapsible content -->
 | ||
|   <div class="collapse navbar-collapse" id="navbar-content">
 | ||
| 
 | ||
|     <!-- Links -->
 | ||
|     {% sitetree_menu from "main_menu" include "trunk" template "menu_mobile.html" %}
 | ||
|     <!-- Links -->
 | ||
| 
 | ||
|   </div>
 | ||
|   <!-- Collapsible content -->
 | ||
| 
 | ||
| </nav>
 | ||
| <!--/.Navbar-->
 | ||
| 
 | ||
| {# ========= END MENU ========== #}
 | ||
| 
 | ||
| 
 | ||
| 	<div class='row content'>
 | ||
| 	<div class='col-md-12'>
 | ||
| 	    {% block content %}
 | ||
| 	    {% endblock content %}
 | ||
| 	</div>
 | ||
|     </div>
 | ||
| 	<div class='row'>
 | ||
| 	  <div class='col-md-12'>
 | ||
| 		<div id="footer">
 | ||
| 			<p class="license">S obsahem webu M&M je možné nakládat dle licence <a href="https://creativecommons.org/licenses/by/3.0/cz/">Creative Commons Attribution 3.0</a>.</p>
 | ||
| 		</div>
 | ||
| 		<p class="license-mobile">Korespondenční seminář M&M organizují převážně studenti <a herf="https://www.mff.cuni.cz/">MFF UK</a>. Organizaci semináře a vydávání časopisu podporuje <a href="https://jcmf.cz/">Jednota českých matematiků a fyziků</a>. S obsahem webu M&M je možné nakládat dle licence <a href="https://creativecommons.org/licenses/by/3.0/cz/">Creative Commons Attribution 3.0</a>.</p>
 | ||
| 	  </div>
 | ||
| 	</div>
 | ||
|     </div>
 | ||
| 
 | ||
|     <script src="{% static 'js/bootstrap.js' %}"></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 type="text/javascript" charset="utf-8">
 | ||
|         var prettyparams = {
 | ||
| 	      animation_speed: 'fast',
 | ||
| 	      theme: 'dark_rounded',
 | ||
| 	}
 | ||
| 	$(document).ready(function(){
 | ||
| 	   $("a[rel^='gallery-image']").prettyPhoto(prettyparams);
 | ||
| 	});
 | ||
|     </script>
 | ||
|     {% render_block "js" %}
 | ||
|   </body>
 | ||
| </html>
 | 
