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 bd2034c47b prepare rpc before 'ready' if pinning is enabled 8 years ago
..
fonts/lato add lato font metadata 9 years ago
images Improve the homepage with new images and translations 8 years ago
share Fix the Noscript bug 8 years ago
src fix poor visibility on green pencils 8 years ago
translations Display selected color and button to turn off draw mode in canvas 8 years ago
BottomBar.html let javascript add language keys intead of html 8 years ago
about.html don't rewrite css rules. FOUC is too long 8 years ago
alt-favicon.png add a main and an alt favicon 9 years ago
application_config.js prepare rpc before 'ready' if pinning is enabled 8 years ago
bg.jpg Test new home page 8 years ago
bg2.jpg Use bootstrap 4 in the main page 8 years ago
bg3.jpg replace mountain image with lock image 8 years ago
ckeditor-config.js add ckeditor indentblock plugin. 8 years ago
ckeditor-contents.css increase default ckeditor font size to 16px 8 years ago
contact.html don't rewrite css rules. FOUC is too long 8 years ago
cryptofist_mini.png Fix the new userlist button and make the toolbar responsive 8 years ago
cryptofist_small.png implement white image correctly 8 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 don't rewrite css rules. FOUC is too long 8 years ago
logo-xwiki.png Improve the top bar and use the font awesome icons in /code 8 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 fix poor visibility on green pencils 8 years ago
main.js update templated html 8 years ago
messages.js When the browser returns a regional language, check if the language code is available 8 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
privacy.html don't rewrite css rules. FOUC is too long 8 years ago
readme.md rewrite customize/readme.md 8 years ago
store.js Refresh the directory if needed when the object has changed 8 years ago
terms.html don't rewrite css rules. FOUC is too long 8 years ago
toolbar.css make sure green UI elements use the same green 8 years ago

readme.md

Customizing CryptPad

In order allow a variety of features to be changed and to allow site-specific changes to CryptPad apps while still keeping the git repository pristine, this directory exists to allow a set of hooks to be run.

The server is configured to load files from the /customize/ path preferentially from cryptpad/customize/, and to fall back to cryptpad/customize.dist/ if they are not found

If you wish 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.

Files you may be interested in

  • index.html is the main page
  • main.js contains javascript for the home page
  • application_config.js allows you to modify settings used by the various applications
  • messages.js contains functions for applying translations to various pages
    • look inside /translations/ for the rest of the files which contain translated strings
  • /share/ implements an iframe RPC which allows multiple domains to access the same localStorage
  • /src/ contains source files for html and css (in the form of html templates and .less stylesheets)

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