Merge branch 'master' of atrey.karlin.mff.cuni.cz:/akce/MaM/MaMweb/mamweb
This commit is contained in:
		
						commit
						06205e3f58
					
				
					 6 changed files with 41 additions and 5 deletions
				
			
		|  | @ -12,7 +12,7 @@ | |||
|     {% for r in object_list %} | ||||
|     <li><a href='{{ r.verejne_url }}'>Ročník {{ r }}</a> | ||||
|     {% empty %} | ||||
|       Niesú žiadne ročníky | ||||
|       Nejsou žádné ročníky | ||||
|     {% endfor %} | ||||
|   </ul> | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
|   <li class="{% if selected == "cisla" %}selected{% endif %}"><a href="{{cesta}}/cisla/">Čísla</a> | ||||
|   {# TODO zprovoznit až budou témata v db <li class="{% if selected == "temata" %}selected{% endif %}"><a href="{{cesta}}/temata/">Témata</a> #} | ||||
|   {# TODO zprovoznit až budou úlohy v db <li class="{% if selected == "ulohy" %}selected{% endif %}"><a href="{{cesta}}/ulohy/">Úlohy</a> #} | ||||
|   <li class="{% if selected == "vysledky" %}selected{% endif %}"><a href="{{cesta}}/vysledky/">Výsledkové listiny</a> | ||||
|   {# <li class="{% if selected == "vysledky" %}selected{% endif %}"><a href="{{cesta}}/vysledky/">Výsledkové listiny</a> #} | ||||
| </ul> | ||||
| </div> | ||||
| 
 | ||||
|  |  | |||
|  | @ -3,8 +3,8 @@ | |||
| <div id='submenu'> | ||||
| <ul> | ||||
|   <li class="{% if selected == "uvod" %}selected{% endif %}"><a href="{{cesta}}/uvod/">Úvod</a> | ||||
|   <li class="{% if selected == "org" %}selected{% endif %}"><a href="{{cesta}}/org/">Organizátorské články</a> | ||||
|   <li class="{% if selected == "resitel" %}selected{% endif %}"><a href="{{cesta}}/resitel/">Řešitelské články</a> | ||||
|   {# TODO až budou <li class="{% if selected == "org" %}selected{% endif %}"><a href="{{cesta}}/org/">Organizátorské články</a> #} | ||||
|   {# TODO až budou <li class="{% if selected == "resitel" %}selected{% endif %}"><a href="{{cesta}}/resitel/">Řešitelské články</a> #} | ||||
|   <li class="{% if selected == "jak-psat-vedecky-clanek" %}selected{% endif %}"><a href="{{cesta}}/jak-psat-vedecky-clanek/">Jak napsat článek</a> | ||||
| </ul> | ||||
| </div> | ||||
|  |  | |||
|  | @ -14,6 +14,9 @@ | |||
| {% endblock %}{% endblock %} | ||||
| 
 | ||||
| {% block content %} | ||||
| <em> | ||||
|   Na galeriích ze soustředění a dalších informacích ještě pracujeme. | ||||
| </em> | ||||
| {#% if user.is_authenticated %#}{# PRACUJE SE STRANKA #} | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,7 @@ | |||
| {% extends 'base.html' %} | ||||
| 
 | ||||
| {% load humanize %} | ||||
| {% load staticfile %} | ||||
| 
 | ||||
| 
 | ||||
| {% block content %} | ||||
|  | @ -32,10 +33,38 @@ | |||
|       {% endif %} | ||||
|     {% endif %} | ||||
|     --> | ||||
|   | ||||
| 
 | ||||
|   </div> | ||||
|   {% endif %} | ||||
| 
 | ||||
| <div class="graf"> | ||||
| <img class="map" src="{% static 'images/graph.png' %}" width="505.0" height="612.0" usemap="#vuemap"> | ||||
| 
 | ||||
| <map name="vuemap">  | ||||
|  <area href="/"  id="mam" shape="rect" coords="148,277,354,364"></area> | ||||
|  <area href="/soustredeni/"  id="sous" shape="rect" coords="180,194,313,236"></area> | ||||
|  <area href="/archiv/cisla/"  id="casopis" shape="rect" coords="206,393,297,432"></area> | ||||
|  <area href="/media/ilustrace/graf/duvera.jpeg"  id="hry" shape="rect" coords="198,87,251,121"></area> | ||||
|  <area href="/media/ilustrace/graf/prednaska.jpeg"  id="prednasky" shape="rect" coords="273,120,390,160"></area> | ||||
|  <area href="/media/ilustrace/graf/konfera.jpeg"  id="konfery" shape="rect" coords="350,168,445,207"></area> | ||||
|  <area href="/media/ilustrace/graf/vylet.jpeg"  id="vylet" shape="rect" coords="366,220,434,256"></area> | ||||
|  <area href="/media/ilustrace/graf/legenda.jpeg"  id="legenda" shape="rect" coords="29,180,129,219"></area> | ||||
|  <area href="/media/ilustrace/graf/jidlo.jpeg"  id="jidlo" shape="rect" coords="125,114,184,149"></area> | ||||
|  <area href="/media/ilustrace/graf/adrenalin.jpeg"  id="adrenalinove" shape="rect" coords="38,30,184,73"></area> | ||||
|  <area href="/media/ilustrace/graf/beh-p.jpeg"  id="behaci" shape="rect" coords="193,20,274,57"></area> | ||||
|  <area href="/media/ilustrace/graf/strategie.jpeg"  id="strategicke" shape="rect" coords="284,16,411,57"></area> | ||||
|  <area href="/clanky/uvod/"  id="clanky" shape="rect" coords="363,428,447,466"></area> | ||||
|  <area href="/zadani/aktualni"  id="ulohy" shape="rect" coords="246,492,321,529"></area> | ||||
|  <area href="/zadani/temata"  id="temata" shape="rect" coords="126,473,217,511"></area> | ||||
|  <area href="/media/ilustrace/graf/knihy.jpg"  id="ceny" shape="rect" coords="15,413,188,458"></area> | ||||
|  <area href="16"  id="matika" shape="rect" coords="357,514,488,556"></area> | ||||
|  <area href="17"  id="fyzika" shape="rect" coords="276,557,354,594"></area> | ||||
|  <area href="18"  id="informatika" shape="rect" coords="141,539,269,580"></area> | ||||
|  <area href="/media/ilustrace/graf/dort.jpg"  id="dort" shape="rect" coords="60,519,121,554"></area> | ||||
| 
 | ||||
| </map> | ||||
| </div> | ||||
| 
 | ||||
|   <h3><a href="/o-seminari">Co je na nás skvělé?</a></h3> | ||||
|   <h3><a href="/co-je-MaM/uvod/">Zjistit víc!</a></h3> | ||||
|   </center></p> | ||||
|  |  | |||
|  | @ -33,6 +33,10 @@ | |||
|       {% if not sada %}-->{% endif %} | ||||
|       {# publikace jednotlivych zadani #} | ||||
|       {% for problem in sada %} | ||||
|         {% for tag in problem.zamereni.names %} | ||||
|            <a name="zam_{{tag}}"></a> | ||||
|         {% endfor %} | ||||
| 
 | ||||
|         {# TODO použít {{problem.kod_v_rocniku}} ? vrací 4.u1 místo 4.1 #} | ||||
|         <h4>{{problem.cislo_zadani.cislo}}.{{problem.kod}} {{problem.nazev}} {{ problem.body_v_zavorce }}</h4> | ||||
|         {% autoescape off %}{{problem.text_zadani}}{% endautoescape %} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Aneta
						Aneta