diff --git a/README.md b/README.md index 0bcce53..6700415 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ Abandon Pocket, Instapaper and other Readability service : adopt poche. It is th The website of poche is [inthepoche.com](http://inthepoche.com). +To test poche, a demo website is online : [demo.inthepoche.com](http://demo.inthepoche.com) (login poche, password poche). + To get news from poche, [follow us on twitter](http://twitter.com/getpoche) or [read the poche blog](http://inthepoche.com/blog). [![flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1265480/poche-a-read-it-later-open-source-system) diff --git a/css/style-light.css b/css/style-light.css index 5b9c6c1..cd2384c 100644 --- a/css/style-light.css +++ b/css/style-light.css @@ -8,6 +8,16 @@ a, a:hover, a:visited { color: #000; } +.bouton { + background-color: #000; + color: #fff; + border: none; +} +.bouton:hover { + background-color: #222222; + color: #F1F1F1; +} + #main ul#links li a.current { background-color: #000; color: #fff; diff --git a/css/style.css b/css/style.css index 36ebf85..9fadfa9 100644 --- a/css/style.css +++ b/css/style.css @@ -4,11 +4,14 @@ body { margin: 10px; } - header { text-align: center; } +.bouton { + border-radius: 2px; +} + #main ul#links { padding: 0; list-style-type: none; @@ -56,11 +59,6 @@ footer { text-align: right; } -/*** ***/ -/*** LOGIN FORM ***/ -ul#login li { - list-style-type: none; -} /*** ***/ /*** LINKS DISPLAY ***/ @@ -117,7 +115,7 @@ input[type=submit].delete { text-align: left; } -#article.tools ul li{ +#article .tools ul li{ display: inline; } @@ -208,10 +206,10 @@ body.article { .messages p { margin: 3px 0 3px 10px !important; padding: 0 10px 0 23px !important; font-size: 14px; line-height: 16px; } .messages.error { border: 1px solid #C42608; color: #c00 !important; background: #FFF0EF; } .messages.error p { background: url(../img/messages/cross.png ) no-repeat 0px 50%; color:#c00 !important; } -.messages.success {background: #E0FBCC; border: 1px solid #6DC70C; } +.messages.success {background: #E0FBCC; border: 1px solid #6DC70C; } .messages.success p { background: url(../img/messages/tick.png) no-repeat 0px 50%; color: #2B6301 !important; } .messages.warning { background: #FFFCD3; border: 1px solid #EBCD41; color: #000; } .messages.warning p { background: url(../img/messages/warning.png ) no-repeat 0px 50%; color: #5F4E01; } .messages.information, .messages.info { background: #DFEBFB; border: 1px solid #82AEE7; } .messages.information p, .messages.info p { background: url(../img/messages/help.png ) no-repeat 0px 50%; color: #064393; } -.messages.information a { text-decoration: underline; } \ No newline at end of file +.messages.information a { text-decoration: underline; } diff --git a/inc/config.php b/inc/config.php index 9d4b7fa..8bafd59 100644 --- a/inc/config.php +++ b/inc/config.php @@ -8,7 +8,7 @@ * @license http://www.wtfpl.net/ see COPYING file */ -define ('POCHE_VERSION', '0.2'); +define ('POCHE_VERSION', '0.2.1'); if (!is_dir('db/')) { @mkdir('db/',0705); diff --git a/index.php b/index.php index 6eefd27..829d551 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ if (isset($_GET['login'])) { if (!empty($_POST['login']) && !empty($_POST['password'])) { if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) { logm('login successful'); + $msg->add('s', 'welcome in your pocket!'); if (!empty($_POST['longlastingsession'])) { $_SESSION['longlastingsession'] = 31536000; $_SESSION['expires_on'] = time() + $_SESSION['longlastingsession']; diff --git a/tpl/home.html b/tpl/home.html index ad88199..90e247f 100644 --- a/tpl/home.html +++ b/tpl/home.html @@ -1,6 +1,6 @@
-

logo pochepoche

+

logo pochepoche

- {if condition="isset($entries)"} + {if condition="isset($entries)"}