aboutsummaryrefslogtreecommitdiffstats
path: root/view/php/default.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-08 07:37:59 +1100
committerfriendica <info@friendica.com>2014-03-08 07:37:59 +1100
commita06c09cdf3eac9da55453661d316a683b08455bd (patch)
treee7148e632636b2cd8c6929242eb774812cbe4c68 /view/php/default.php
parentfea711ecde2d227b13d410c797f6e67526935010 (diff)
parentce136a1e3b6007a8efeae9914981c54830ec680c (diff)
downloadvolse-hubzilla-a06c09cdf3eac9da55453661d316a683b08455bd.tar.gz
volse-hubzilla-a06c09cdf3eac9da55453661d316a683b08455bd.tar.bz2
volse-hubzilla-a06c09cdf3eac9da55453661d316a683b08455bd.zip
Merge pull request #356 from git-marijus/master
hide aside on navbar collapse and add button to toggle visibility
Diffstat (limited to 'view/php/default.php')
-rw-r--r--view/php/default.php41
1 files changed, 21 insertions, 20 deletions
diff --git a/view/php/default.php b/view/php/default.php
index fd29ef3db..87b92161b 100644
--- a/view/php/default.php
+++ b/view/php/default.php
@@ -1,20 +1,21 @@
-<!DOCTYPE html >
-<html>
-<head>
- <title><?php if(x($page,'title')) echo $page['title'] ?></title>
- <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
- <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
-</head>
-<body>
- <header><?php if(x($page,'header')) echo $page['header']; ?></header>
- <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
- <aside id="region_1"><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
- <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?>
- <div id="page-footer"></div>
- <div id="pause"></div>
- </section>
- <aside id="region_3"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></aside>
- <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
-</body>
-</html>
-
+<!DOCTYPE html >
+<html>
+<head>
+ <title><?php if(x($page,'title')) echo $page['title'] ?></title>
+ <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+ <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+</head>
+<body>
+ <header><?php if(x($page,'header')) echo $page['header']; ?></header>
+ <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
+ <main>
+ <aside id="region_1" class="hidden-xs"><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
+ <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?>
+ <div id="page-footer"></div>
+ <div id="pause"></div>
+ </section>
+ <aside id="region_3"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></aside>
+ </main>
+ <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+</body>
+</html>