gerrit/Documentation
Shawn Pearce 210b5395aa Make it easy to construct CSS and HTML from JavaScript plugins
Scoping CSS rules across plugins can be slightly tricky, as the
namespace is global for the entire browser window.  Allow plugins to
create unique names using Gerrit.css() and then use those inside of
HTML with class="{style.foo}" style replacements in the Gerrit.html()
function.

This style of development makes native HTML and CSS more natural
to use inside of a plugin's JavaScript, and reduces the risks of
conflicting CSS rules with core Gerrit or another plugin.

Event handler registration is also supported, making it easier to
attach functions to handle onclick for buttons and anchors.  Handler
registration avoids circular references between the function's
environment and the DOM node, ensuring garbage collection works.

Change-Id: Ic29a4ec0c15eedef4f4ce72031193f1896742dc5
2014-03-06 22:07:54 -08:00
..
images Recompression *.png images with pngout tool to reduce the size of files 2013-11-03 14:33:54 +00:00
man Add SSH command to set group members 2013-06-14 20:30:32 +02:00
access-control.txt Tidy up documentation of the "Submit (On Behalf Of)" permission 2014-02-24 16:16:27 +09:00
asciidoc.defs Update Buck 2013-11-29 10:50:59 -08:00
BUCK Simplify documentation indexer 2014-01-08 14:01:42 -08:00
cmd-apropos.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ban-commit.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-cherry-pick.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-account.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-branch.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-group.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-project.txt Allow to set plugin configuration parameters on project creation 2014-01-22 11:36:52 +01:00
cmd-flush-caches.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-gc.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-gsql.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-hook-commit-msg.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-index.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-kill.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-groups.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-members.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-projects.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-user-refs.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-enable.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-install.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-ls.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-reload.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-remove.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-query.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-receive-pack.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-rename-group.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-review.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-account.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-members.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-project-parent.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-project.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-reviewers.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-show-caches.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-show-connections.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-show-queue.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-stream-events.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-suexec.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-test-submit-rule.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-test-submit-type.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-version.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-auto-site-initialization.txt Control which plugins will be auto installed on auto init 2014-02-24 11:11:04 +01:00
config-cla.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-contact.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-gerrit.txt Merge "Allow admins to disable remote plugin installation" 2014-02-19 23:23:02 +00:00
config-gitweb.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-hooks.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-labels.txt Make Code-Review label values' meaning clear to non-maintainers 2014-01-23 10:42:41 +04:00
config-login-register.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-mail.txt Remove unused "commit message edited" mail sender and template 2014-01-15 15:37:20 +09:00
config-project-config.txt Add configuration for checking of Received Objects 2014-02-11 18:19:38 +00:00
config-reverseproxy.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-sso.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-themes.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-validation.txt Add extension point to allow plugins to validate group creation 2014-01-24 11:15:33 +01:00
config.defs Disable "Last updated" footer in asciidoctor HTML 2013-10-08 17:45:39 +00:00
database-setup.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-buck.txt Buck: add local_jar() to link direct to local Maven targets 2014-02-03 18:17:31 +01:00
dev-build-plugins.txt Add HOWTO documentation about building of plugins 2014-01-24 23:16:25 +01:00
dev-contributing.txt Support pagination using offsets instead of sortkey 2014-02-12 13:51:26 -08:00
dev-design.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-eclipse.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-inspector.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-plugins.txt Merge "Add extension point to register JGit PostReceiveHooks" 2014-03-06 08:38:55 +00:00
dev-readme.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-release-deploy-config.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-release-subproject.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-release.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-rest-api.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
doc.css Add border for tables in documentation 2014-02-19 10:29:34 +01:00
error-branch-not-found.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-change-closed.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-change-does-not-belong-to-project.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-change-not-found.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-change-upload-blocked.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-commit-already-exists.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-contains-banned-commit.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-has-duplicates.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-invalid-author.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-invalid-changeid-line.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-invalid-committer.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-messages.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-missing-changeid.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-missing-subject.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-multiple-changeid-lines.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-changes-made.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-common-ancestry.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-new-changes.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-non-fast-forward.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-a-gerrit-administrator.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-allowed-to-upload-merges.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-permitted-to-create.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-signed-off-by.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-valid-ref.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-permission-denied.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-prohibited-by-gerrit.txt Merge branch 'stable-2.8' 2014-02-21 10:37:47 +09:00
error-project-not-found.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-push-fails-due-to-commit-message.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-squash-commits-first.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-upload-denied.txt Added searchbox to documentation. 2013-11-05 12:49:43 -08:00
gen_licenses.py Rename licenses.py to gen_licenses.py 2013-05-18 14:08:02 -07:00
i18n-readme.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
index.txt Add HOWTO documentation about building of plugins 2014-01-24 23:16:25 +01:00
install-j2ee.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
install-quick.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
install.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
intro-change-screen.txt Merge branch 'stable-2.8' 2014-02-14 13:59:19 -08:00
intro-quick.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
js-api.txt Make it easy to construct CSS and HTML from JavaScript plugins 2014-03-06 22:07:54 -08:00
json.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-daemon.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-gsql.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-index.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-init.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-LocalUsernamesToLowerCase.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-prolog-shell.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-reindex.txt Document the --recheck-mergeable flag for the reindex program 2014-01-22 19:22:03 +09:00
pgm-rulec.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
project-setup.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
prolog-change-facts.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
prolog-cookbook.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
replace_macros.py Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-access.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-accounts.txt Merge branch 'stable-2.8' 2014-02-24 19:14:50 +09:00
rest-api-changes.txt Merge branch 'stable-2.8' 2014-03-06 12:15:25 -08:00
rest-api-config.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-documentation.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-groups.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-plugins.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
rest-api-projects.txt Plugin config: Add support for sections 2014-02-25 07:39:29 +00:00
rest-api.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-changeid.txt Merge "Improved documentation on the Change-Ids" 2013-12-21 04:07:00 +00:00
user-dashboards.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-notify.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-search.txt Use JavaSqlTimestampHelper for parsing timestamps in before/after 2014-02-25 16:24:28 -08:00
user-signedoffby.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-submodules.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-upload.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00