diff options
author | VirtualTam <virtualtam@flibidi.org> | 2014-12-02 21:00:52 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.org> | 2014-12-03 19:28:43 +0100 |
commit | c133612f32849b76785635efe19d4afedcfd0248 (patch) | |
tree | 0ecbebedef56698fa991a60196e06435d4e2f3d7 /tpl/install.html | |
parent | fdd8fb2be2c45bd810a2d8b55c1f2cbf7f655fe3 (diff) | |
download | Shaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.gz Shaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.zst Shaarli-c133612f32849b76785635efe19d4afedcfd0248.zip |
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>
Diffstat (limited to 'tpl/install.html')
-rw-r--r-- | tpl/install.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tpl/install.html b/tpl/install.html index 4034ef1b..32b8811b 100644 --- a/tpl/install.html +++ b/tpl/install.html | |||
@@ -2,20 +2,19 @@ | |||
2 | <html> | 2 | <html> |
3 | <head>{include="includes"}{$timezone_js}</head> | 3 | <head>{include="includes"}{$timezone_js}</head> |
4 | <body onload="document.installform.setlogin.focus();"> | 4 | <body onload="document.installform.setlogin.focus();"> |
5 | <div style="margin-left:20px;"> | 5 | <div id="install"> |
6 | <h1>Shaarli</h1> | 6 | <h1>Shaarli</h1> |
7 | It looks like it's the first time you run Shaarli. Please configure it:<br> | 7 | It looks like it's the first time you run Shaarli. Please configure it:<br> |
8 | <div style="color:white !important;"> | 8 | <form method="POST" action="" name="installform" id="installform"> |
9 | <form method="POST" action="" name="installform" id="installform" style="border:1px solid black; padding:10 10 10 10;"> | 9 | <table> |
10 | <table border="0" cellpadding="20"> | ||
11 | <tr><td><b>Login:</b></td><td><input type="text" name="setlogin" size="30"></td></tr> | 10 | <tr><td><b>Login:</b></td><td><input type="text" name="setlogin" size="30"></td></tr> |
12 | <tr><td><b>Password:</b></td><td><input type="password" name="setpassword" size="30"></td></tr> | 11 | <tr><td><b>Password:</b></td><td><input type="password" name="setpassword" size="30"></td></tr> |
13 | {$timezone_html} | 12 | {$timezone_html} |
14 | <tr><td><b>Page title:</b></td><td><input type="text" name="title" size="30"></td></tr> | 13 | <tr><td><b>Page title:</b></td><td><input type="text" name="title" size="30"></td></tr> |
15 | <tr><td></td><td align="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> | 14 | <tr><td colspan="2"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> |
16 | </table> | 15 | </table> |
17 | </form> | 16 | </form> |
18 | </div> | 17 | </div> |
19 | {include="page.footer"} | 18 | {include="page.footer"} |
20 | </body> | 19 | </body> |
21 | </html> \ No newline at end of file | 20 | </html> |