Browse Source

* change layout

master
Alex "AdUser" Z 10 years ago
parent
commit
573b86147c
  1. 26
      templates/layouts/default.html.ep

26
templates/layouts/default.html.ep

@ -1,16 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
% my @styles = qw(monobook.screen monobook.print);
% push @styles, split(/\s+/, stash('styles'));
% my @scripts = ();
% push @scripts, split(/\s+/, stash('scripts'));
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= title %> - Linux во Владивостоке</title> <title><%= title %> - Linux во Владивостоке</title>
<meta name="generator" content="mojolicious" /> <meta name="generator" content="mojolicious" />
<meta name="robots" content="noindex,nofollow"/> <meta name="robots" content="noindex,nofollow"/>
<link rel="stylesheet" type="text/css" href="/wiki/lib/exe/css.php?t=monobook"/> % foreach my $style (@styles) {
%= include 'includes/ie-hacks', format => 'html';
% foreach my $style (split /\s+/, stash('styles')) {
<%= stylesheet "/css/$style.css" %> <%= stylesheet "/css/$style.css" %>
% } % }
% foreach my $script (split /\s+/, stash('scripts')) { % foreach my $script (@scripts) {
<%= javascript "/js/$script.js" %> <%= javascript "/js/$script.js" %>
% } % }
</head> </head>
@ -24,7 +26,7 @@
<div id="bodyContent"> <div id="bodyContent">
<div class="dokuwiki"> <div class="dokuwiki">
<!-- start main content area --> <!-- start main content area -->
<%= content %> %= content
<!-- end main content area --> <!-- end main content area -->
<div class="visualClear"></div> <div class="visualClear"></div>
</div> </div>
@ -40,7 +42,7 @@
<div id="p-personal" class="portlet"> <div id="p-personal" class="portlet">
<div class="pBody"> <div class="pBody">
<ul> <ul>
<li id="pt-login"><a href="/wiki/index?do=login" rel="nofollow">Войти</a></li> <li id="pt-login"><a href="/user/login" rel="nofollow">Войти</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -51,12 +53,12 @@
<div class="dokuwiki"> <div class="dokuwiki">
<ul> <ul>
<li class="level1"><div class="li"> <span class="curid"><a href="/wiki/index" class="wikilink1" title="index">Главная</a></span></div> </li> <li class="level1"><div class="li"> <span class="curid"><a href="/wiki/index" class="wikilink1" title="index">Главная</a></span></div> </li>
<li class="level1"><div class="li"> <a href="/wiki/articles/index" class="wikilink1" title="articles:index">Статьи</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/wiki/articles/index">Статьи</a></div></li>
<li class="level1"><div class="li"> <a href="/wiki/projects/index" class="wikilink1" title="projects:index">Проекты</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/wiki/projects/index">Проекты</a></div></li>
<li class="level1"><div class="li"> <a href="/wiki/events/index" class="wikilink1" title="events:index">События</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/wiki/events/index">События</a></div></li>
<li class="level1"><div class="li"> <a href="/wiki/links" class="wikilink1" title="links">Ссылки</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/wiki/links">Ссылки</a></div></li>
<li class="level1"><div class="li"> <a href="/wiki/wiki/index" class="wikilink1" title="wiki:index">Служебные</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/wiki/wiki/index">Служебные</a></div></li>
<li class="level1"><div class="li"> <a href="/forum/" class="wikilink1" title="/forum/">Форум</a></div> </li> <li class="level1"><div class="li"> <a class="wikilink1" href="/forum/">Форум</a></div></li>
</ul> </ul>
</div> </div>
</div> </div>

Loading…
Cancel
Save