-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fs-4606 basic create section * Can clone template and remove form from section * Updated clone form to fix default next page ids * fix numbering of new sections and forms * remove section from round * allow importing multiple forms with same page paths * fs-4606 basic create section * Can clone template and remove form from section * Updated clone form to fix default next page ids * fix numbering of new sections and forms * remove section from round * allow importing multiple forms with same page paths * fs-4606 basic create section * Can clone template and remove form from section * fix numbering of new sections and forms * remove section from round * fix rebase errors * WIP merging frontends * Tidied up journey * fs-4606 basic create section * Can clone template and remove form from section * Updated clone form to fix default next page ids * fix numbering of new sections and forms * remove section from round * allow importing multiple forms with same page paths * fs-4606 basic create section * Can clone template and remove form from section * fix numbering of new sections and forms * remove section from round * fs-4606 basic create section * Can clone template and remove form from section * Updated clone form to fix default next page ids * fix numbering of new sections and forms * remove section from round * fix rebase errors * WIP merging frontends * Tidied up journey * add date format after merge * Fix migration post merge * Tidy up - breadcrumbs, fix remove section, add info to headings
- Loading branch information
Showing
20 changed files
with
410 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
app/blueprints/fund_builder/templates/build_application.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{% extends "base.html" %} | ||
{%- from "govuk_frontend_jinja/components/button/macro.html" import govukButton -%} | ||
{%- from "govuk_frontend_jinja/components/accordion/macro.html" import govukAccordion -%} | ||
{%- from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList -%} | ||
{%- from "govuk_frontend_jinja/components/select/macro.html" import govukSelect -%} | ||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-full"> | ||
<h1 class="govuk-heading-l">Build Application</h1> | ||
<h2 class="govuk-heading-m">{{ fund.short_name }} - {{round.title_json["en"]}} ({{ round.short_name }})</h2> | ||
</div> | ||
</div> | ||
{{ govukButton({ | ||
"text": "View All Questions", | ||
"href": url_for("build_fund_bp.view_all_questions", round_id=round.round_id) , | ||
"classes": "govuk-button--secondary" | ||
}) | ||
}} | ||
{{ govukButton({ | ||
"text": "Create export files for round", | ||
"href": url_for("build_fund_bp.create_export_files", round_id=round.round_id) , | ||
"classes": "govuk-button--secondary" | ||
}) | ||
}} | ||
<ul class="app-task-list__items"> | ||
{{ govukButton({ | ||
"text": "Add Section", | ||
"href": url_for("build_fund_bp.section", round_id=round.round_id) , | ||
"classes": "govuk-button--secondary" | ||
}) | ||
}} | ||
{% for section in round.sections %} | ||
<li class=""> | ||
<span class="app-task-list__task-name"> | ||
<h3 class="govuk-heading-m">{{ section.index }}. {{ section.name_in_apply_json["en"] }}</h3> | ||
</span> | ||
<span class="app-task-list__task-actions"> | ||
<a href='{{ url_for("build_fund_bp.section", round_id=round.round_id, section_id=section.section_id) }}'>Edit</a> | ||
<a href='{{ url_for("build_fund_bp.section",round_id=round.round_id, section_id=section.section_id, action="remove") }}'>Remove</a> | ||
</span> | ||
<ul class="app-task-list__items"> | ||
{% for form in section.forms %} | ||
<li class="app-task-list__item task-list__new-design"> | ||
<span class="app-task-list__task-name"> | ||
<h3 class="govuk-body"> | ||
{{ section.index }}. {{ form.section_index }}. {{ form.name_in_apply_json["en"] }} | ||
</h3> | ||
</span> | ||
<span class="app-task-list__task-actions"> | ||
<a href="{{ url_for('build_fund_bp.view_form_questions', round_id=round.round_id, form_id=form.form_id) }}">View</a> | ||
<a href='{{ url_for("build_fund_bp.download_form_json", form_id=form.form_id) }}'>Download</a> | ||
<a href='{{ url_for("build_fund_bp.preview_form", form_id=form.form_id) }}'>Preview</a> | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock content %} |
Oops, something went wrong.