1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

Merge branch 'master' of github.com:nicosomb/poche

This commit is contained in:
nicosomb 2013-04-08 10:54:59 +02:00
commit 67b70f811b
4 changed files with 58 additions and 5 deletions

View File

@ -0,0 +1,3 @@
<?php if(!class_exists('raintpl')){exit;}?> <footer class="mr2 mt3">
<p class="smaller"><a href="http://github.com/nicosomb/poche">poche</a> is a read it later open source system, based on <a href="http://www.memiks.fr/readityourself/">ReadItYourself</a>. <a href="https://twitter.com/getpoche" title="follow us on twitter">@getpoche</a>. Logo by <a href="http://www.iconfinder.com/icondetails/43256/128/jeans_monotone_pocket_icon">Brightmix</a>. poche is developed by <a href="http://nicolas.loeuillet.org">Nicolas Lœuillet</a> under the <a href="http://www.wtfpl.net/">WTFPL</a>.</p>
</footer>

View File

@ -0,0 +1,32 @@
<?php if(!class_exists('raintpl')){exit;}?><!DOCTYPE html>
<!--[if lte IE 6]> <html class="no-js ie6 ie67 ie678" lang="en"> <![endif]-->
<!--[if lte IE 7]> <html class="no-js ie7 ie67 ie678" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 ie678" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<link rel="stylesheet" href="./css/knacss.css" media="all">
<link rel="stylesheet" href="./css/style.css" media="all">
<title><?php echo $title;?></title>
</head>
<body class="article">
<div id="article" class="w600p">
<div id="backhome">
<a href="index.php" title="back to home">&larr;</a>
</div>
<header class="mbm">
<h1><a href="<?php echo $url;?>"><?php echo $title;?></a></h1>
<div class="vieworiginal txtright small"><a href="<?php echo $url;?>" target="_blank">view original</a></div>
</header>
<article>
<div id="readityourselfcontent">
<?php echo $content;?>
</div>
</article>
</div>
<?php $tpl = new RainTPL;$tpl_dir_temp = self::$tpl_dir;$tpl->assign( $this->var );$tpl->draw( dirname("footer") . ( substr("footer",-1,1) != "/" ? "/" : "" ) . basename("footer") );?>
</body>
</html>

View File

@ -2,10 +2,13 @@ body {
color: #222222; color: #222222;
font: 20px/1.3em Palatino,Georgia,serif; font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1; background-color: #F1F1F1;
margin: 10px;
} }
body.article { body.article {
background-color: #ffffff; color: #222222;
font: 20px/1.3em Palatino,Georgia,serif;
background-color: #F1F1F1;
} }
a, a:hover, a:visited { a, a:hover, a:visited {
@ -40,7 +43,16 @@ header {
#main ul#links li { #main ul#links li {
display: inline; display: inline;
padding: 15px; }
#links a, #backhome a{
text-decoration: none;
padding: 5px 10px;
}
#links a:hover, #backhome a{
-webkit-border-radius: 2px;
border-radius: 2px;
background-color: #040707;
color: #F1F1F1;
} }
#main #entries { #main #entries {
@ -51,7 +63,12 @@ header {
color: rgb(46, 46, 46); color: rgb(46, 46, 46);
position:relative; position:relative;
background-color: #ffffff; background-color: #ffffff;
height: 8em; padding: 15px;
height: 6em;
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
} }
#main #entries .entrie h2 a { #main #entries .entrie h2 a {
@ -67,6 +84,7 @@ header {
bottom: 0; bottom: 0;
width: 100%; width: 100%;
text-align: right; text-align: right;
margin-left: -20px;
} }
#main a.tool { #main a.tool {
@ -74,5 +92,5 @@ header {
} }
footer { footer {
text-align: right; text-align: center;
} }

View File

@ -14,7 +14,7 @@
</head> </head>
<body class="article"> <body class="article">
<div id="article" class="w600p"> <div id="article" class="w600p">
<div> <div id="backhome">
<a href="index.php" title="back to home">&larr;</a> <a href="index.php" title="back to home">&larr;</a>
</div> </div>
<header class="mbm"> <header class="mbm">