Commit a12ff9fd authored by David Metzler's avatar David Metzler
Browse files

Adding tutorial skin.

parent 8845a8cb
pre {
padding: 1em;
background-color: #eee;
border: solid 1px #ccc;
}
\ No newline at end of file
;
; skinfo file used for my reports.
;
name = Custom Skin
name = Sample Custom Skin
description = Skin used in customized reports.
;
; -----------------------------------------------------------
......@@ -14,14 +14,13 @@ scripts[] = dataTables/media/js/jquery.dataTables.min.js
;
; Use (enable) some dataTables features (by specifying so in a custom JS file):
;
scripts[] = datatables_features.js
scripts[] = datatables.js
;
; -----------------------------------------------------------
;
; Stylesheet inclusions:
;
stylesheets[all][] = datatables_styling.css
stylesheets[all][] = custom_forena_styling.css
stylesheets[all][] = datatables.css
;
; -----------------------------------------------------------
;
......
......@@ -4,9 +4,10 @@
*/
(function ($) {
Drupal.behaviors.SetDatatablesFeatures = {
Drupal.behaviors.ForenaDatatablesFeatures = {
attach: function (context, settings) {
$('.frxTable table').dataTable({
//See http://www.datatables.net for documentation
$('.FrxTable table').dataTable({
"sPaginationType": "full_numbers",
"stateSave": true
});
......@@ -15,10 +16,3 @@
})(jQuery);
/**
* More dataTables features to pick from (use a comma to separate them, except for the last one):
"dom": '<"top"i>rt<"bottom"flp><"clear">',
"sPaginationType": "two_button"
});
*/
\ No newline at end of file
......@@ -6,7 +6,7 @@
<head>
<title>Custom Renderers</title>
<frx:category>Help</frx:category>
<frx:options hidden="1" />
<frx:options hidden="1" skin="tutorial_skin" />
<frx:parameters>
</frx:parameters>
<frx:docgen />
......
name = Tutorial Documentation
description = Customize look and feel of integrated help
; Base styesheets for coding skins.
stylesheets[all][] = coding.css
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment