858c5c2b43
Shaarli uses light Javascript in its normal operation, and some jQuery for some features (autocomplete in tags, QR-Code popup...). jQuery can be slow on small computers. An option has been added in configuration screen to disable javascript features which are hard on CPU. (Note that the Picture Wall is awfully heavy *without* jQuery.) (Side note: A *LOT* of users want Shaarli to work without javasript at all, if possible. That's why I try to use as few javascript as possible: It keeps Shaarli pages fast.) |
||
---|---|---|
.. | ||
addlink.html | ||
changepassword.html | ||
changetag.html | ||
configure.html | ||
daily.html | ||
dailyrss.html | ||
editlink.html | ||
export.html | ||
import.html | ||
includes.html | ||
install.html | ||
linklist.html | ||
linklist.paging.html | ||
loginform.html | ||
page.footer.html | ||
page.header.html | ||
page.html | ||
picwall.html | ||
picwall2.html | ||
readme.txt | ||
tagcloud.html | ||
tools.html |
===== 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> -----------------------------------------------------