Skip to content

Commit

Permalink
Dev: removed nav_bar and other Bootstrap elements
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Oct 16, 2017
1 parent 3fbe61b commit 59b0524
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 374 deletions.
5 changes: 0 additions & 5 deletions templates/nobootstrap/views/layout_global.twig
Expand Up @@ -27,11 +27,6 @@
<div id="{{ aSurveyInfo.id.dynamicreload }}">
{% block body %}

{# Bootstrap Navigation Bar: the top menu #}
{% block nav_bar %}
{{ include('./subviews/nav_bar.twig') }}
{% endblock %}

{# Top Container: in this template, it contains only #}
{% block progress %}
{{ include('./subviews/progess_bar.twig') }}
Expand Down
8 changes: 2 additions & 6 deletions templates/nobootstrap/views/layout_printanswers.twig
Expand Up @@ -21,16 +21,12 @@
{# Replace the content block #}
{% block body %}

{% if (aSurveyInfo.printPdf != 1) %}
{% block nav_bar %}
{% endblock %}
{% endif %}

<section>
{% if (aSurveyInfo.printPdf != 1) %}
{% if (aSurveyInfo.printPdf != 1) %}
{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
{% endif %}
{% endif %}

{{ include('./subviews/printanswers/printanswers_head.twig') }}
{{ include('./subviews/printanswers/printanswers_table.twig') }}
Expand Down
4 changes: 0 additions & 4 deletions templates/nobootstrap/views/layout_user_forms.twig
Expand Up @@ -25,10 +25,6 @@ TODO: register

<body class="{{ aSurveyInfo.class.body }} lang-{{surveylanguage}} {{surveyformat}}">

{# Bootstrap Navigation Bar: the top menu #}
{{ include('./subviews/nav_bar.twig') }}


<!-- Outer Frame Container -->
<div class="{{ aSurveyInfo.class.outerframe }}" id="{{ aSurveyInfo.id.outerframe }}">

Expand Down
16 changes: 0 additions & 16 deletions templates/nobootstrap/views/subviews/LEMDebug.twig

This file was deleted.

46 changes: 0 additions & 46 deletions templates/nobootstrap/views/subviews/bootstrap_alert_modal.twig

This file was deleted.

2 changes: 0 additions & 2 deletions templates/nobootstrap/views/subviews/head.twig
Expand Up @@ -18,8 +18,6 @@
{% if(aSurveyInfo.jYesNo) %}
{{ registerScript('activateConfirmLanguage',"$.extend(LSvar.lang," ~ aSurveyInfo.jYesNo ~ ")", "POS_BEGIN") }}
{% endif %}
{{ registerScript('activateActionLink',"activateActionLink();", "POS_END") }}
{{ registerScript('activateConfirmButton',"activateConfirmButton();", "POS_END") }}

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
Expand Down
44 changes: 0 additions & 44 deletions templates/nobootstrap/views/subviews/nav_bar.twig

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 59b0524

Please sign in to comment.