|
@@ -1,18 +1,23 @@
|
|
|
[%
|
|
[%
|
|
|
USE Whostmgr;
|
|
USE Whostmgr;
|
|
|
|
|
+ USE JSON;
|
|
|
|
|
|
|
|
- SET PAGE_BASE = '/cgi/addon_notification-center.cgi';
|
|
|
|
|
- SET PAGE_PATH = cp_security_token _ PAGE_BASE _ '/';
|
|
|
|
|
- SET BASE_URL = (Whostmgr.ENV.HTTPS == 'on' ? 'https://' : 'http://') _ Whostmgr.ENV.HTTP_HOST _ ':' _ Whostmgr.ENV.SERVER_PORT _ PAGE_PATH;
|
|
|
|
|
|
|
+ IF locale.get_html_dir_attr() == 'rtl';
|
|
|
|
|
+ SET rtl_bootstrap = Whostmgr.find_file_url('/3rdparty/bootstrap-rtl/optimized/dist/css/bootstrap-rtl.min.css');
|
|
|
|
|
+ END;
|
|
|
|
|
+
|
|
|
|
|
+ SET styleSheets = [
|
|
|
|
|
+ rtl_bootstrap,
|
|
|
|
|
+ '/libraries/fontawesome/css/font-awesome.min.css'
|
|
|
|
|
+ ];
|
|
|
|
|
|
|
|
WRAPPER 'master_templates/master.tmpl'
|
|
WRAPPER 'master_templates/master.tmpl'
|
|
|
app_key = 'Notification Center'
|
|
app_key = 'Notification Center'
|
|
|
header = locale.maketext('Notification Center')
|
|
header = locale.maketext('Notification Center')
|
|
|
icon = '/addon_plugins/nfcenter.png'
|
|
icon = '/addon_plugins/nfcenter.png'
|
|
|
- breadcrumburl = PAGE_BASE
|
|
|
|
|
- base = BASE_URL
|
|
|
|
|
|
|
+ breadcrumburl = '/cgi/addon_notification-center.cgi'
|
|
|
theme = "bootstrap"
|
|
theme = "bootstrap"
|
|
|
- CJT2_EXCLUSIVE = 0
|
|
|
|
|
|
|
+ stylesheets = styleSheets
|
|
|
%]
|
|
%]
|
|
|
|
|
|
|
|
<table id="notificationsTable" class="table table-striped responsive-table" border="1" cellspacing="0" cellpadding="2" >
|
|
<table id="notificationsTable" class="table table-striped responsive-table" border="1" cellspacing="0" cellpadding="2" >
|