cryptpad/customize.dist
ansuz 1f24d7126c big ugly commit that will be really hard to audit
This changeset applies new styles to the poll.

it also uses the new asynchronous wrappers around the localStorage api.
this is necessary because we're migrating to a storage system that will
use an async api.

The changes to the poll just happened to coincide with the async stuff.

My apologies to anyone who wants to read this whole thing
2016-07-28 17:44:40 +02:00
..
fonts/lato add lato font metadata 2016-07-04 15:26:22 +02:00
src better styles for cryptpoll 2016-07-28 17:04:01 +02:00
translations Add French translation 2016-07-18 15:59:12 +02:00
alertify.css fix weird styles on firefox 2016-07-12 16:30:07 +02:00
alt-favicon.png add a main and an alt favicon 2016-07-06 22:13:29 +02:00
BottomBar.html s/en\/$// 2016-07-18 10:44:57 +02:00
cryptofist_small.png Cleaned up the front page and added a little piece of code to show recent pads 2015-02-02 17:53:10 +01:00
DecorateToolbar.js restyle main page and bottom bar 2016-07-04 15:19:57 +02:00
email.js de-obfuscate an obfuscated email 2016-07-11 11:07:59 +02:00
fr.png Completed adding of customization system and bottom infobar 2015-02-02 16:01:33 +01:00
heart.png not quite finished 2015-01-30 18:12:20 +01:00
index.css Cleaned up the front page and added a little piece of code to show recent pads 2015-02-02 17:53:10 +01:00
index.html add polls to home page and fix up styles just a little bit 2016-07-15 18:49:50 +02:00
logo-xwiki2.png Completed adding of customization system and bottom infobar 2015-02-02 16:01:33 +01:00
main-favicon.png workaround for favicon magic 2016-07-07 14:03:06 +02:00
main.css better styles for cryptpoll 2016-07-28 17:04:01 +02:00
main.js big ugly commit that will be really hard to audit 2016-07-28 17:44:40 +02:00
messages.js Add French translation 2016-07-18 15:59:12 +02:00
openpaas.png update landing page styles and copy text 2016-06-10 12:53:37 +02:00
openpaasng.png update landing page styles and copy text 2016-06-10 12:53:37 +02:00
pad.js even more jshint compliance 2016-02-15 16:47:53 +01:00
readme.md not quite finished 2015-01-30 18:12:20 +01:00
sheet.js even more jshint compliance 2016-02-15 16:47:53 +01:00
store.js implement asynchronous wrappers for localStorage api 2016-07-28 17:05:00 +02:00
toolbar.css fix unstyled back button 2016-07-11 17:37:22 +02:00

Customizing CryptPad

In order allow the content of the main page to be changed and to allow site-specific changes to the pad and sheet while still keeping the git repository pristine, this directory exists to allow a set of hooks to be run.

The server is configured to check for a directory called /customize/ and if that is not found, to fallback on /customize.dist/. In order to customize cryptpad, please copy /customize.dist/ to /customize and then edit it there, this way you will still be able to pull from (and make pull requests to (!) the git repository.

  • pad.js will be run whenever the (CKEditor) pad is loaded.
  • sheet.js will be run whenever the (JQuery.sheet) spreadsheet is loaded.
  • index.html is the main page.

All other content which is placed in this directory will be referencable at the /customize/ URL location.