aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-04-21 16:21:37 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-05-17 14:02:41 +0530
commitd612a7e647b276c33c320d75108405847df7ac1d (patch)
tree56d574b3580c86c6af4f9472eb904d6459fac661
parent1cfb84e61e808a50b12e4686781eb85202b4e87b (diff)
downloadforums-d612a7e647b276c33c320d75108405847df7ac1d.tar
forums-d612a7e647b276c33c320d75108405847df7ac1d.tar.gz
forums-d612a7e647b276c33c320d75108405847df7ac1d.tar.bz2
forums-d612a7e647b276c33c320d75108405847df7ac1d.tar.xz
forums-d612a7e647b276c33c320d75108405847df7ac1d.zip
[feature/delete-auto-logins] improves styling
PHPBB3-9647
-rw-r--r--phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html47
-rw-r--r--phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html37
2 files changed, 41 insertions, 43 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html b/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
index 143cb925ec..a8af932cb6 100644
--- a/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
+++ b/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
@@ -14,31 +14,30 @@
<!-- END errors -->
</p>
<!-- ENDIF -->
- <!-- IF .sessions -->
- <p>{L_PROFILE_AUTOLOGIN_KEYS}</p><br />
- <table cellspacing="1" class="table1">
- <thead>
- <tr>
- <th>{L_MARK}</th>
- <th>{L_LOGIN_KEY}</th>
- <th>{L_IP}</th>
- <th>{L_LOGIN_TIME}</th>
+
+ <p>{L_PROFILE_AUTOLOGIN_KEYS}</p><br />
+ <table cellspacing="1" class="table1">
+ <thead>
+ <tr>
+ <th>{L_MARK}</th>
+ <th>{L_LOGIN_KEY}</th>
+ <th>{L_IP}</th>
+ <th>{L_LOGIN_TIME}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <!-- BEGIN sessions -->
+ <!-- IF sessions.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
+ <td style="text-align: center"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}"/></td>
+ <td><label for="{sessions.KEY}">{sessions.KEY}</label></td>
+ <td style="text-align: center">{sessions.IP}</td>
+ <td style="text-align: center">{sessions.LOGIN_TIME}</td>
</tr>
- </thead>
- <tbody>
- <!-- BEGIN sessions -->
- <!-- IF sessions.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
- <td style="text-align: center"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}"/></td>
- <td><label for="{sessions.KEY}">{sessions.KEY}</label></td>
- <td style="text-align: center">{sessions.IP}</td>
- <td style="text-align: center">{sessions.LOGIN_TIME}</td>
- </tr>
- <!-- END sessions -->
- </tbody>
- </table>
- <!-- ELSE -->
- <p>{L_PROFILE_NO_AUTOLOGIN_KEYS}</p>
- <!-- ENDIF -->
+ <!-- BEGINELSE -->
+ <tr><td colspan="4" class="bg1">{L_PROFILE_NO_AUTOLOGIN_KEYS}</td></tr>
+ <!-- END sessions -->
+ </tbody>
+ </table>
</fieldset>
</div>
</div>
diff --git a/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html b/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
index 365b6f4a52..2d3b9f98f8 100644
--- a/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
+++ b/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
@@ -13,29 +13,28 @@
</td>
</tr>
<!-- ENDIF -->
-<!-- IF .sessions -->
- <tr>
- <td colspan="4" class="row1">{L_PROFILE_AUTOLOGIN_KEYS}</td>
- </tr>
- <tr>
- <th>{L_MARK}</th>
- <th>{L_LOGIN_KEY}</th>
- <th>{L_IP}</th>
- <th>{L_LOGIN_TIME}</th>
+
+<tr>
+ <td colspan="4" class="row1">{L_PROFILE_AUTOLOGIN_KEYS}</td>
+</tr>
+<tr>
+ <th>{L_MARK}</th>
+ <th>{L_LOGIN_KEY}</th>
+ <th>{L_IP}</th>
+ <th>{L_LOGIN_TIME}</th>
+</tr>
+<!-- BEGIN sessions -->
+ <!-- IF sessions.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
+ <td class="genmed" style="text-align: center"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}"/></td>
+ <td class="genmed"><label for="{sessions.KEY}">{sessions.KEY}</label></td>
+ <td class="genmed" style="text-align: center">{sessions.IP}</td>
+ <td class="genmed" style="text-align: center">{sessions.LOGIN_TIME}</td>
</tr>
- <!-- BEGIN sessions -->
- <!-- IF sessions.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <td class="genmed" style="text-align: center"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}"/></td>
- <td class="genmed"><label for="{sessions.KEY}">{sessions.KEY}</label></td>
- <td class="genmed" style="text-align: center">{sessions.IP}</td>
- <td class="genmed" style="text-align: center">{sessions.LOGIN_TIME}</td>
- </tr>
- <!-- END sessions -->
-<!-- ELSE -->
+<!-- BEGINELSE -->
<tr>
<td colspan="4" class="row1">{L_PROFILE_NO_AUTOLOGIN_KEYS}</td>
</tr>
-<!-- ENDIF -->
+<!-- END sessions -->
<!-- IF .sessions -->
<tr>