Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
Update theme from tonu
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Joyce committed Nov 15, 2016
1 parent a83e537 commit c8f7ce6
Show file tree
Hide file tree
Showing 135 changed files with 3,324 additions and 4,289 deletions.
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.vscode

# Gulp
node_modules
.sass-cache
npm-debug.log

# Server stuff
.bash_history
.bash_logout
.bashrc
.cache
.profile
.ssh
log


# Temp files
build
9 changes: 9 additions & 0 deletions errors/custom/404.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div id="main" class="col-main">
<!-- [start] content -->
<div class="title">
<h2 class="title__main">404 error</h2>
<h3 class="title__sub u-highlight-brand-pink"><span>Page not found</span></h3>
</div>
<p>The page you requested was not found. Please try again later.</p>
<!-- [end] content -->
</div>
11 changes: 11 additions & 0 deletions errors/custom/503.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- [start] center -->
<div id="main" class="col-main">
<!-- [start] content -->
<div class="title">
<h2 class="title__main">503 error</h2>
<h3 class="title__sub u-highlight-brand-pink"><span>Service Temporarily Unavailable</span></h3>
</div>
<p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p>
<!-- [end] content -->
</div>
<!-- [end] center -->
51 changes: 51 additions & 0 deletions errors/custom/page.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo $this->pageTitle?></title>
<base href="<?php echo $this->getSkinUrl()?>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="*" />
<link rel="stylesheet" href="css/normalize.css" type="text/css" />
<link rel="stylesheet" href="css/styles.css" type="text/css" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<script src="https://use.typekit.net/hnu1fiv.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<script src="vendor/picturefill/picturefill.js"></script>
</head>
<body>

<header class="header">
<div class="u-container u-container--full">
<div class="header__body">

<div class="header__logo">
<a href="<?php echo $this->getBaseUrl()?>" class="logo">
<picture>
<source media="(max-width: 25.99em)" srcset="images/logo-sm.svg">
<img src="images/logo.svg" class="logo__img" width="305" height="50" />
</picture>
<span class="logo__text">Site Name</span>
</a>
</div>

</div>
</div>
</header>

<div class="main-container col1-layout template template--errors u-clearfix">
<div class="main u-section-top u-section-lg-bottom u-container-sm u-text-center">
<?php require_once $contentTemplate; ?>
</div>
</div>

<div class="main-container col1-layout template template--errors u-clearfix">
<div class="main u-section-top u-section-lg-bottom u-container-sm u-text-center">
<p class="footer__copyright micro">Copyright &copy; 2016 Tonu. All Rights Reserved.</p>
</div>
</div>

</body>
</html>
7 changes: 7 additions & 0 deletions errors/local.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<config>
<skin>custom</skin>
<report>
<action>print</action>
</report>
</config>
14 changes: 14 additions & 0 deletions etc/theme.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<theme>
<!-- <parent>rwd/prototype</parent> -->
<layout>

<updates>
<chopchop>
<file>cc.xml</file>
</chopchop>
</updates>

</layout>

</theme>
20 changes: 17 additions & 3 deletions layout/cc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<block type="core/text" name="viewport.meta">
<action method="setText">
<text><![CDATA[
<meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1">
<meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1, user-scalable=no">
]]></text>
</action>
</block>
Expand All @@ -49,18 +49,32 @@
<action method="removeItem"><type>skin_css</type><name>css/print.css</name></action>

<!-- Remove Module Assets -->
<action method="removeItem"><type>skin_css</type><name>aw_blog/css/style.css</name></action>
<action method="removeItem"><type>skin_css</type><name>css/iwebelasticsearch/autocomplete.css</name></action>

<!-- ADD Build CSS -->
<action method="addItem"><type>skin_css</type><name>build/vendor/normalize.css/normalize.css</name></action>
<action method="addItem"><type>skin_css</type><name>build/css/styles.css</name></action>
<action method="addItem"><type>skin_css</type><name>build/vendor/fontello/css/fontello.css</name></action>
<action method="addItem"><type>skin_js</type><name>build/vendor/picturefill/picturefill.js</name></action>
<!-- <action method="addItem"><type>skin_js</type><name>build/vendor/lazysizes/lazysizes.js</name></action> -->

<!-- ADD Build JS -->
<action method="addItem"><type>skin_js</type><name>build/vendor/enquire/enquire.js</name></action>
<action method="addItem"><type>skin_js</type><name>build/vendor/svgxuse/svgxuse.js</name></action>
<action method="addItem"><type>skin_js</type><name>build/vendor/svg4everybody/svg4everybody.js</name><params/><if>lt IE 9</if></action>
<block type="core/text" name="run.svg4everybody">
<action method="setText">
<text><![CDATA[
<!--[if IE 9]>
<script>svg4everybody(); // run it now or whenever you are ready</script>
<![endif]-->
]]></text>
</action>
</block>
<action method="addItem"><type>skin_js</type><name>build/js/chopchop.lib.js</name></action>
<action method="addItem"><type>skin_js</type><name>build/js/breakpoints.js</name></action>
<action method="addItem"><type>skin_js</type><name>build/js/script.js</name></action>

<action method="addItem"><type>skin_js</type><name>build/vendor/iweb/Iweb_QtyWidget.js</name></action>

</reference>
</cc_head>
Expand Down
Loading

0 comments on commit c8f7ce6

Please sign in to comment.