You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
fonts/lato add lato font metadata 9 years ago
src better styles for cryptpoll 9 years ago
translations Add French translation 9 years ago
BottomBar.html s/en\/$// 9 years ago
DecorateToolbar.js restyle main page and bottom bar 9 years ago
alertify.css fix weird styles on firefox 9 years ago
alt-favicon.png add a main and an alt favicon 9 years ago
cryptofist_small.png Cleaned up the front page and added a little piece of code to show recent pads 10 years ago
email.js de-obfuscate an obfuscated email 9 years ago
fr.png Completed adding of customization system and bottom infobar 10 years ago
heart.png not quite finished 10 years ago
index.css Cleaned up the front page and added a little piece of code to show recent pads 10 years ago
index.html add polls to home page and fix up styles just a little bit 9 years ago
logo-xwiki2.png Completed adding of customization system and bottom infobar 10 years ago
main-favicon.png workaround for favicon magic 9 years ago
main.css better styles for cryptpoll 9 years ago
main.js big ugly commit that will be really hard to audit 9 years ago
messages.js Add French translation 9 years ago
openpaas.png update landing page styles and copy text 9 years ago
openpaasng.png update landing page styles and copy text 9 years ago
pad.js even more jshint compliance 9 years ago
readme.md not quite finished 10 years ago
sheet.js even more jshint compliance 9 years ago
store.js implement asynchronous wrappers for localStorage api 9 years ago
toolbar.css fix unstyled back button 9 years ago

readme.md

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.