Permalink
Browse files

* Fix reported issues with developer data interface.

  • Loading branch information...
1 parent cc028eb commit 28d4bba497825171f66cf0ffc69430ce8887f442 @dannyakakong committed Sep 27, 2014
@@ -6,15 +6,12 @@ h1 i {
display: inline-block;
position: absolute;
bottom: 0;
- right: 0;
+ right: 48px;
font-size: 16px;
font-style: italic;
font-weight: normal;
color: #666;
}
-h1 i a {
- color: #666;
-}
div.row {
position: relative;
@@ -59,6 +56,12 @@ form#data table {
form#data tr.privacy-private {
background-color: #dbffbf;
}
+form#data tr.privacy-public input,
+form#data tr.privacy-public select,
+form#data tr.privacy-private input,
+form#data tr.privacy-private select {
+ margin: 2px 0 2px 0;
+}
form#data td {
padding: 4px 0;
@@ -77,7 +80,7 @@ form#data td.value input {
width: 222px;
}
form#data td.value select {
- width: 230px;
+ width: 236px;
}
form#data td.privacy {
@@ -94,10 +97,10 @@ form#data tr.privacy-always td.privacy {
form#data td.privacy label {
display: block;
cursor: pointer;
- padding: 2px 0;
+ padding: 4px 0 0 0;
}
form#data td.privacy label input {
- margin: 0 7px 0 0;
+ margin: -4px 7px 0 0;
}
form#data tr[data-privacy="dob"] td {
@@ -9,9 +9,9 @@
{% if key == preselect_key %}selected="selected"{% endif %}>
{% if value.value is defined %}
- {{ value.value | default(' ') | raw }}
+ {{ value.value | default(' ')| raw }}
{% else %}
- {{ value | default(' ') | raw }}
+ {{ value | default(' ')| raw }}
{% endif %}
</option>
{% endfor %}
@@ -4,6 +4,15 @@
{% if style %} style="{{ style }}"{% endif %}>
{% for key, value in items %}
- <option value="{{ key }}"{% if key == preselect_key %} selected="selected"{% endif %}>{{ value | default('&nbsp;') }}</option>
+ <option value="{{ key }}"
+ {% if value.class is defined %} class="{{ value.class }}"{% endif %}
+ {% if key == preselect_key %}selected="selected"{% endif %}>
+
+ {% if value.value is defined %}
+ {{ value.value | default('&nbsp;')| raw }}
+ {% else %}
+ {{ value | default('&nbsp;')| raw }}
+ {% endif %}
+ </option>
{% endfor %}
</select>

0 comments on commit 28d4bba

Please sign in to comment.