|
@@ -2,37 +2,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block layout_main %}
|
|
{% block layout_main %}
|
|
|
-<div id="main" class="main col-md-12 {% if page %}{{ css.grant(page) }}{% endif %} {% block main_css_class %}{% endblock %}">
|
|
|
|
|
- {% if page && page.grant != 1 %}
|
|
|
|
|
- <p class="page-grant">
|
|
|
|
|
- <i class="fa fa-lock"></i> {{ consts.pageGrants[page.grant] }} ({{ t('Browsing of this page is restricted') }})
|
|
|
|
|
- </p>
|
|
|
|
|
- {% endif %}
|
|
|
|
|
- {% if page && page.grant == 2 %}
|
|
|
|
|
- <p class="alert alert-info">
|
|
|
|
|
- {{ t('Shareable Link') }}
|
|
|
|
|
- <input type="text" class="copy-link form-control" value="{{ baseUrl }}/{{ page._id.toString() }}" readonly>
|
|
|
|
|
- </p>
|
|
|
|
|
- {% endif %}
|
|
|
|
|
- <article>
|
|
|
|
|
- {% block content_main_before %}
|
|
|
|
|
- {% endblock %}
|
|
|
|
|
-
|
|
|
|
|
- {% block content_main %}
|
|
|
|
|
- {% endblock content_main %}
|
|
|
|
|
-
|
|
|
|
|
- {% block content_main_after %}
|
|
|
|
|
- {% endblock %}
|
|
|
|
|
-
|
|
|
|
|
- {% block content_footer %}
|
|
|
|
|
- {% endblock %}
|
|
|
|
|
- </article>
|
|
|
|
|
-</div>
|
|
|
|
|
-
|
|
|
|
|
-{% endblock %} {# layout_main #}
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-{% block layout_footer %}
|
|
|
|
|
- {% parent %}
|
|
|
|
|
|
|
+<div class="container-fluid">
|
|
|
|
|
+
|
|
|
|
|
+ <div class="row bg-title">
|
|
|
|
|
+ <div class="col-xs-12">
|
|
|
|
|
+ {% block content_header %}
|
|
|
|
|
+ {% endblock %}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div><!-- /.bg-title -->
|
|
|
|
|
+
|
|
|
|
|
+ <div class="row m-t-15">
|
|
|
|
|
+ <div id="main" class="main col-md-12 {% if page %}{{ css.grant(page) }}{% endif %} {% block main_css_class %}{% endblock %}">
|
|
|
|
|
+ {% if page && page.grant != 1 %}
|
|
|
|
|
+ <p class="page-grant">
|
|
|
|
|
+ <i class="fa fa-lock"></i> {{ consts.pageGrants[page.grant] }} ({{ t('Browsing of this page is restricted') }})
|
|
|
|
|
+ </p>
|
|
|
|
|
+ {% endif %}
|
|
|
|
|
+ {% if page && page.grant == 2 %}
|
|
|
|
|
+ <p class="alert alert-info">
|
|
|
|
|
+ {{ t('Shareable Link') }}
|
|
|
|
|
+ <input type="text" class="copy-link form-control" value="{{ baseUrl }}/{{ page._id.toString() }}" readonly>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ {% endif %}
|
|
|
|
|
+ <article>
|
|
|
|
|
+ {% block content_main_before %}
|
|
|
|
|
+ {% endblock %}
|
|
|
|
|
+
|
|
|
|
|
+ {% block content_main %}
|
|
|
|
|
+ {% endblock content_main %}
|
|
|
|
|
+
|
|
|
|
|
+ {% block content_main_after %}
|
|
|
|
|
+ {% endblock %}
|
|
|
|
|
+ </article>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+</div><!-- /.container-fluid -->
|
|
|
|
|
+
|
|
|
|
|
+<footer class="footer">
|
|
|
{% include '../widget/system-version.html' %}
|
|
{% include '../widget/system-version.html' %}
|
|
|
-{% endblock %}
|
|
|
|
|
|
|
+</footer>
|
|
|
|
|
+{% endblock %} {# layout_main #}
|