Minor css tweaks on the forms
This commit is contained in:
parent
c6c4f6d098
commit
7609a93422
|
@ -273,7 +273,7 @@ class ViewController(BaseController):
|
|||
harvest_list.append({'text':harvester['title'], 'value': harvester['name']})
|
||||
|
||||
items = [
|
||||
{'name': 'url', 'control': 'input', 'label': _('URL for source of metadata'), 'placeholder': _(''), 'extra_info': 'This should include the http:// part of the URL'},
|
||||
{'name': 'url', 'control': 'input', 'label': _('URL'), 'placeholder': _(''), 'extra_info': 'This should include the http:// part of the URL'},
|
||||
{'name': 'type', 'control': 'select', 'options': harvest_list, 'label': _('Source type'), 'placeholder': _(''), 'extra_info': 'Which type of source does the URL above represent? '},
|
||||
{'name': 'title', 'control': 'input', 'label': _('Title'), 'placeholder': _(''), 'extra_info': 'This will be shown as the datasets source.'},
|
||||
{'name': 'description', 'control': 'textarea', 'label': _('Description'), 'placeholder': _(''), 'extra_info':'You can add your own notes here about what the URL above represents to remind you later.'},]
|
||||
|
|
|
@ -95,3 +95,7 @@ body.index.ViewController .content-outer {
|
|||
#harvest-source-details th {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
#source-new {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
{% block breadcrumb_content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
{{ super() }}
|
||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block primary %}
|
||||
<article class="module">
|
||||
<div class="module-content">
|
||||
|
@ -17,9 +22,3 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block sidebar %}{% endblock %}
|
||||
{#
|
||||
<py:def function="optional_head">
|
||||
<link rel="stylesheet" href="${g.site_url}/css/forms.css" type="text/css" media="screen, print" />
|
||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||
</py:def>
|
||||
#}
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
{% block breadcrumb_content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
{{ super() }}
|
||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block primary %}
|
||||
<article class="module">
|
||||
<div class="module-content">
|
||||
|
@ -19,10 +24,3 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block sidebar %}{% endblock %}
|
||||
|
||||
{#
|
||||
<py:def function="optional_head">
|
||||
<link rel="stylesheet" href="${g.site_url}/css/forms.css" type="text/css" media="screen, print" />
|
||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||
</py:def>
|
||||
#}
|
||||
|
|
Loading…
Reference in New Issue