[#23] Form cleanup after core bootstrap upgrade
This commit is contained in:
parent
634a0bbd30
commit
86355fb9db
|
@ -31,8 +31,8 @@ header.with-filter h1 {
|
||||||
}
|
}
|
||||||
.harvest-types label.radio {
|
.harvest-types label.radio {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: 0;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.harvest-types label.radio i {
|
.harvest-types label.radio input {
|
||||||
color: #999;
|
top: 3px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,8 @@ header.with-filter {
|
||||||
|
|
||||||
.harvest-types label.radio {
|
.harvest-types label.radio {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: 0;
|
margin-bottom: 10px;
|
||||||
i {
|
input {
|
||||||
color: #999;
|
top: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
{% trans %}
|
{% trans %}
|
||||||
Harvest sources allow importing metadata from other catalogues
|
Harvest sources allow importing metadata from other catalogues
|
||||||
as CKAN datasets. These can be other CKAN instances or other
|
as CKAN datasets. These can be other CKAN instances or other
|
||||||
protocols and formats. (TODO: Review)
|
protocols and formats.
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,13 +34,13 @@
|
||||||
<label class="radio">
|
<label class="radio">
|
||||||
<input type="radio" name="source_type" value="{{ harvester['name'] }}" {{ "checked " if checked }} data-module="harvest-type-change">
|
<input type="radio" name="source_type" value="{{ harvester['name'] }}" {{ "checked " if checked }} data-module="harvest-type-change">
|
||||||
{{ harvester['title'] }}
|
{{ 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>
|
</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</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 %}
|
{% block extra_config %}
|
||||||
{{ form.textarea('config', id='field-config', label=_('Configuration'), value=data.config, error=errors.config) }}
|
{{ form.textarea('config', id='field-config', label=_('Configuration'), value=data.config, error=errors.config) }}
|
||||||
|
|
Loading…
Reference in New Issue