summaryrefslogtreecommitdiff
path: root/src/static/custom
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-02-26 13:07:51 +0100
committerEgil Moeller <egil.moller@freecode.no>2012-02-26 13:07:51 +0100
commit1239ce7f284821ad4ce51f8219c480ff557a5b86 (patch)
tree83816de3b8855fb89fadcb2383b3f8f81d66daf8 /src/static/custom
parent1955bdec9a0f0448e5b04638f0e69ed3b9210f39 (diff)
downloadetherpad-lite-1239ce7f284821ad4ce51f8219c480ff557a5b86.zip
The Big Renaming - etherpad is now an NPM module
Diffstat (limited to 'src/static/custom')
-rw-r--r--src/static/custom/css.template8
-rw-r--r--src/static/custom/js.template6
2 files changed, 14 insertions, 0 deletions
diff --git a/src/static/custom/css.template b/src/static/custom/css.template
new file mode 100644
index 00000000..236251d9
--- /dev/null
+++ b/src/static/custom/css.template
@@ -0,0 +1,8 @@
+/*
+ custom css files are loaded after core css files. Simply use the same selector to override a style.
+ Example:
+ #editbar LI {border:1px solid #000;}
+ overrides
+ #editbar LI {border:1px solid #d5d5d5;}
+ from pad.css
+*/
diff --git a/src/static/custom/js.template b/src/static/custom/js.template
new file mode 100644
index 00000000..152c3d5d
--- /dev/null
+++ b/src/static/custom/js.template
@@ -0,0 +1,6 @@
+function customStart()
+{
+ //define your javascript here
+ //jquery is available - except index.js
+ //you can load extra scripts with $.getScript http://api.jquery.com/jQuery.getScript/
+}