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

Commit

Permalink
* Fix reported issues with developer data interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannya committed Sep 27, 2014
1 parent cc028eb commit 28d4bba
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
17 changes: 10 additions & 7 deletions src/css/frame/dataui.css
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -77,7 +80,7 @@ form#data td.value input {
width: 222px;
}
form#data td.value select {
width: 230px;
width: 236px;
}

form#data td.privacy {
Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/templates/default/blocks/htmlselector.html
Expand Up @@ -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 %}
Expand Down
11 changes: 10 additions & 1 deletion src/templates/neverland/blocks/htmlselector.html
Expand Up @@ -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.