Skip to content

Commit

Permalink
[#23] Form cleanup after core bootstrap upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Mar 20, 2013
1 parent 634a0bb commit 86355fb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions ckanext/harvest/fanstatic_library/styles/harvest.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ header.with-filter h1 {
}
.harvest-types label.radio {
font-weight: normal;
margin-bottom: 0;
margin-bottom: 10px;
}
.harvest-types label.radio i {
color: #999;
.harvest-types label.radio input {
top: 3px;
}
6 changes: 3 additions & 3 deletions ckanext/harvest/fanstatic_library/styles/harvest.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ header.with-filter {

.harvest-types label.radio {
font-weight: normal;
margin-bottom: 0;
i {
color: #999;
margin-bottom: 10px;
input {
top: 3px;
}
}
2 changes: 1 addition & 1 deletion ckanext/harvest/templates_new/source/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2 class="module-heading"><i class="icon-large icon-info-sign"></i> {{ _('Harve
{% trans %}
Harvest sources allow importing metadata from other catalogues
as CKAN datasets. These can be other CKAN instances or other
protocols and formats. (TODO: Review)
protocols and formats.
{% endtrans %}
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ckanext/harvest/templates_new/source/new_source_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
<label class="radio">
<input type="radio" name="source_type" value="{{ harvester['name'] }}" {{ "checked " if checked }} data-module="harvest-type-change">
{{ harvester['title'] }}
<i class="icon-question-sign" title="{{ harvester['description'] }}" data-toggle="tooltip"></i>
<i class="icon-question-sign muted" title="{{ harvester['description'] }}" data-toggle="tooltip"></i>
</label>
{% endfor %}
</div>
</div>

{{ form.select('frequency', id='field-frequency', label=_('Frequency of update'), options=h.harvest_frequencies(), selected=data.frequency, error=errors.frequency) }}
{{ form.select('frequency', id='field-frequency', label=_('Update frequency'), options=h.harvest_frequencies(), selected=data.frequency, error=errors.frequency) }}

{% block extra_config %}
{{ form.textarea('config', id='field-config', label=_('Configuration'), value=data.config, error=errors.config) }}
Expand Down

0 comments on commit 86355fb

Please sign in to comment.