summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorequinox <equinox@diac24.net>2011-09-27 05:48:47 +0200
committerequinox <equinox@diac24.net>2011-09-27 05:48:47 +0200
commit230438d7c287a370422ca42b7bd6ef977475ef70 (patch)
tree2e1775df5e6d13a3cb1df5dca84bc61e10f8ec29
parent51af1891d79fd39db43f3164dc21773f6ef6ca85 (diff)
templates: fix image sizes
-rw-r--r--static/layout.css1
-rw-r--r--templates/layout.xi2
-rw-r--r--templates/select.html6
3 files changed, 6 insertions, 3 deletions
diff --git a/static/layout.css b/static/layout.css
index 1b8f0f5..5b3b818 100644
--- a/static/layout.css
+++ b/static/layout.css
@@ -30,6 +30,7 @@ p.app {
border:1px solid #ccc;
padding:2pt;
padding-right:8pt;
+ text-align:left;
}
p.app img {
display:inline-block;
diff --git a/templates/layout.xi b/templates/layout.xi
index e14e21b..290e7b0 100644
--- a/templates/layout.xi
+++ b/templates/layout.xi
@@ -25,7 +25,7 @@
<body id="formcont" py:attrs="select('@*')">
${select('sub:infobox')}
<div>
- <img id="logo" src="static/ldap.png" alt="subdap"/>
+ <img id="logo" src="static/ldap.png" alt="subdap" width="192" height="230"/>
${select('*')}
</div>
</body>
diff --git a/templates/select.html b/templates/select.html
index 1391431..01f7341 100644
--- a/templates/select.html
+++ b/templates/select.html
@@ -14,8 +14,10 @@
<sub:bodyform>
<div class="cont">
Hallo ${user['cn']}!
- <p class="app"><a href="https://wiki.sublab.org/auth_subdap.php?${tgts['wiki']}"><img src="${url('static/app_wiki.png')}" alt="wiki"/> sublab.org wiki</a></p>
- <p class="app"><a href="pwchange?username=${user['cn']}"><img src="${url('static/app_password.png')}" alt="pwchange"/> Passwort ändern</a></p>
+ <p class="app"><a href="https://wiki.sublab.org/auth_subdap.php?${tgts['wiki']}">
+ <img src="${url('static/app_wiki.png')}" alt="wiki" width="48" height="48"/> sublab.org wiki</a></p>
+ <p class="app"><a href="pwchange?username=${user['cn']}">
+ <img src="${url('static/app_password.png')}" alt="pwchange" width="24" height="24"/> Passwort ändern</a></p>
</div>
</sub:bodyform>
</html>