diff --git a/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/header.html b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/header.html index ea592ac2..03cbb64a 100644 --- a/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/header.html +++ b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/header.html @@ -1,29 +1,15 @@ {% ckan_extends %} - - - - -{% asset 'ckanext-contact/main' %} - {% block header_site_navigation_tabs %} {% set org_type = h.default_group_type('organization') %} {% set group_type = h.default_group_type('group') %} {{ h.build_nav_main( - (dataset_type ~ '.search', h.humanize_entity_type('package', dataset_type, 'main nav') or _('Samples'), ["dataset","resource"]), (org_type ~ '.index', h.humanize_entity_type('organization', org_type, 'main nav') or _('Collections'), ['organization']), + (dataset_type ~ '.search', h.humanize_entity_type('package', dataset_type, 'main nav') or _('Samples'), ["dataset","resource"]), ('home.about', _('About')) ) }} - + {% endblock %} {% block header_logo %} diff --git a/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/index.html b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/index.html new file mode 100644 index 00000000..ea9c7dc7 --- /dev/null +++ b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/index.html @@ -0,0 +1,37 @@ +{% ckan_extends %} +{% block content %} +
+
+ {{ self.flash() }} +
+ {% block primary_content %} +
+
+ +
+
+ +
+
+
+
+ {% block promoted %} + {% snippet 'home/snippets/promoted.html' %} + {% endblock %} +
+
+ {% block instructions %} + {% snippet 'home/snippets/instructions.html' %} + {% endblock %} +
+
+
+
+
+{% endblock %} + +{% endblock %} \ No newline at end of file diff --git a/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/snippets/instructions.html b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/snippets/instructions.html new file mode 100644 index 00000000..7cede9a7 --- /dev/null +++ b/ckan/src/ckanext-igsn-theme/ckanext/igsn_theme/templates/home/snippets/instructions.html @@ -0,0 +1,48 @@ +{% set intro = g.site_intro_text %} + +
+
+ {% if intro %} + {{ h.render_markdown(intro) }} + {% else %} +

{{ _("Quick Start") }}

+

To register your samples with a new collection in the repository:

+
    +
  1. Log in via (AAF)
  2. +
  3. Submit a request to create a sample collection
  4. +
  5. You will be notified via email after the collection is created
  6. +
  7. Select your collection and choose + Add Sample / + Batch Upload Sample +
  8. +
+ +

To register your samples with an existing collection in the repository:

+
    +
  1. Log in via (AAF)
  2. +
  3. Select your collection-of-interest
  4. +
  5. Click + Add Sample / + Batch Upload Sample +
  6. +
+ {% endif %} +
+
+ + \ No newline at end of file