diff options
author | Brian Evans <grknight@gentoo.org> | 2018-07-20 09:52:11 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-07-20 09:52:11 -0400 |
commit | 341f9164008c564614485a51c5d917594040eb28 (patch) | |
tree | b59d2d486bd7419b394cfe60eff354a8a83e03c0 | |
parent | Tweak location of Contributors drop down on mobile (diff) | |
download | planet-341f9164008c564614485a51c5d917594040eb28.tar.gz planet-341f9164008c564614485a51c5d917594040eb28.tar.bz2 planet-341f9164008c564614485a51c5d917594040eb28.zip |
Touch up archive layout to match earlier changes to footer
-rw-r--r-- | archives/planet/index.php | 47 | ||||
-rw-r--r-- | archives/universe/index.php | 49 |
2 files changed, 55 insertions, 41 deletions
diff --git a/archives/planet/index.php b/archives/planet/index.php index 85bb719f..213dd297 100644 --- a/archives/planet/index.php +++ b/archives/planet/index.php @@ -14,9 +14,6 @@ <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="/planet-tyrian.css" type="text/css"> - <style type="text/css"> - div.archive-entry { float: left; width: 25%; } - </style> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"> @@ -24,8 +21,6 @@ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"> - <link rel="alternate" type="application/rss+xml" title="Planet Gentoo" href="rss20.xml"> - <link rel="alternate" type="application/atom+xml" title="Planet Gentoo" href="atom.xml"> </head> <body class=""> @@ -94,19 +89,9 @@ </header> - <div class="container-fluid"> + <div class="container"> <div class="row"> - <div id="left-column" class="col-md-3"> -<div class="altmenu"> -<br>Bugs? Comments? Suggestions? <a href="https://wiki.gentoo.org/wiki/Project:Planet">Contact us!</a> - -<br><br><b>Powered by:</b><br> -<a href="http://www.intertwingly.net/code/venus/">Planet Venus</a> - -</div> -</div> - -<div id="content" class="col-md-9"> +<div id="content"> <div class="media"> <div class="media-left"><img src="/images/gentoo.gif" class="media-object"></div> <div class="media-body">Welcome to the <b>Planet Gentoo</b> archives. Also available for <a href="http://planet.gentoo.org/universe/archives/">Gentoo Universe</a>.</div> @@ -126,15 +111,16 @@ foreach (new SortedFileIterator(new FilesystemIterator('.')) as $entry) { if (!$entry->isDir()) continue; $path = $entry->getFileName(); - echo "<div class='dateheading'>$path</div><div class='row'>"; + echo "<div class='dateheading'>$path</div><div class='container'><div class='row'>"; foreach (new SortedFileIterator(new FilesystemIterator($entry)) as $file) { if (!$file->isFile()) continue; $filename = $file->getFileName(); $basename = $file->getBaseName('.html'); - echo "<div class='archive-entry'> <a href='$path/$filename'>{$basename}</a></div>\n"; + echo "<div class='col-xs-4 col-sm-2'> <a href='$path/$filename'>{$basename}</a></div>\n"; } - echo "</div><br />"; + echo "</div></div><br />"; } + $last_updated = date('F j, Y, H:i T'); ?> </div> @@ -142,6 +128,27 @@ </div> <footer> <div class="container-fluid"> +<div class="row"> + <div class="col-xs-12 col-md-offset-2 col-md-7"> + <h3 class="footerhead">Gentoo Planet</h3> + <div class="row"> + <div class="col-xs-12 col-md-4"> + <strong>Last Updated:</strong><br><span class="kk-i18n-date" title="<?=$last_updated?>"><?=$last_updated?></span> + </div> + <div class="col-xs-12 col-md-4"> + <strong>Powered by:</strong><br><a href="http://www.intertwingly.net/code/venus/">Planet Venus</a> + </div> + <div class="col-xs-12 col-md-4"> + <a href="rss20.xml"><img src="/images/rss20.png" border="0" alt="Syndicate this Planet"></a><br> + <a href="opml.xml"><img src="/images/opml.png" border="0" alt="Blogroll"></a> + </div> + </div> + </div> + <div class="col-xs-12 col-md-3"> + <h3 class="footerhead">Questions or comments?</h3> + Please feel free to <a href="https://wiki.gentoo.org/wiki/Project:Planet">contact us</a>. + </div> + </div> <div class="row"> <div class="col-xs-3 col-md-2"> <ul class="footerlinks three-icons"> diff --git a/archives/universe/index.php b/archives/universe/index.php index a9264541..e6e50be3 100644 --- a/archives/universe/index.php +++ b/archives/universe/index.php @@ -6,7 +6,7 @@ <meta name="theme-color" content="#54487a"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta property="og:title" content="Planet Gentoo Archives"> + <meta property="og:title" content="Gentoo Universe Archives"> <meta property="og:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> <meta name="twitter:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> <link rel="apple-touch-icon" href="https://www.gentoo.org/assets/img/logo/icon-192.png"> @@ -14,9 +14,6 @@ <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="/planet-tyrian.css" type="text/css"> - <style type="text/css"> - div.archive-entry { float: left; width: 25%; } - </style> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"> @@ -24,8 +21,6 @@ <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"> <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"> - <link rel="alternate" type="application/rss+xml" title="Planet Gentoo" href="rss20.xml"> - <link rel="alternate" type="application/atom+xml" title="Planet Gentoo" href="atom.xml"> </head> <body class=""> @@ -94,19 +89,9 @@ </header> - <div class="container-fluid"> + <div class="container"> <div class="row"> - <div id="left-column" class="col-md-3"> -<div class="altmenu"> -<br>Bugs? Comments? Suggestions? <a href="https://wiki.gentoo.org/wiki/Project:Planet">Contact us!</a> - -<br><br><b>Powered by:</b><br> -<a href="http://www.intertwingly.net/code/venus/">Planet Venus</a> - -</div> -</div> - -<div id="content" class="col-md-9"> +<div id="content"> <div class="media"> <div class="media-left"><img src="/images/gentoo.gif" class="media-object"></div> <div class="media-body">Welcome to the <b>Gentoo Universe</b> archives. Also available for <a href="http://planet.gentoo.org/planet/archives/">Planet Gentoo</a>.</div> @@ -126,15 +111,16 @@ foreach (new SortedFileIterator(new FilesystemIterator('.')) as $entry) { if (!$entry->isDir()) continue; $path = $entry->getFileName(); - echo "<div class='dateheading'>$path</div><div class='row'>"; + echo "<div class='dateheading'>$path</div><div class='container'><div class='row'>"; foreach (new SortedFileIterator(new FilesystemIterator($entry)) as $file) { if (!$file->isFile()) continue; $filename = $file->getFileName(); $basename = $file->getBaseName('.html'); - echo "<div class='archive-entry'> <a href='$path/$filename'>{$basename}</a></div>\n"; + echo "<div class='col-xs-4 col-sm-2'> <a href='$path/$filename'>{$basename}</a></div>\n"; } - echo "</div><br />"; + echo "</div></div><br />"; } + $last_updated = date('F j, Y, H:i T'); ?> </div> @@ -142,6 +128,27 @@ </div> <footer> <div class="container-fluid"> +<div class="row"> + <div class="col-xs-12 col-md-offset-2 col-md-7"> + <h3 class="footerhead">Gentoo Planet</h3> + <div class="row"> + <div class="col-xs-12 col-md-4"> + <strong>Last Updated:</strong><br><span class="kk-i18n-date" title="<?=$last_updated?>"><?=$last_updated?></span> + </div> + <div class="col-xs-12 col-md-4"> + <strong>Powered by:</strong><br><a href="http://www.intertwingly.net/code/venus/">Planet Venus</a> + </div> + <div class="col-xs-12 col-md-4"> + <a href="rss20.xml"><img src="/images/rss20.png" border="0" alt="Syndicate this Planet"></a><br> + <a href="opml.xml"><img src="/images/opml.png" border="0" alt="Blogroll"></a> + </div> + </div> + </div> + <div class="col-xs-12 col-md-3"> + <h3 class="footerhead">Questions or comments?</h3> + Please feel free to <a href="https://wiki.gentoo.org/wiki/Project:Planet">contact us</a>. + </div> + </div> <div class="row"> <div class="col-xs-3 col-md-2"> <ul class="footerlinks three-icons"> |