Преглед изворни кода

prepare modularized templates

master
Dom SP пре 3 година
родитељ
комит
5fbae5d8cd
2 измењених фајлова са 44 додато и 44 уклоњено
  1. +43
    -0
      app/views/tpl/default.htm
  2. +1
    -44
      app/views/tpl/index.html

+ 43
- 0
app/views/tpl/default.htm Прегледај датотеку

@@ -0,0 +1,43 @@
<div id="page-wrap">
<header>
<include href="header.htm">
</header>
<div id="mobile-nav">
<a class="menu-toggle" onClick="javascript:toggle_menu();"></a>
<div class="the_list"><div>
<a class="home_link {{ @is_home ? 'active': '' }}" href="{{ 0 ? @SITE_URL : "/" }}{{ @LANG != @default_lang ? "?lang=".@LANG : "" }}">HOME</a>
<include href="navigation.htm" with="menu={{ @navi.main }}" />
<div id="modileFooterNav">
<include href="navigation.htm" with="menu={{ @navi.footer }}" />
</div>
<div id="mobileLanguageNav">
<include href="navigation.htm" with="menu={{ @navi.mobilelang }}" />
</div>
</div></div>
</div> <!-- #mobile-nav -->
<nav id="main-nav">
<include href="navigation.htm" with="menu={{ @navi.main }}" />
</nav>
<div id="platzhalter"></div>
<section id="content">
<include href="maincontent.htm" />
<include href="sidebar.htm" />
</section>

</div> <!-- #page-wrap -->

<footer id="main-footer">
<nav>
<include href="navigation.htm" with="menu={{ @navi.footer }}" />
</nav>
</footer>

+ 1
- 44
app/views/tpl/index.html Прегледај датотеку

@@ -35,51 +35,8 @@

<div id="backdrop"></div>

<div id="page-wrap">
<header>
<include href="header.htm">
</header>
<div id="mobile-nav">
<a class="menu-toggle" onClick="javascript:toggle_menu();"></a>
<div class="the_list"><div>
<a class="home_link {{ @is_home ? 'active': '' }}" href="{{ 0 ? @SITE_URL : "/" }}{{ @LANG != @default_lang ? "?lang=".@LANG : "" }}">HOME</a>
<include href="navigation.htm" with="menu={{ @navi.main }}" />
<div id="modileFooterNav">
<include href="navigation.htm" with="menu={{ @navi.footer }}" />
</div>
<div id="mobileLanguageNav">
<include href="navigation.htm" with="menu={{ @navi.mobilelang }}" />
</div>
</div></div>
</div> <!-- #mobile-nav -->
<nav id="main-nav">
<include href="navigation.htm" with="menu={{ @navi.main }}" />
</nav>
<div id="platzhalter"></div>
<section id="content">
<include href="maincontent.htm" />
<include href="sidebar.htm" />
</section>

</div> <!-- #page-wrap -->
<footer id="main-footer">
<include href="tpl/default.htm" />
<nav>
<include href="navigation.htm" with="menu={{ @navi.footer }}" />
</nav>
</footer>
<check if="{{ @backend }}">
<div id="admin-panel">{{ @backend | raw }}</div>
</check>

Loading…
Откажи
Сачувај