diff --git a/ckanext/harvest/public/ckanext/harvest/style.css b/ckanext/harvest/public/ckanext/harvest/style.css index d23d8c9..997583d 100644 --- a/ckanext/harvest/public/ckanext/harvest/style.css +++ b/ckanext/harvest/public/ckanext/harvest/style.css @@ -21,14 +21,15 @@ body.index.ViewController .content-outer { #new-harvest-source { background: transparent url("images/icons/source_new.png") no-repeat 0px 0px; - padding-left: 20px; - margin-bottom: 10px; - font-weight: bold; + margin-top: 30px; + padding-left: 20px; + margin-bottom: 10px; + font-weight: bold; } #show-inactive-sources-content{ float: right; - width: 150px; + width: 170px; } #show-inactive-sources-content input{ @@ -38,11 +39,17 @@ body.index.ViewController .content-outer { #show-inactive-sources-content label{ float: left; font-weight: normal; - margin-left: 5px; + margin-right: 5px; } #harvest-sources th.action{ font-style: italic; + width: 50px; + text-align: middle; +} + +#harvest-sources td.action{ + text-align: middle; } #harvest-sources .inactive{ @@ -57,15 +64,6 @@ body.index.ViewController .content-outer { font-weight: bold; } -#harvest-source-actions { - margin-bottom: 10px; -} - -#harvest-source-actions img{ - vertical-align: middle; - margin: 0 5px; -} - .source-state-active{ font-weight:bold; } @@ -75,6 +73,15 @@ body.index.ViewController .content-outer { color: red; } +#harvest-source-actions { + margin-bottom: 10px; +} + +#harvest-source-actions img{ + vertical-align: middle; + margin: 0 5px; +} + #harvest-sources .publisher > td{ background-color: #E3E3E3 !important; padding: 3px; diff --git a/ckanext/harvest/templates_new/index.html b/ckanext/harvest/templates_new/index.html index d7ebd10..9b39276 100644 --- a/ckanext/harvest/templates_new/index.html +++ b/ckanext/harvest/templates_new/index.html @@ -5,6 +5,16 @@ {% block breadcrumb_content %} {% endblock %} +{% block styles %} + {{ super() }} + +{% endblock %} + +{% block scripts %} + {{ super() }} + +{% endblock %} + {% block primary %}
@@ -20,8 +30,8 @@ {% if c.sources %}
+ -
@@ -49,9 +59,9 @@ {% endif %} {% set old_publisher = source['publisher_id'] %} - - - + + +
ViewEditRefreshViewEditRefresh {{ source.url | truncate(50) }} {{ source.type }} {{ source.active }}