From 4f5b44bd3bd490309eb2ba7b44df4769816ba729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 3 Aug 2013 19:26:54 +0200 Subject: twig implementation --- tpl/_head.twig | 16 +- tpl/_top.twig | 2 +- tpl/config.twig | 28 +-- tpl/css/knacss.css | 1 + tpl/css/style-dark.css | 90 ++++++++++ tpl/css/style-light.css | 100 +++++++++++ tpl/css/style.css | 210 +++++++++++++++++++++++ tpl/entries.html | 21 --- tpl/home.twig | 21 ++- tpl/img/apple-touch-icon-144x144-precomposed.png | Bin 0 -> 7349 bytes tpl/img/apple-touch-icon-72x72-precomposed.png | Bin 0 -> 6168 bytes tpl/img/apple-touch-icon.png | Bin 0 -> 5803 bytes tpl/img/dark/checkmark-off.png | Bin 0 -> 267 bytes tpl/img/dark/checkmark-on.png | Bin 0 -> 221 bytes tpl/img/dark/down.png | Bin 0 -> 223 bytes tpl/img/dark/logo.png | Bin 0 -> 786 bytes tpl/img/dark/remove.png | Bin 0 -> 265 bytes tpl/img/dark/star-off.png | Bin 0 -> 330 bytes tpl/img/dark/star-on.png | Bin 0 -> 277 bytes tpl/img/dark/up.png | Bin 0 -> 225 bytes tpl/img/down.png | Bin 0 -> 216 bytes tpl/img/favicon.ico | Bin 0 -> 346 bytes tpl/img/light/checkmark-off.png | Bin 0 -> 277 bytes tpl/img/light/checkmark-on.png | Bin 0 -> 235 bytes tpl/img/light/remove.png | Bin 0 -> 252 bytes tpl/img/light/star-off.png | Bin 0 -> 314 bytes tpl/img/light/star-on.png | Bin 0 -> 281 bytes tpl/img/logo.png | Bin 0 -> 911 bytes tpl/img/messages/close.png | Bin 0 -> 662 bytes tpl/img/messages/cross.png | Bin 0 -> 655 bytes tpl/img/messages/help.png | Bin 0 -> 786 bytes tpl/img/messages/tick.png | Bin 0 -> 537 bytes tpl/img/messages/warning.png | Bin 0 -> 666 bytes tpl/img/up.png | Bin 0 -> 212 bytes tpl/js/jquery-1.9.1.min.js | 5 + tpl/js/jquery.masonry.min.js | 10 ++ tpl/js/poche.js | 57 ++++++ tpl/login.twig | 8 +- 38 files changed, 515 insertions(+), 54 deletions(-) create mode 100644 tpl/css/knacss.css create mode 100644 tpl/css/style-dark.css create mode 100644 tpl/css/style-light.css create mode 100644 tpl/css/style.css delete mode 100644 tpl/entries.html create mode 100644 tpl/img/apple-touch-icon-144x144-precomposed.png create mode 100644 tpl/img/apple-touch-icon-72x72-precomposed.png create mode 100644 tpl/img/apple-touch-icon.png create mode 100644 tpl/img/dark/checkmark-off.png create mode 100644 tpl/img/dark/checkmark-on.png create mode 100644 tpl/img/dark/down.png create mode 100644 tpl/img/dark/logo.png create mode 100644 tpl/img/dark/remove.png create mode 100644 tpl/img/dark/star-off.png create mode 100644 tpl/img/dark/star-on.png create mode 100644 tpl/img/dark/up.png create mode 100644 tpl/img/down.png create mode 100644 tpl/img/favicon.ico create mode 100644 tpl/img/light/checkmark-off.png create mode 100644 tpl/img/light/checkmark-on.png create mode 100644 tpl/img/light/remove.png create mode 100644 tpl/img/light/star-off.png create mode 100644 tpl/img/light/star-on.png create mode 100644 tpl/img/logo.png create mode 100644 tpl/img/messages/close.png create mode 100644 tpl/img/messages/cross.png create mode 100644 tpl/img/messages/help.png create mode 100644 tpl/img/messages/tick.png create mode 100644 tpl/img/messages/warning.png create mode 100644 tpl/img/up.png create mode 100644 tpl/js/jquery-1.9.1.min.js create mode 100644 tpl/js/jquery.masonry.min.js create mode 100644 tpl/js/poche.js (limited to 'tpl') diff --git a/tpl/_head.twig b/tpl/_head.twig index 2d640cbf..ad96e9d1 100644 --- a/tpl/_head.twig +++ b/tpl/_head.twig @@ -1,10 +1,10 @@ - - - - - - + + + + + + - + - \ No newline at end of file + \ No newline at end of file diff --git a/tpl/_top.twig b/tpl/_top.twig index 8e3ea7e0..daee44fc 100644 --- a/tpl/_top.twig +++ b/tpl/_top.twig @@ -1,3 +1,3 @@
-

logo pochepoche

+

logo pochepoche

\ No newline at end of file diff --git a/tpl/config.twig b/tpl/config.twig index 10c481de..be2c0454 100644 --- a/tpl/config.twig +++ b/tpl/config.twig @@ -12,30 +12,30 @@ {% endblock %} {% block content %}
-

Bookmarklet

-

Thanks to the bookmarklet, you will be able to easily add a link to your poche. If you don't know how use a bookmarklet, have a look here.

-

Drag & drop this link to your bookmarks bar and have fun with poche.

-

poche it !

+

{% trans "Bookmarklet" %}

+

{% trans "Thanks to the bookmarklet, you will be able to easily add a link to your poche." %} {% trans "Have a look to this documentation:" %} http://inthepoche.com/?pages/Documentation.

+

{% trans "Drag & drop this link to your bookmarks bar and have fun with poche." %}

+

{% trans "poche it!" %}

-

Password

+

{% trans "Change your password" %}

- - + +
- - + +
- +
- - + +
-

Export

-

Click here to export your poche datas.

+

{% trans "Export your poche datas" %}

+

{% trans "Click here" %} {% trans "to export your poche datas." %}

{% endblock %} \ No newline at end of file diff --git a/tpl/css/knacss.css b/tpl/css/knacss.css new file mode 100644 index 00000000..ca0696b7 --- /dev/null +++ b/tpl/css/knacss.css @@ -0,0 +1 @@ +html{font-size:62.5%}body{font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:1.4em;line-height:1.5;color:#000;background-color:#FFF}p,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure,hgroup{margin:.75em 0 0;font-size:1em;line-height:1.5}h1,.h1-like{margin:.8077em 0 0 0;font-size:1.8571em;font-weight:normal;line-height:1.6154em}h2,.h2-like{margin:.875em 0 0 0;font-size:1.7143em;font-weight:normal;line-height:1.75em}h3,.h3-like{margin:.9545em 0 0 0;font-size:1.5714em;font-weight:normal;line-height:1.909em}h4,.h4-like{margin:1.05em 0 0 0;font-size:1.4286em;font-weight:normal;line-height:1.05em}h5,.h5-like{margin:1.1667em 0 0 0;font-size:1.2857em;font-weight:normal;line-height:1.1667em}h6,.h6-like{margin:1.3125em 0 0 0;font-size:1.1429em;font-weight:normal;line-height:1.3125em}.smaller{font-size:.7143em}.small{font-size:.8571em}.big{font-size:1.1429em}.bigger{font-size:1.2857em}.biggest{font-size:1.4286em}html,body,textarea,figure,label{margin:0;padding:0}ul,ol{padding-left:2em}code,pre,samp,kbd{font-family:consolas,'DejaVu Sans Mono',courier,monospace;line-height:1em;white-space:pre-wrap}code,kbd,mark{border-radius:2px}em{font-style:italic}strong{font-weight:bold}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;color:#B11;background:rgba(0,0,0,.04)}mark{padding:2px 4px;background:#FF0}table{margin-bottom:1.5em}p:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}li p,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto}img{height:auto;vertical-align:middle}#map_canvas img,.gmnoprint img{max-width:none}a img{border:0}body > script{display:none !important}.skip-links{position:absolute}.skip-links a{position:absolute;left:-7000px;padding:.5em;text-decoration:none;color:#FFF;background:#000}.skip-links a:focus{position:static}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mod,.item{overflow:hidden}.row{display:table;width:100%;table-layout:fixed}.row > *,.col{display:table-cell;vertical-align:top}.clear,.line,.row{clear:both}.clearfix:after,.line:after,.mod:after{content:"";display:table;clear:both}.left{float:left}img.left{margin-right:1em}.right{float:right}img.right{margin-left:1em}img.left,img.right{margin-bottom:5px}.center{margin-right:auto;margin-left:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.inbl{display:inline-block;margin-right:-.25em;vertical-align:top}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.m-reset,.ma0{margin:0 !important}.p-reset,.pa0{padding:0 !important}.ma1,.mas{margin:10px !important}.ma2,.mam{margin:20px !important}.ma3,.mal{margin:30px !important}.pa1,.pas{padding:10px}.pa2,.pam{padding:20px}.pa3,.pal{padding:30px}.mt0,.mtn{margin-top:0 !important}.mt1,.mts{margin-top:10px !important}.mt2,.mtm{margin-top:20px !important}.mt3,.mtl{margin-top:30px !important}.mr0,.mrn{margin-right:0}.mr1,.mrs{margin-right:10px}.mr2,.mrm{margin-right:20px}.mr3,.mrl{margin-right:30px}.mb0,.mbn{margin-bottom:0 !important}.mb1,.mbs{margin-bottom:10px !important}.mb2,.mbm{margin-bottom:20px !important}.mb3,.mbl{margin-bottom:30px !important}.ml0,.mln{margin-left:0}.ml1,.mls{margin-left:10px}.ml2,.mlm{margin-left:20px}.ml3,.mll{margin-left:30px}.pt0,.ptn{padding-top:0}.pt1,.pts{padding-top:10px}.pt2,.ptm{padding-top:20px}.pt3,.ptl{padding-top:30px}.pr0,.prn{padding-right:0}.pr1,.prs{padding-right:10px}.pr2,.prm{padding-right:20px}.pr3,.prl{padding-right:30px}.pb0,.pbn{padding-bottom:0}.pb1,.pbs{padding-bottom:10px}.pb2,.pbm{padding-bottom:20px}.pb3,.pbl{padding-bottom:30px}.pl0,.pln{padding-left:0}.pl1,.pls{padding-left:10px}.pl2,.plm{padding-left:20px}.pl3,.pll{padding-left:30px}.visually-hidden{position:absolute;left:-7000px;overflow:hidden}[dir=rtl] .visually-hidden{right:-7000px;left:auto}.desktop-hidden{display:none}form,fieldset{border:none}input,button,select,label,.btn{font-family:inherit;vertical-align:middle}textarea{font-family:inherit;resize:vertical}.ie67 .clearfix,.ie67 .line,.ie67 .mod,.ie67 .row,.ie67 .col{zoom:1}.ie67 .btn,.ie67 .col,.ie67 .inbl{display:inline;zoom:1}.ie8 img{width:auto}@media print{p,blockquote{orphans:2;widows:2}blockquote,ul,ol{page-break-inside:avoid}h1,h2,h3,caption{page-break-after:avoid}}@media(orientation:landscape)and(max-device-width:768px){html,body{-webkit-text-size-adjust:100%}}[class*=grid] > *{float:left}[class*=grid] > * + *{margin-left:2%}.grid2 > *{width:49%}.grid3 > *{width:32%}.grid4 > *{width:23.5%}.grid5 > *{width:18.4%}.grid6 > *{width:15%}.grid2-1 > *:first-child,.grid1-2 > * + *{width:66%}.grid1-2 > *:first-child,.grid2-1 > * + *{width:32%}.grid1-3 > *:first-child,.grid3-1 > * + *{width:23.5%}.grid3-1 > *:first-child,.grid1-3 > * + *{width:74.5%}table,.table{max-width:100%;border-collapse:collapse;table-layout:fixed;vertical-align:top}table{width:100%}.table{display:table}caption{padding:10px;font-style:italic;color:#555}table{border:1px solid #CCC}tr > * + *{border-left:1px solid #CCC}th,td{padding:.3em .8em;border-bottom:1px solid #CCC;text-align:left}td{color:#333}.alternate{border:0}.alternate tbody{border:1px solid #CCC}.alternate thead tr > * + *{border-left:0}.alternate tbody tr > * + *{border-left:1px solid #CCC}.alternate-vert{border:0;border-right:1px solid #CCC}.alternate-vert tr >:first-child{border-bottom:0}.alternate-vert tr > * + *{border-top:1px solid #CCC}.striped tbody tr:nth-child(odd){background:#EEE;background:rgba(0,0,0,.05)}.striped-vert tr >:first-child{background:#EEE;background:rgba(0,0,0,.05)}.btn{display:inline-block}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}button,input,select{margin:0;font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:100%;vertical-align:middle}textarea{min-height:5em;overflow:auto;font-size:1.75em;vertical-align:top;resize:vertical}}ol.styled{counter-reset:styled}ol.styled > li{counter-increment:styled;margin-bottom:.3em;list-style-type:none}ol.styled > li:before{content:counter(styled);display:inline-block;width:1em;height:1em;margin-right:.4em;padding:2px;border-radius:50%;text-align:center;text-indent:-.1em;font-size:.9em;line-height:1;vertical-align:middle;color:#FFF;background:rgba(0,0,0,.5)}@media(min-width:1280px){.large-hidden,.tablet-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;width:100% !important;table-layout:fixed}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.large-ma0,.large-man{margin:0 !important}}@media(max-width:768px){.w60,.w66,.w70,.w75,.w80,.w90,.w100,.w600p,.w700p,.w800p,.w960p,.mw960p,.medium-wauto{width:auto}.medium-hidden,.tablet-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;width:100% !important;table-layout:fixed}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.medium-ma0,.medium-man{margin:0 !important}.grid4 > *{width:49% !important}.grid4 >:first-child + * + *{margin-left:0 !important}.grid6 > *{width:32% !important}.grid6 >:first-child + * + * + *{margin-left:0 !important}}@media(max-width:640px){.mod,.item,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.w30,.w33,.w40,.w50,.w300p,.w400p,.w500p{width:auto}.row{display:block !important;width:100% !important}.tiny-hidden,.phone-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table;width:100% !important;table-layout:fixed}.tiny-col{display:table-cell;vertical-align:top}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.tiny-ma0,.tiny-man{margin:0 !important}} \ No newline at end of file diff --git a/tpl/css/style-dark.css b/tpl/css/style-dark.css new file mode 100644 index 00000000..0fcced24 --- /dev/null +++ b/tpl/css/style-dark.css @@ -0,0 +1,90 @@ +/*** GENERAL ***/ +body { + color: #fff; + background-color: #0d0d0d; +} + +a, a:hover, a:visited { + color: #fff; +} + +#main ul#links li a.current { + background-color: #000; + color: #fff; +} + +#links a:hover, .backhome a:hover, .support a:hover{ + background-color: #fff; + color: #000; +} + +input[type=submit].delete { + background : url('../img/dark/remove.png') no-repeat center center; + color : transparent; +} + +#main .entrie { + color: #fff; + background-color: #000; + border: 1px solid #fff; +} + +#main .entrie h2 a:hover { + color: #29B1E3; +} + +a.fav span { + background: url('../img/dark/star-on.png') no-repeat; +} + +a.fav span:hover { + background: url('../img/dark/star-off.png') no-repeat; +} + +a.fav-off span { + background: url('../img/dark/star-off.png') no-repeat; +} + +a.fav-off span:hover { + background: url('../img/dark/star-on.png') no-repeat; +} + +a.archive span { + background: url('../img/dark/checkmark-on.png') no-repeat; +} + +a.archive span:hover { + background: url('../img/dark/checkmark-off.png') no-repeat; +} + +a.archive-off span { + background: url('../img/dark/checkmark-off.png') no-repeat; +} + +a.archive-off span:hover { + background: url('../img/dark/checkmark-on.png') no-repeat; +} + +/*** ***/ +/*** ARTICLE PAGE ***/ + +body.article { + color: #fff; + background-color: #0d0d0d; +} + +#article header { + border-bottom: 1px solid #222222; +} + +#article article { + border-bottom: 1px solid #222222; +} + +.vieworiginal a { + color: #888888; +} + +.entrie { + background-color: #fff; +} diff --git a/tpl/css/style-light.css b/tpl/css/style-light.css new file mode 100644 index 00000000..c1d98326 --- /dev/null +++ b/tpl/css/style-light.css @@ -0,0 +1,100 @@ +/*** GENERAL ***/ +body { + color: #222222; + background-color: #F1F1F1; +} + +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; +} + +#links a:hover, .backhome a:hover, .support a:hover{ + background-color: #040707; + color: #F1F1F1; +} + +input[type=submit].delete { + background : url('../img/light/remove.png') no-repeat center center; + color : transparent; +} + +#main .entrie { + color: #2e2e2e; + background-color: #ffffff; + border: 1px solid #000; +} + +#main .entrie h2 a:hover { + color: #F5BE00; +} + +a.fav span { + background: url('../img/light/star-on.png') no-repeat; +} + +a.fav span:hover { + background: url('../img/light/star-off.png') no-repeat; +} + +a.fav-off span { + background: url('../img/light/star-off.png') no-repeat; +} + +a.fav-off span:hover { + background: url('../img/light/star-on.png') no-repeat; +} + +a.archive span { + background: url('../img/light/checkmark-on.png') no-repeat; +} + +a.archive span:hover { + background: url('../img/light/checkmark-off.png') no-repeat; +} + +a.archive-off span { + background: url('../img/light/checkmark-off.png') no-repeat; +} + +a.archive-off span:hover { + background: url('../img/light/checkmark-on.png') no-repeat; +} + +/*** ***/ +/*** ARTICLE PAGE ***/ + +body.article { + color: #222222; + background-color: #F1F1F1; +} + +#article header { + border-bottom: 1px solid #222222; +} + +#article article { + border-bottom: 1px solid #222222; +} + +.vieworiginal a { + color: #888888; +} + +.entrie { + background-color: #fff; +} diff --git a/tpl/css/style.css b/tpl/css/style.css new file mode 100644 index 00000000..69e37497 --- /dev/null +++ b/tpl/css/style.css @@ -0,0 +1,210 @@ +/*** GENERAL ***/ +body { + font: 20px/1.3em Palatino,Georgia,serif; + margin: 10px; +} + +header { + text-align: center; +} + +.bouton { + border-radius: 2px; +} + +#main ul#links { + padding: 0; + list-style-type: none; + text-align: center; +} + +#main ul#links li { + display: inline; +} + +#main ul#links li a.current { + -webkit-border-radius: 2px; + border-radius: 2px; +} + +#main ul#sort { + padding: 0; + list-style-type: none; + text-align: center; +} + +#main ul#sort li { + display: inline; + font-size: 0.9em; +} + +#main ul#sort img:hover { + cursor: pointer; +} + +#main, #article { + margin: 0 auto; +} + +#links a, .backhome a, .support a{ + text-decoration: none; + padding: 5px 10px; +} +#links a:hover, .backhome a:hover, .support a:hover{ + -webkit-border-radius: 2px; + border-radius: 2px; +} + +.support { + font-size: 14px; +} + +footer { + text-align: right; +} + +/*** ***/ +/*** LINKS DISPLAY ***/ + +#main a.tool { + text-decoration: none; + cursor: pointer; +} + +input[type=submit].delete { + width : 16px; + height :16px; + border : none; + cursor: pointer; + font-size : 0; +} + +#main #content { + margin-top: 20px; +} + +#main .entrie { + padding: 15px; + min-height: 8em; + border: 1px solid; +} + +#main .entrie h2 a { + text-decoration: none; +} + +.tools { + text-align: right; +} + +.tools ul { + padding: 0; margin: 0; + list-style-type: none; +} + +.tools ul li { + line-height: 20px; +} + +.tools a.tool { + cursor: pointer; +} + +#article .tools { + position: relative; + display: inline; + top: 0px; + right: 0px; + width: 100%; + text-align: left; +} + +#article .tools ul li{ + display: inline; +} + +#main .entrie .tools a.tool span, #article .tools a.tool span { + display: inline-block; + width: 16px; + height: 16px; +} + +#main .entrie .url { + font-size: 13px; +} + + +/*** ***/ +/*** ARTICLE PAGE ***/ + +body.article { + font: 20px/1.3em Palatino,Georgia,serif; +} + +#article header { + text-align: left; +} + +#article header a { + text-decoration: none; +} + +.vieworiginal a { + text-decoration: none; +} + +.backhome { + display: inline; +} + +/*** ***/ + +#main +{ + max-width: 60em; /* 960 px */ + margin: 0 auto; +} +#content +{ + width: 103.125%; /* 990px */ + overflow: hidden; + margin-left: -1.562%; /* 15px */ + margin-bottom: -1.875em; /* 30px */ +} + +.entrie +{ + width: 30.303%; /* 300px */ + background-color: #fff; + float: left; + margin: 0 1.515% 1.875em; /* 15px 30px */ +} + +@media only screen and ( max-width: 40em ) /* 640px */ +{ + .entrie + { + width: 46.876%; /* 305px */ + margin-bottom: 0.938em; /* 15px */ + } +} + +@media only screen and ( max-width: 20em ) /* 320px */ +{ + #content + { + width: 100%; + margin-left: 0; + } + + .entrie + { + width: 100%; + margin-left: 0; + margin-right: 0; + } +} + +.messages { + +} \ No newline at end of file diff --git a/tpl/entries.html b/tpl/entries.html deleted file mode 100644 index 83e58c74..00000000 --- a/tpl/entries.html +++ /dev/null @@ -1,21 +0,0 @@ -
- {loop="entries"} -
- -

- {$value.title} -

-
-
    -
  • -
  • -
  • -
  • -
  • -
-
-
{$value.url}
-
-
- {/loop} -
\ No newline at end of file diff --git a/tpl/home.twig b/tpl/home.twig index c79d4276..5752b2cf 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -11,10 +11,19 @@ {% endblock %} {% block precontent %} {% endblock %} +{% block notices %} +
+ +
+{% endblock %} {% block content %}
{% for entry in entries %} @@ -28,7 +37,7 @@
  • -
  • +
  • @@ -40,9 +49,9 @@ {% endblock %} {% block js %} - - - + + +