diff --git a/examples/index.js b/examples/index.js index 44c69ae5..edb9b159 100644 --- a/examples/index.js +++ b/examples/index.js @@ -254,8 +254,91 @@ export default angular.module('ui-docs', [ })) .factory('playgrounds', () => ({ + // React playgrounds + 'react': { + 'first-playground': { + name: 'First playground', + component: 'FirstPlayground' + }, + 'sams-playground': { + name: 'SAMS', + component: 'SamsPlayground' + }, + 'test-ground': { + name: 'Test Ground', + component: 'TestGround' + }, + 'ui-playground': { + name: 'UI', + component: 'UiPlayground' + }, + 'pagelayout-test': { + name: 'PageLayout Test', + component: 'PageLayoutTest' + }, + 'editor-test': { + name: 'Editor Layout Test', + component: 'EditorTest' + }, + 'personal-profile': { + name: 'Personal Profile', + component: 'PersonalProfile' + }, + 'rundown-editor': { + name: 'Rundown Editor', + component: 'RundownEditor' + }, + 'rundowns': { + name: 'Rundowns', + component: 'Rundowns' + }, + 'core-layout': { + name: 'Core Layout', + component: 'CoreLayout' + }, + 'multiedit': { + name: 'Multiedit', + component: 'Multiedit' + } + }, + + // Publisher playgrounds + publisher: { + 'publisher-dashboard': { + name: 'Dashboard', + page: 'publisher-dashboard.html' + }, + 'publisher-content-lists': { + name: 'Content Lists', + page: 'publisher-content-lists.html' + }, + 'publisher-content-list-manual': { + name: 'Content List - Manual', + page: 'publisher-content-list-manual.html' + }, + 'publisher-content-list-automatic': { + name: 'Content List - Automatic', + page: 'publisher-content-list-automatic.html' + }, + 'publisher-output-control': { + name: 'Output Control', + page: 'publisher-output-control.html' + }, + 'publisher-content-analytics': { + name: 'Content Analytics', + page: 'publisher-content-analytics.html' + }, + 'publisher-website-settings': { + name: 'Website Settings', + page: 'publisher-website-settings.html' + }, + 'publisher-website-settings-general': { + name: 'Website Settings - General', + page: 'publisher-website-settings-general.html' + }, + }, // Superdesk playgrounds - superdesk: { + 'archived': { 'planning': { name: 'Planning', page: 'buttons.html' @@ -341,89 +424,6 @@ export default angular.module('ui-docs', [ page: 'editor-3-test.html' }, }, - // Publisher playgrounds - publisher: { - 'publisher-dashboard': { - name: 'Dashboard', - page: 'publisher-dashboard.html' - }, - 'publisher-content-lists': { - name: 'Content Lists', - page: 'publisher-content-lists.html' - }, - 'publisher-content-list-manual': { - name: 'Content List - Manual', - page: 'publisher-content-list-manual.html' - }, - 'publisher-content-list-automatic': { - name: 'Content List - Automatic', - page: 'publisher-content-list-automatic.html' - }, - 'publisher-output-control': { - name: 'Output Control', - page: 'publisher-output-control.html' - }, - 'publisher-content-analytics': { - name: 'Content Analytics', - page: 'publisher-content-analytics.html' - }, - 'publisher-website-settings': { - name: 'Website Settings', - page: 'publisher-website-settings.html' - }, - 'publisher-website-settings-general': { - name: 'Website Settings - General', - page: 'publisher-website-settings-general.html' - }, - }, - - // React playgrounds - react: { - 'first-playground': { - name: 'First playground', - component: 'FirstPlayground' - }, - 'sams-playground': { - name: 'SAMS', - component: 'SamsPlayground' - }, - 'test-ground': { - name: 'Test Ground', - component: 'TestGround' - }, - 'ui-playground': { - name: 'UI', - component: 'UiPlayground' - }, - 'pagelayout-test': { - name: 'PageLayout Test', - component: 'PageLayoutTest' - }, - 'editor-test': { - name: 'Editor Layout Test', - component: 'EditorTest' - }, - 'personal-profile': { - name: 'Personal Profile', - component: 'PersonalProfile' - }, - 'rundown-editor': { - name: 'Rundown Editor', - component: 'RundownEditor' - }, - 'rundowns': { - name: 'Rundowns', - component: 'Rundowns' - }, - 'core-layout': { - name: 'Core Layout', - component: 'CoreLayout' - }, - 'multiedit': { - name: 'Multiedit', - component: 'Multiedit' - } - } })) .config(($routeProvider) => { diff --git a/examples/js/react.js b/examples/js/react.js index d66009b5..4bc01a4f 100644 --- a/examples/js/react.js +++ b/examples/js/react.js @@ -123,8 +123,7 @@ class ReactDefault extends React.PureComponent { React

Home of Superdesk React components

-

As the headline suggests – React components for Superdesk. Work in progress!

-

Feel free to contribute!

+

As the headline suggests, these where the React components live.

) @@ -141,9 +140,7 @@ class PatternsDefault extends React.PureComponent {

Design Patterns

- Vestibulum id ligula porta felis euismod semper. Aenean lacinia bibendum nulla sed consectetur. - Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa - justo sit amet risus. + Examples of reusable solutions for common UI patterns in Superdesk.

diff --git a/examples/pages/components.html b/examples/pages/components.html index 5a65bfa6..b7bea247 100644 --- a/examples/pages/components.html +++ b/examples/pages/components.html @@ -3,9 +3,9 @@

Superdesk UI