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
yflory ecb537ac7f Move code to render.js in poll 7 years ago
..
fonts add Open Sans font (with bower) 7 years ago
images Updated the contact page 7 years ago
src Merge branch 'staging' of github.com:CatalinScr/cryptpad into catalin 7 years ago
translations Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 7 years ago
CryptPad-white-logo.svg fix styles overlapping 8 years ago
CryptPad_logo_color.svg fix styles overlapping 8 years ago
about.html Update requirejs 7 years ago
alt-favicon.png new favicons 8 years ago
application_config.js use camel case, not snek case 7 years ago
bg14.jpg Styled the general menu, footer, updated about 8 years ago
bkabout.jpg Updated the what is page 7 years ago
bkregister.jpg updated the register page 7 years ago
bkwhat.jpg Updated the what is page 7 years ago
ckeditor-config.js Mediatag integration in pads 7 years ago
ckeditor-contents.css increase default ckeditor font size to 16px 8 years ago
code.svg Updated the about page with the new design 7 years ago
contact.html Update requirejs 7 years ago
cryptofist_mini.png Optimize image assets to speedup page loading 8 years ago
cryptofist_small.png Optimize image assets to speedup page loading 8 years ago
cryptpad-new-logo-colors-logoonly.png Changed the favicon, added the boostrap js file, reconfigure the top menu 8 years ago
header.js Use less2 in secure iframes 7 years ago
index.html Update requirejs 7 years ago
main-favicon.png change favicon (again) 8 years ago
main.js Remove the logo from the filepicker loading screen 7 years ago
messages.js Fix language selection in sandboxed iframes 7 years ago
pages.js Move code to render.js in poll 7 years ago
privacy.html Update requirejs 7 years ago
readme.md rewrite customize/readme.md 8 years ago
source-branch.svg Updated the about page with the new design 7 years ago
store.js Refresh the directory if needed when the object has changed 8 years ago
template.js Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 7 years ago
terms.html Update requirejs 7 years ago
testimonial.svg updated the register page 7 years ago
what-is-cryptpad.html Update requirejs 7 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.