Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iot.eclipse.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
Websites
iot.eclipse.org
Merge requests
!197
Update README file with adopters plugin
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update README file with adopters plugin
github/fork/ericpoirier/epoirier/master/update_readme
into
master
Overview
0
Commits
1
Changes
1
Merged
Eric Poirier
requested to merge
github/fork/ericpoirier/epoirier/master/update_readme
into
master
5 years ago
Overview
0
Commits
1
Changes
1
Expand
Signed-off-by: Eric Poirier
eric.poirier@eclipse-foundation.org
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
cb34b501
1 commit,
3 years ago
1 file
+
51
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
51
−
0
Options
@@ -24,6 +24,57 @@ hugo server
5. Push feature branch: `git push origin my-new-feature`
6. Submit a pull request
## Adopters Plugin
Here are quick instructions on how to use the eclipsefdn-adopters.js:
Add the following scripts to the <head> section of the page
### Usage
Include plugin's JS:
```html
<script src="//iot.eclipse.org/assets/js/eclipsefdn.adopters.js"></script>
```
Call the plugin:
```
<script>
eclipseFdnAdopters.getList({
project_id: "[project_id]"
});
</script>
```
Create an HTML element containing the chosen selector:
```
<div class="eclipsefdn-adopters"></div>
```
* By default, the selector's value is
###Options
```
<script>
eclipseFdnAdopters.getList({
project_id: "[project_id]",
selector: ".eclipsefdn-adopters",
ul_classes: "list-inline",
logo_white: false
});
</script>
```
Attribute | Type | Default | Description
--- | --- | --- | ---
`project_id` | *String* | ` ` | Select adopters from a specific project ID.
`selector` | *String* | `.eclipsefdn-adopters` | Define the selector that the plugin will insert adopters into.
`ul_classes` | *String* | ` ` | Define classes that will be assigned to the ul element.
`logo_white` | *Boolean* | `false` | Whether or not we use the white version of the logo.
### Declared Project Licenses
This program and the accompanying materials are made available under the terms
Loading