Commit 97b73cc9 authored by Naomi Guyer's avatar Naomi Guyer Committed by Aaron Wells

Change theme name to raw (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: Iac927105e903a1f38fa92792b9a2c388cd29c9a2
parent ca177073
{if $MAINNAV}
<nav id="main-nav" class="{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}{if $DROPDOWNMENU}dropdown-adminnav {else}adminnav {/if}{/if} nav collapse navbar-collapse nav-main main-nav navbar-inverse">
<div class="container">
{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}
<div class="navbar-header">
<a class="navbar-brand" href="{$WWWROOT}" accesskey="h" class="return-site">
<span class="fa fa-chevron-left"></span>
{str tag="returntosite"}
</a>
</div>
{/if}
<ul id="{if $DROPDOWNMENU}dropdown-nav{else}nav{/if}" class="nav navbar-nav">
{strip}
{foreach from=$MAINNAV item=item name=menu}
<li class="{if $item.path}{$item.path}{else}dashboard{/if}{if $item.selected} active{/if}{if $DROPDOWNMENU} dropdown-nav-home{/if}">
<a href="{$WWWROOT}{$item.url}"{if $item.accesskey} accesskey="{$item.accesskey}"{/if} class="{if $item.path}{$item.path}{else}dashboard{/if}">
{if $item.accessibletitle && !$DROPDOWNMENU}
<span aria-hidden="true" role="presentation">
{/if}
{$item.title}
{if $item.accessibletitle && !$DROPDOWNMENU}
</span>
<span class="accessible-hidden sr-only">
({$item.accessibletitle})
</span>
{/if}
{if $DROPDOWNMENU && $item.submenu}
<span class="accessible-hidden sr-only">
({str tag=dropdownmenu})
</span>
{/if}
</a>
{if $item.submenu}
<button type="button" class="navbar-showchildren navbar-toggle dropdown-toggle {if !$item.selected}collapsed{/if}" data-toggle="collapse" data-target="#childmenu-{$dwoo.foreach.menu.index}">
<span class="fa fa-chevron-down"></span>
<span class="nav-title sr-only">{str tag="show"} {str tag="menu"}</span>
</button>
{/if}
{if $item.submenu}
<ul id="childmenu-{$dwoo.foreach.menu.index}" class="{if $DROPDOWNMENU}has-dropdown{else}hidden-md hidden-lg hidden-sm {if $item.selected}in{/if}{/if} collapse child-nav" role="menu">
{strip}
{foreach from=$item.submenu item=subitem}
<li class="{if $subitem.selected}active {/if}{if $subitem.submenu}has-sub {/if}">
<a href="{$WWWROOT}{$subitem.url}"{if $subitem.accesskey} accesskey="{$subitem.accesskey}"{/if}>
{$subitem.title}
</a>
{if $subitem.submenu}
<ul class="dropdown-tertiary">
{foreach from=$subitem.submenu item=tertiaryitem}
<li{if $tertiaryitem.selected} class="selected"{/if}>
<a href="{$WWWROOT}{$tertiaryitem.url}"{if $tertiaryitem.accesskey} accesskey="{$tertiaryitem.accesskey}"{/if}>
{$tertiaryitem.title}
</a>
</li>
{/foreach}
</ul>
{/if}
</li>
{/foreach}
{/strip}
</ul>
{/if}
</li>
{/foreach}
{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}
{elseif $USER->get('admin')}
<li class="siteadmin">
<a href="{$WWWROOT}admin/" accesskey="a" class="admin-site">{str tag="administration"}</a>
</li>
{elseif $USER->is_institutional_admin()}
<li class="instituteadmin">
<a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="administration"}</a>
</li>
{elseif $USER->get('staff')}
<li class="siteinfo">
<a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="siteinformation"}</a>
</li>
{elseif $USER->is_institutional_staff()}
<li class="instituteinfo">
<a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="institutioninformation"}</a>
</li>
{/if}
{/strip}
</ul>
</div>
</nav>
{if $DROPDOWNMENU}
{else}
{if $SELECTEDSUBNAV}
<div class="navbar navbar-default minor-nav hidden-xs">
<div class="container">
<ul class="nav navbar-nav">
{strip}
{foreach from=$SELECTEDSUBNAV item=item}
<li{if $item.selected} class="active"{/if}>
<a href="{$WWWROOT}{$item.url}"{if $item.accesskey} accesskey="{$item.accesskey}"{/if}>{$item.title}</a>
</li>
{/foreach}
{/strip}
</ul>
</div>
</div>
{/if}
{/if}
{/if}
{if $MAINNAV}
<div id="main-nav" class="{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}{if $DROPDOWNMENU}dropdown-adminnav {else}adminnav {/if}{/if}main-nav">
<h3 class="rd-nav-title"><a href="#">{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}{str tag=admin} {/if}{str tag=menu}<span class="rd-arrow"></span></a></h3>
<ul id="{if $DROPDOWNMENU}dropdown-nav{else}nav{/if}">
{strip}
{foreach from=$MAINNAV item=item}
<li class="{if $item.path}{$item.path}{else}dashboard{/if}{if $item.selected} selected{/if}{if $DROPDOWNMENU} dropdown-nav-home{/if}"><span><a href="{if $item.wwwroot}{$item.wwwroot}{else}{$WWWROOT}{/if}{$item.url}"{if $item.accesskey} accesskey="{$item.accesskey}"{/if} class="{if $item.path}{$item.path}{else}dashboard{/if}">{if $item.accessibletitle && !$DROPDOWNMENU}<span aria-hidden="true" role="presentation">{/if}{$item.title}{if $item.accessibletitle && !$DROPDOWNMENU}</span> <span class="accessible-hidden">({$item.accessibletitle})</span>{/if}{if $DROPDOWNMENU && $item.submenu} <span class="accessible-hidden">({str tag=dropdownmenu})</span>{/if}</a></span>
{if $item.submenu}
<ul class="{if $DROPDOWNMENU}dropdown-sub {/if}rd-subnav">
{strip}
{foreach from=$item.submenu item=subitem}
<li class="{if $subitem.selected}selected {/if}{if $subitem.submenu}has-sub {/if}"><span>
<a href="{if $item.wwwroot}{$item.wwwroot}{else}{$WWWROOT}{/if}{$subitem.url}"{if $subitem.accesskey} accesskey="{$subitem.accesskey}"{/if}>{$subitem.title}</a>
</span>
{if $subitem.submenu}
<ul class="dropdown-tertiary">
{foreach from=$subitem.submenu item=tertiaryitem}
<li{if $tertiaryitem.selected} class="selected"{/if}><span>
<a href="{if $item.wwwroot}{$item.wwwroot}{else}{$WWWROOT}{/if}{$tertiaryitem.url}"{if $tertiaryitem.accesskey} accesskey="{$tertiaryitem.accesskey}"{/if}>{$tertiaryitem.title}</a>
</span></li>
{/foreach}
</ul>
{/if}
</li>
{/foreach}
{/strip}
<div class="cl"></div>
</ul>
{/if}
</li>
{/foreach}
{if $ADMIN || $INSTITUTIONALADMIN || $STAFF || $INSTITUTIONALSTAFF}
<li class="returntosite"><span><a href="{$WWWROOT}" accesskey="h" class="return-site">{str tag="returntosite"}</a></span></li>
{elseif $USER->get('admin')}
<li class="siteadmin"><span><a href="{$WWWROOT}admin/" accesskey="a" class="admin-site">{str tag="administration"}</a></span></li>
{elseif $USER->is_institutional_admin()}
<li class="instituteadmin"><span><a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="administration"}</a></span></li>
{elseif $USER->get('staff')}
<li class="siteinfo"><span><a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="siteinformation"}</a></span></li>
{elseif $USER->is_institutional_staff()}
<li class="instituteinfo"><span><a href="{$WWWROOT}admin/users/search.php" accesskey="a" class="admin-user">{str tag="institutioninformation"}</a></span></li>
{/if}
{/strip}</ul>
</div>
{if $DROPDOWNMENU}
{else}
<div id="sub-nav">
{if $SELECTEDSUBNAV}
<ul>{strip}
{foreach from=$SELECTEDSUBNAV item=item}
<li{if $item.selected} class="selected"{/if}><span><a href="{if $item.wwwroot}{$item.wwwroot}{else}{$WWWROOT}{/if}{$item.url}"{if $item.accesskey} accesskey="{$item.accesskey}"{/if}>{$item.title}</a></span>
{if $item.submenu && $item.selected}
{assign var=tertiarymenu value=$item.submenu}
{/if}
</li>
{/foreach}
{/strip}</ul>
{/if}
<div class="cb"></div>
</div>
{if $tertiarymenu}
<div id="tertiary-nav">
<ul>{strip}
{foreach from=$tertiarymenu item=tertiaryitem}
<li{if $tertiaryitem.selected} class="selected"{/if}><span>
<a href="{if $item.wwwroot}{$item.wwwroot}{else}{$WWWROOT}{/if}{$tertiaryitem.url}"{if $tertiaryitem.accesskey} accesskey="{$tertiaryitem.accesskey}"{/if}>{$tertiaryitem.title}</a>
</span></li>
{/foreach}
{/strip}</ul>
<div class="cb"></div>
</div>
{/if}
{/if}
{/if}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if IE 8 ]> <html{if $LANGDIRECTION == 'rtl'} dir="rtl"{/if} lang="{$LANGUAGE}" class="ie ie8"> <![endif]-->
<!--[if IE 9 ]> <html{if $LANGDIRECTION == 'rtl'} dir="rtl"{/if} lang="{$LANGUAGE}" class="ie ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html{if $LANGDIRECTION == 'rtl'} dir="rtl"{/if} lang="{$LANGUAGE}"><!--<![endif]-->
<html{if $LANGDIRECTION == 'rtl'} dir="rtl"{/if}>
{include file="header/head.tpl"}
<body id="micro" class="no-js">
{if $USERMASQUERADING || !$PRODUCTIONMODE || $SITECLOSED || $SITETOP}<div class="sitemessages">{/if}
{if $USERMASQUERADING}<div class="sitemessage"><img src="{theme_image_url filename='failure'}" alt="">{$masqueradedetails} {$becomeyouagain|safe}</div>{/if}
{if !$PRODUCTIONMODE}<div class="sitemessage center">{str tag=notproductionsite section=error}</div>{/if}
{if $SITECLOSED}<div class="sitemessage center">{if $SITECLOSED == 'logindisabled'}{str tag=siteclosedlogindisabled section=mahara arg1="`$WWWROOT`admin/upgrade.php"}{else}{str tag=siteclosed}{/if}</div>{/if}
{if $SITETOP}<div id="switchwrap">{$SITETOP|safe}</div>{/if}
{if $USERMASQUERADING || !$PRODUCTIONMODE || $SITECLOSED || $SITETOP}</div>{/if}
<div id="container">
<div class=