aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/templates/pages/activities.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/admin/templates/pages/activities.html.twig')
-rwxr-xr-xmain/app/sprinkles/admin/templates/pages/activities.html.twig46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/app/sprinkles/admin/templates/pages/activities.html.twig b/main/app/sprinkles/admin/templates/pages/activities.html.twig
new file mode 100755
index 0000000..bcbd9c6
--- /dev/null
+++ b/main/app/sprinkles/admin/templates/pages/activities.html.twig
@@ -0,0 +1,46 @@
+{% extends "pages/abstract/dashboard.html.twig" %}
+
+{% block stylesheets_page %}
+ <!-- Page-specific CSS asset bundle -->
+ {{ assets.css('css/form-widgets') | raw }}
+{% endblock %}
+
+{# Overrides blocks in head of base template #}
+{% block page_title %}{{ translate("ACTIVITY", 2) }}{% endblock %}
+
+{% block page_description %}{{ translate("ACTIVITY.PAGE") }}.{% endblock %}
+
+{% block body_matter %}
+ <div class="row">
+ <div class="col-md-12">
+ <div id="widget-activities" class="box box-primary">
+ <div class="box-header">
+ <h3 class="box-title"><i class="fa fa-tasks fa-fw"></i> {{translate('ACTIVITY', 2)}}</h3>
+ {% include "tables/table-tool-menu.html.twig" %}
+ </div>
+ <div class="box-body">
+ {% include "tables/activities.html.twig" with {
+ "table" : {
+ "id" : "table-activities",
+ "columns" : ["user"]
+ }
+ }
+ %}
+ </div>
+ </div>
+ </div>
+ </div>
+{% endblock %}
+{% block scripts_page %}
+ <!-- Include validation rules -->
+ <script>
+ {% include "pages/partials/page.js.twig" %}
+ </script>
+
+ <!-- Include form widgets JS -->
+ {{ assets.js('js/form-widgets') | raw }}
+
+ <!-- Include page-specific JS -->
+ {{ assets.js('js/pages/activities') | raw }}
+
+{% endblock %}