MyShaarli/tpl
VirtualTam c133612f32 CSS: remove hardcoded style from templates
Fixes shaarli/Shaarli#29

Style elements refactored as follows:
- use existing ids and classes if possible,
- else, define new ones and stick with the existing naming convention,
- remove hardcoded style attributes from RainTPL templates.

Exception:
In tpl/tagcloud.html, the display size of each tag is computed at page
generation.

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
2014-12-03 19:28:43 +01:00
..
addlink.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
changepassword.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
changetag.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
configure.html Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css 2014-08-19 18:01:15 +02:00
daily.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
dailyrss.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
editlink.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
export.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
import.html Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix typo in css 2014-08-19 18:01:15 +02:00
includes.html uniform if syntax 2013-10-23 23:21:36 +02:00
install.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
linklist.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
linklist.paging.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
loginform.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.footer.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.header.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html Removed jQuery from almost all pages 2013-09-25 21:27:50 +02:00
picwall2.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
readme.txt Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
tagcloud.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
tools.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00

===== Shaarli template organisation =====

Any Shaarli page should conform to this RainTPL template:

-----------------------------------------------------
<html>
<head>{include="includes"}</head>
<body>
	<div id="pageheader">{include="page.header"}</div>
    You body goes here...
    {include="page.footer"}
</body>
</html>
-----------------------------------------------------

If you want to also add something in the page header (in the dark area), do it here:

<div id="pageheader">{include="page.header"}My menu goes here...</div>


Example: "Add new link" form:
-----------------------------------------------------
<html>
<head>{include="includes"}</head>
<body onload="document.addform.post.focus();">
<div id="pageheader">
	{include="page.header"}
	<div id="headerform">
		<form method="GET" action="" name="addform" class="addform">
			<input type="text" name="post" style="width:50%;"> 
			<input type="submit" value="Add link" class="bigbutton">
		</form>
	</div>
</div>
{include="page.footer"}
</body>
</html>
-----------------------------------------------------