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/loginform.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/loginform.html')
-rw-r--r-- | tpl/loginform.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/loginform.html b/tpl/loginform.html index 805a0148..954f6f1f 100644 --- a/tpl/loginform.html +++ b/tpl/loginform.html | |||
@@ -13,7 +13,7 @@ | |||
13 | Login: <input type="text" name="login" tabindex="1"> | 13 | Login: <input type="text" name="login" tabindex="1"> |
14 | Password : <input type="password" name="password" tabindex="2"> | 14 | Password : <input type="password" name="password" tabindex="2"> |
15 | <input type="submit" value="Login" class="bigbutton" tabindex="4"><br> | 15 | <input type="submit" value="Login" class="bigbutton" tabindex="4"><br> |
16 | <input style="margin:10 0 0 40;" type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"><label for="longlastingsession"> Stay signed in (Do not check on public computers)</label> | 16 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"><label for="longlastingsession"> Stay signed in (Do not check on public computers)</label> |
17 | <input type="hidden" name="token" value="{$token}"> | 17 | <input type="hidden" name="token" value="{$token}"> |
18 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if} | 18 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if} |
19 | </form> | 19 | </form> |
@@ -23,4 +23,4 @@ | |||
23 | 23 | ||
24 | {include="page.footer"} | 24 | {include="page.footer"} |
25 | </body> | 25 | </body> |
26 | </html> \ No newline at end of file | 26 | </html> |