Difference between revisions of "TestPage"
Jump to navigation
Jump to search
(→MP Table, css in Common.css) |
(→MP Table, css inline) |
||
| Line 58: | Line 58: | ||
== MP Table, css inline == | == MP Table, css inline == | ||
Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it. | Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it. | ||
| + | <!-- | ||
<table class="vbox" style="float:right; clear:right; width:22em; margin:0 0 1.0em 1.0em; background:#f9f9f9; border:1px solid #9b301c; border-spacing:0.2em; padding:0.2em; text-align: center; line-height: 1.4em; font-size: 90%;"> | <table class="vbox" style="float:right; clear:right; width:22em; margin:0 0 1.0em 1.0em; background:#f9f9f9; border:1px solid #9b301c; border-spacing:0.2em; padding:0.2em; text-align: center; line-height: 1.4em; font-size: 90%;"> | ||
<tr><th class="vbox-title" style="background-color:#d50000; border:1px solid #9b301c; color:#ffffff;"> | <tr><th class="vbox-title" style="background-color:#d50000; border:1px solid #9b301c; color:#ffffff;"> | ||
| Line 80: | Line 81: | ||
<div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Base salary:</div> | <div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Base salary:</div> | ||
<div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£76,011 ''yearly''</div> | <div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£76,011 ''yearly''</div> | ||
| − | </div | + | </div> |
<div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | <div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | ||
<div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Other Income:</div> | <div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Other Income:</div> | ||
<div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">[https://www.theyworkforyou.com/mp/25636/jared_o%27mara/sheffield%2C_hallam#register TheyWorkForYou]</div> | <div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">[https://www.theyworkforyou.com/mp/25636/jared_o%27mara/sheffield%2C_hallam#register TheyWorkForYou]</div> | ||
| − | </div | + | </div> |
<div class="vbox-cell" style="width:100%; display:inline-block; box-sizing:border-box; padding-left:2px;">'''Expenses''' ''per'' [http://www.theipsa.org.uk/mp-costs/your-mp/jared-omara/ IPSA], (<small>''Feb.2018''</small>)</div> | <div class="vbox-cell" style="width:100%; display:inline-block; box-sizing:border-box; padding-left:2px;">'''Expenses''' ''per'' [http://www.theipsa.org.uk/mp-costs/your-mp/jared-omara/ IPSA], (<small>''Feb.2018''</small>)</div> | ||
<div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | <div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | ||
<div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Office costs:</div> | <div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Office costs:</div> | ||
<div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£5,353.27</div> | <div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£5,353.27</div> | ||
| − | </div | + | </div> |
<div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | <div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | ||
<div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Accommodation:</div> | <div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Accommodation:</div> | ||
<div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£2,756.00</div> | <div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£2,756.00</div> | ||
| − | </div | + | </div> |
<div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | <div class="vbox-row" style="width:100%; display:inline-block; box-sizing:border-box;"> | ||
<div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Travel:</div> | <div class="vbox-key" style="width:43%; display:inline-block; padding-left:10px; box-sizing:border-box;">Travel:</div> | ||
<div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£1,689.80</div> | <div class="vbox-value" style="width:57%; float:right; display:inline-block; padding-left:10px; word-wrap:break-word; box-sizing:border-box;">£1,689.80</div> | ||
| − | </div | + | </div> |
| − | </div | + | </div> |
| − | </div | + | </div> |
</td> | </td> | ||
</tr> | </tr> | ||
| Line 150: | Line 151: | ||
</table> | </table> | ||
<br clear=all/> | <br clear=all/> | ||
| + | --> | ||
== MP Table, css in Common.css == | == MP Table, css in Common.css == | ||
Revision as of 10:22, 12 February 2018
- This is a blank page used for testing stuff. It should be empty, unless there is a test in progress.
- Original table from here: https://en.wikipedia.org/wiki/Democratic_Federation_of_Northern_Syria#Politics
- Bugs: expand/collapse is really slow in comparison to the original, but is prolly 'cos I'm using pure css, not JQuery.
Bog-Standard Default Table
Rojava |
|---|
| This article is part of a series on the politics + government of Rojava |
| This is just some text to see how the spacings look. Some have compared this to the Lebanese system, which is based on major religions. |
|
|
|
|
|
|
MP Table, css inline
Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it.
MP Table, css in Common.css
|
Jared O'Mara
MP for Sheffield Hallam
|
|---|
|
Tenure: Jun.2017 — present
Brexit stance: Remain
|
| O'Mara was elected at the snap 2017 General Election to represent the constituency of Sheffield Hallam, unexpectedly beating Nick Clegg by a majority of 2,125. |
|
Salary + Expenses
Income
Base salary:
£76,011 yearly
Other Income:
Expenses per IPSA, (Feb.2018)
Office costs:
£5,353.27
Accommodation:
£2,756.00
Travel:
£1,689.80
|
|
Parliamentary Record
|
|
Contact
Party website: Labour.org.uk
|
|
Wikipedia: Jared O'Mara
|
Party Colours
- Labour Ireland: bg: #d5000d + border: #920009 {from Labour.ie}
- Party colours from Richard Allen's blog
- Labour: bg #d50000 + border #9b301c
- Tories: bg #0087dc + border #6ed700
- LibDems: bg #fdbb30 + border #00929f
- SNP: bg #fff95d + border #0a2c50
- UKIP: bg #b3009d + border #efe600
- Greens: bg #8dc63f + border #008066
- Plaid Cymru: bg #3F8428 + border #e1cc00
- Govts (English, Scots, Welsh + NI) colours: http://richardallen.co.uk/ukpolcss/
