mod: Шаблоны в современном ситиле + schema.org
This commit is contained in:
4
dicquo/templates/blocks/counters.html
Normal file
4
dicquo/templates/blocks/counters.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<!-- Rating Mail.ru counter -->
|
||||
<script type="text/javascript">var _tmr = window._tmr || (window._tmr = []);_tmr.push({id:"1603042",type:"pageView",start:(new Date()).getTime()});(function(d,w,id){if(d.getElementById(id)) return;var ts=d.createElement("script");ts.type="text/javascript";ts.async=true;ts.id=id;ts.src="https://top-fwz1.mail.ru/js/code.js";var f=function(){var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(ts,s);};if(w.opera == "[object Opera]"){ d.addEventListener("DOMContentLoaded",f,false);}else{f();}})(document,window,"topmailru-code");</script><noscript><div><img src="https://top-fwz1.mail.ru/counter?id=1603042;js=na" style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru" /></div></noscript>
|
||||
<!-- //Rating Mail.ru counter -->
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
{% load static %}<!-- ШАПКА: НАЧАЛО -->
|
||||
<center><table>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="\" id="logo">
|
||||
<img src='{% static "svgs/dq-logo.svg" %}' alt="Dictum & Quotes" title="Dictum & Quotes"
|
||||
width="50" height="46"/></a>
|
||||
</td>
|
||||
<td align="right">
|
||||
<span id="menu">
|
||||
<a href="#">Блог</a> | <a href="#">Добавить высказывание</a> |
|
||||
</span>
|
||||
<a href="#" id="mm" onclick="document.getElementById('menu').style.display='inline';">≡</a></td>
|
||||
</tr>
|
||||
</table></center>
|
||||
<!-- ШАПКА: КОНЕЦ -->
|
||||
{% load static %}
|
||||
<!-- ШАПКА: НАЧАЛО -->
|
||||
<div class="container">
|
||||
<header>
|
||||
<a href="/" id="logo">
|
||||
<img src='{% static "svgs/dq-logo.svg" %}' alt="Dictum & Quotes" title="Dictum & Quotes"
|
||||
width="50" height="46"/>
|
||||
</a>
|
||||
<div>
|
||||
<nobr id="stats-menu" style="display: none; color: silver; font-size: 0.9em; margin-right: 15px;">
|
||||
{% if ticks %}<i class="stats-icon icon-time" title="Generation time"></i> {{ ticks|floatformat:1 }}ms{% endif %}
|
||||
{% if DQ %} | <i class="stats-icon icon-views" title="Views"></i> {{ DQ.iViewCounter }}{% endif %}
|
||||
| <a href="/add_quote/" style="color: silver; text-decoration: none;" title="Добавить цитату">Добавить цитату</i></a> |
|
||||
</nobr>
|
||||
<a href="#" onclick="var m=document.getElementById('stats-menu'); m.style.display = (m.style.display === 'none' ? 'inline' : 'none'); return false;" style="color: silver; text-decoration: none; font-size: 1.2em;">≡</a>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<!-- ШАПКА: КОНЕЦ -->
|
||||
|
||||
Reference in New Issue
Block a user