Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit 28d4bba

Browse files
committed
* Fix reported issues with developer data interface.
1 parent cc028eb commit 28d4bba

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

src/css/frame/dataui.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ h1 i {
66
display: inline-block;
77
position: absolute;
88
bottom: 0;
9-
right: 0;
9+
right: 48px;
1010
font-size: 16px;
1111
font-style: italic;
1212
font-weight: normal;
1313
color: #666;
1414
}
15-
h1 i a {
16-
color: #666;
17-
}
1815

1916
div.row {
2017
position: relative;
@@ -59,6 +56,12 @@ form#data table {
5956
form#data tr.privacy-private {
6057
background-color: #dbffbf;
6158
}
59+
form#data tr.privacy-public input,
60+
form#data tr.privacy-public select,
61+
form#data tr.privacy-private input,
62+
form#data tr.privacy-private select {
63+
margin: 2px 0 2px 0;
64+
}
6265

6366
form#data td {
6467
padding: 4px 0;
@@ -77,7 +80,7 @@ form#data td.value input {
7780
width: 222px;
7881
}
7982
form#data td.value select {
80-
width: 230px;
83+
width: 236px;
8184
}
8285

8386
form#data td.privacy {
@@ -94,10 +97,10 @@ form#data tr.privacy-always td.privacy {
9497
form#data td.privacy label {
9598
display: block;
9699
cursor: pointer;
97-
padding: 2px 0;
100+
padding: 4px 0 0 0;
98101
}
99102
form#data td.privacy label input {
100-
margin: 0 7px 0 0;
103+
margin: -4px 7px 0 0;
101104
}
102105

103106
form#data tr[data-privacy="dob"] td {

src/templates/default/blocks/htmlselector.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
{% if key == preselect_key %}selected="selected"{% endif %}>
1010

1111
{% if value.value is defined %}
12-
{{ value.value | default(' ') | raw }}
12+
{{ value.value | default(' ')| raw }}
1313
{% else %}
14-
{{ value | default(' ') | raw }}
14+
{{ value | default(' ')| raw }}
1515
{% endif %}
1616
</option>
1717
{% endfor %}

src/templates/neverland/blocks/htmlselector.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
{% if style %} style="{{ style }}"{% endif %}>
55

66
{% for key, value in items %}
7-
<option value="{{ key }}"{% if key == preselect_key %} selected="selected"{% endif %}>{{ value | default('&nbsp;') }}</option>
7+
<option value="{{ key }}"
8+
{% if value.class is defined %} class="{{ value.class }}"{% endif %}
9+
{% if key == preselect_key %}selected="selected"{% endif %}>
10+
11+
{% if value.value is defined %}
12+
{{ value.value | default('&nbsp;')| raw }}
13+
{% else %}
14+
{{ value | default('&nbsp;')| raw }}
15+
{% endif %}
16+
</option>
817
{% endfor %}
918
</select>

0 commit comments

Comments
 (0)