diff --git a/.gitignore b/.gitignore index e00a660c4d..fe21460b43 100644 --- a/.gitignore +++ b/.gitignore @@ -26,17 +26,3 @@ target # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* -components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/node_modules/ -components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/package-lock.json -components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/npm-debug.log -components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/dist/ -components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/tmp/ -components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/node_modules/ -components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/dist/ -components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package-lock.json -components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/tmp/ -components/device-mgt/io.entgra.device.mgt.ui/react-app/node_modules/ -components/device-mgt/io.entgra.device.mgt.ui/react-app/dist/ -components/device-mgt/io.entgra.device.mgt.ui/react-app/package-lock.json -components/device-mgt/io.entgra.device.mgt.ui/react-app/tmp/ - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml deleted file mode 100644 index d5af449477..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - 4.0.0 - - - org.wso2.carbon.devicemgt - application-mgt - 4.1.11-SNAPSHOT - - org.wso2.carbon.device.application.mgt.publisher.ui - 4.1.11-SNAPSHOT - war - WSO2 Carbon - Application Management Publisher UI Component - https://entgra.io - This Component contains Application Management publisher UI - - - - maven-war-plugin - - WEB-INF/lib/*cxf*.jar - publisher - - - ${npm.output.directory}/dist - - - ${npm.output.directory}/public - public - - - - - - com.github.eirslett - frontend-maven-plugin - ${frontend.mave.version} - - ${npm.working.dir} - - ${npm.install.dir} - - - - install node and npm - - install-node-and-npm - - generate-resources - - ${node.version} - - - - npm install - - npm - - - - install - - - - lint - - npm - - - run-script lint - - generate-resources - - - prod - - npm - - - run-script ${npm.build.command} - - generate-resources - - - - - - - - platform-windows - - - windows - - - - - npm.cmd - - - - - false - npm - build_prod - ./react-app - ./react-app/tmp - UTF-8 - react-app - - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.eslintrc b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.eslintrc deleted file mode 100644 index 9ea2b2a401..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.eslintrc +++ /dev/null @@ -1,325 +0,0 @@ -{ - "parser": "babel-eslint", - "plugins": [ - "react", - "babel", - "jsx", - "prettier" - ], - "extends": [ - "eslint:recommended", - "plugin:react/recommended" - ], - "parserOptions": { - "ecmaVersion": 2016, - "sourceType": "module", - "ecmaFeatures": { - "jsx": true - } - }, - "settings": { - "react": { - "createClass": "createReactClass", - "pragma": "React", - "version": "16.8.6" - } - }, - "env": { - "node": true, - "commonjs": true, - "browser": true, - "jasmine": true, - "es6": true - }, - "globals": { - "document": true, - "console": true, - // Only for development purposes - "setTimeout": true, - "window" : true - }, - "rules": { - "prettier/prettier": "error", - // Enforce the spacing around the * in generator functions. - "generator-star-spacing": [2, "after"], - // Disallow using variables outside the blocks they are defined (especially - // since only let and const are used, see "no-var"). - "block-scoped-var": 2, - // Require camel case names - "camelcase": 2, - // Allow trailing commas for easy list extension. Having them does not - // impair readability, but also not required either. - "comma-dangle": 0, - // Warn about cyclomatic complexity in functions. - "complexity": 1, - // Don't warn for inconsistent naming when capturing this (not so important - // with auto-binding fat arrow functions). - "consistent-this": 0, - // Enforce curly brace conventions for all control statements. - "curly": 2, - // Don't require a default case in switch statements. Avoid being forced to - // add a bogus default when you know all possible cases are handled. - "default-case": 0, - // Encourage the use of dot notation whenever possible. - "dot-notation": 2, - // Allow mixed 'LF' and 'CRLF' as linebreaks. - "linebreak-style": 0, - // Don't enforce the maximum depth that blocks can be nested. - "max-depth": 0, - // Maximum length of a line. - "max-len": [2, 100, 2, { "ignoreStrings": true, "ignoreUrls": true}], - // Maximum depth callbacks can be nested. - "max-nested-callbacks": [2, 3], - // Don't limit the number of parameters that can be used in a function. - "max-params": 0, - // Don't limit the maximum number of statement allowed in a function. - "max-statements": 0, - // Require a capital letter for constructors, only check if all new - // operators are followed by a capital letter. Don't warn when capitalized - // functions are used without the new operator. - "new-cap": [2, {"capIsNew": false}], - // Disallow use of the Array constructor. - "no-array-constructor": 2, - // Allow use of bitwise operators. - "no-bitwise": 0, - // Disallow use of arguments.caller or arguments.callee. - "no-caller": 2, - // Disallow the catch clause parameter name being the same as a variable in - // the outer scope, to avoid confusion. - "no-catch-shadow": 2, - // Disallow assignment in conditional expressions. - "no-cond-assign": 2, - // Allow using the console API. - "no-console": 0, - // Allow using constant expressions in conditions like while (true) - "no-constant-condition": 0, - // Allow use of the continue statement. - "no-continue": 0, - // Disallow control characters in regular expressions. - "no-control-regex": 2, - // Disallow deletion of variables (deleting properties is fine). - "no-delete-var": 2, - // Disallow duplicate arguments in functions. - "no-dupe-args": 2, - // Disallow duplicate keys when creating object literals. - "no-dupe-keys": 2, - // Disallow multiple empty lines - "no-multiple-empty-lines": "error", - // Disallow a duplicate case label. - "no-duplicate-case": 2, - // Disallow else after a return in an if. The else around the second return - // here is useless: - // if (something) { return false; } else { return true; } - "no-else-return": 2, - // Disallow empty statements. This will report an error for: - // try { something(); } catch (e) {} - // but will not report it for: - // try { something(); } catch (e) { /* Silencing the error because ...*/ } - // which is a valid use case. - "no-empty": 2, - // Disallow the use of empty character classes in regular expressions. - "no-empty-character-class": 2, - // Disallow use of labels for anything other then loops and switches. - "no-labels": 2, - // Disallow use of eval(). We have other APIs to evaluate code in content. - "no-eval": 2, - // Disallow assigning to the exception in a catch block. - "no-ex-assign": 2, - // Disallow adding to native types - "no-extend-native": 2, - // Disallow unnecessary function binding. - "no-extra-bind": 2, - // Disallow double-negation boolean casts in a boolean context. - "no-extra-boolean-cast": 2, - // Allow unnecessary parentheses, as they may make the code more readable. - "no-extra-parens": 0, - // Disallow fallthrough of case statements, except if there is a comment. - "no-fallthrough": 2, - // Allow the use of leading or trailing decimal points in numeric literals. - "no-floating-decimal": 0, - // Disallow if as the only statement in an else block. - "no-lonely-if": 2, - // Disallow use of multiline strings (use template strings instead). - "no-multi-str": 2, - // Disallow reassignments of native objects. - "no-native-reassign": 2, - // Disallow nested ternary expressions, they make the code hard to read. - "no-nested-ternary": 2, - // Allow use of new operator with the require function. - "no-new-require": 0, - // Disallow use of octal literals. - "no-octal": 2, - // Allow reassignment of function parameters. - "no-param-reassign": 0, - // Allow string concatenation with __dirname and __filename (not a node env). - "no-path-concat": 0, - // Allow use of unary operators, ++ and --. - "no-plusplus": 0, - // Allow using process.env (not a node environment). - "no-process-env": 0, - // Allow using process.exit (not a node environment). - "no-process-exit": 0, - // Disallow usage of __proto__ property. - "no-proto": 2, - // Disallow declaring the same variable more than once (we use let anyway). - "no-redeclare": 2, - // Disallow multiple spaces in a regular expression literal. - "no-regex-spaces": 2, - // Allow reserved words being used as object literal keys. - "no-reserved-keys": 0, - // Don't restrict usage of specified node modules (not a node environment). - "no-restricted-modules": 0, - // Disallow use of assignment in return statement. It is preferable for a - // single line of code to have only one easily predictable effect. - "no-return-assign": 2, - // Allow use of javascript: urls. - "no-script-url": 0, - // Disallow comparisons where both sides are exactly the same. - "no-self-compare": 2, - // Disallow use of comma operator. - "no-sequences": 2, - // Warn about declaration of variables already declared in the outer scope. - // This isn't an error because it sometimes is useful to use the same name - // in a small helper function rather than having to come up with another - // random name. - // Still, making this a warning can help people avoid being confused. - "no-shadow": 0, - // Require empty line at end of file - "eol-last": "error", - // Disallow shadowing of names such as arguments. - "no-shadow-restricted-names": 2, - "no-space-before-semi": 0, - // Disallow sparse arrays, eg. let arr = [,,2]. - // Array destructuring is fine though: - // for (let [, breakpointPromise] of aPromises) - "no-sparse-arrays": 2, - // Allow use of synchronous methods (not a node environment). - "no-sync": 0, - // Allow the use of ternary operators. - "no-ternary": 0, - // Don't allow spaces after end of line - "no-trailing-spaces": "error", - // Disallow throwing literals (eg. throw "error" instead of - // throw new Error("error")). - "no-throw-literal": 2, - // Disallow use of undeclared variables unless mentioned in a /*global */ - // block. Note that globals from head.js are automatically imported in tests - // by the import-headjs-globals rule form the mozilla eslint plugin. - "no-undef": 2, - // Allow use of undefined variable. - "no-undefined": 0, - // Disallow the use of Boolean literals in conditional expressions. - "no-unneeded-ternary": 2, - // Disallow unreachable statements after a return, throw, continue, or break - // statement. - "no-unreachable": 2, - // Allow using variables before they are defined. - "no-unused-vars": [2, {"vars": "all", "args": "none"}], - // Disallow global and local variables that arent used, but allow unused function arguments. - "no-use-before-define": 0, - // We use var-only-at-top-level instead of no-var as we allow top level - // vars. - "no-var": 0, - // Allow using TODO/FIXME comments. - "no-warning-comments": 0, - // Disallow use of the with statement. - "no-with": 2, - // Dont require method and property shorthand syntax for object literals. - // We use this in the code a lot, but not consistently, and this seems more - // like something to check at code review time. - "object-shorthand": 0, - // Allow more than one variable declaration per function. - "one-var": 0, - // Single quotes should be used. - "quotes": [2, "single", "avoid-escape"], - // Require use of the second argument for parseInt(). - "radix": 2, - // Dont require to sort variables within the same declaration block. - // Anyway, one-var is disabled. - "sort-vars": 0, - "space-after-function-name": 0, - "space-before-function-parentheses": 0, - // Disallow space before function opening parenthesis. - //"space-before-function-paren": [2, "never"], - // Disable the rule that checks if spaces inside {} and [] are there or not. - // Our code is split on conventions, and itd be nice to have 2 rules - // instead, one for [] and one for {}. So, disabling until we write them. - "space-in-brackets": 0, - // Deprecated, will be removed in 1.0. - "space-unary-word-ops": 0, - // Require a space immediately following the // in a line comment. - "spaced-comment": [2, "always"], - // Require "use strict" to be defined globally in the script. - "strict": [2, "global"], - // Disallow comparisons with the value NaN. - "use-isnan": 2, - // Warn about invalid JSDoc comments. - // Disabled for now because of https://github.com/eslint/eslint/issues/2270 - // The rule fails on some jsdoc comments like in: - // devtools/client/webconsole/console-output.js - "valid-jsdoc": 0, - // Ensure that the results of typeof are compared against a valid string. - "valid-typeof": 2, - // Allow vars to be declared anywhere in the scope. - "vars-on-top": 0, - // Dont require immediate function invocation to be wrapped in parentheses. - "wrap-iife": 0, - // Don't require regex literals to be wrapped in parentheses (which - // supposedly prevent them from being mistaken for division operators). - "wrap-regex": 0, - // Require for-in loops to have an if statement. - "guard-for-in": 0, - // allow/disallow an empty newline after var statement - "newline-after-var": 0, - // disallow the use of alert, confirm, and prompt - "no-alert": 0, - // disallow the use of deprecated react changes and lifecycle methods - "react/no-deprecated": 0, - // disallow comparisons to null without a type-checking operator - "no-eq-null": 0, - // disallow overwriting functions written as function declarations - "no-func-assign": 0, - // disallow use of eval()-like methods - "no-implied-eval": 0, - // disallow function or variable declarations in nested blocks - "no-inner-declarations": 0, - // disallow invalid regular expression strings in the RegExp constructor - "no-invalid-regexp": 0, - // disallow irregular whitespace outside of strings and comments - "no-irregular-whitespace": 0, - // disallow unnecessary nested blocks - "no-lone-blocks": 0, - // disallow creation of functions within loops - "no-loop-func": 0, - // disallow use of new operator when not part of the assignment or - // comparison - "no-new": 0, - // disallow use of new operator for Function object - "no-new-func": 0, - // disallow use of the Object constructor - "no-new-object": 0, - // disallows creating new instances of String,Number, and Boolean - "no-new-wrappers": 0, - // disallow the use of object properties of the global object (Math and - // JSON) as functions - "no-obj-calls": 0, - // disallow use of octal escape sequences in string literals, such as - // var foo = "Copyright \251"; - "no-octal-escape": 0, - // disallow use of undefined when initializing variables - "no-undef-init": 0, - // disallow usage of expressions in statement position - "no-unused-expressions": 0, - // disallow use of void operator - "no-void": 0, - // disallow wrapping of non-IIFE statements in parens - "no-wrap-func": 0, - // require assignment operator shorthand where possible or prohibit it - // entirely - "operator-assignment": 0, - // enforce operators to be placed before or after line breaks - "operator-linebreak": 0, - // disable chacking prop types - "react/prop-types": 0 - } -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.npmrc b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.npmrc deleted file mode 100644 index f7425e8e44..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.npmrc +++ /dev/null @@ -1 +0,0 @@ -registry=http://nexus.entgra.io/repository/npm-group/ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.prettierrc b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.prettierrc deleted file mode 100644 index d281e2bd55..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/.prettierrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "all", - "parser": "flow" -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/babel.config.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/babel.config.js deleted file mode 100644 index 9cfcaf0bd9..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/babel.config.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -module.exports = function(api) { - api.cache(true); - const presets = ['@babel/preset-env', '@babel/preset-react']; - const plugins = ['@babel/plugin-proposal-class-properties']; - - return { - presets, - plugins, - }; -}; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/package.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/package.json deleted file mode 100644 index 21144caacf..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/package.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "name": "publisher", - "version": "1.0.0", - "description": "WSO2 IoT Server App Publisher", - "main": "App.js", - "proxy": "http://localhost:3001", - "repository": { - "type": "git", - "url": "git://github.com/wso2/carbon-devicemgt" - }, - "license": "Apache License 2.0", - "dependencies": { - "@ant-design/compatible": "^1.0.0", - "@ant-design/dark-theme": "^0.2.2", - "@ant-design/icons": "^4.0.6", - "@babel/polyfill": "^7.6.0", - "acorn": "^6.2.0", - "antd": "^4.0.0", - "axios": "^0.19.0", - "babel-eslint": "^10.1.0", - "d3": "^5.9.7", - "dagre": "^0.8.4", - "entgra-icons-react": "^1.0.0", - "fetch": "^1.1.0", - "imagemin": "^6.1.0", - "keymirror": "^0.1.1", - "lodash.debounce": "latest", - "rc-tween-one": "^2.4.1", - "react-d3-graph": "^2.1.0", - "react-highlight-words": "^0.16.0", - "react-html-parser": "^2.0.2", - "react-infinite-scroller": "^1.2.4", - "react-quill": "^1.3.3", - "react-router": "latest", - "react-router-config": "^5.0.1", - "react-router-dom": "^5.0.1", - "react-scripts": "2.1.8", - "react-star-ratings": "^2.3.0", - "redux-thunk": "^2.3.0", - "shade-blend-color": "^1.0.0", - "storm-react-diagrams": "^5.2.1", - "typescript": "^3.6.4" - }, - "devDependencies": { - "@babel/core": "^7.5.0", - "@babel/plugin-proposal-class-properties": "^7.5.0", - "@babel/preset-env": "^7.5.0", - "@babel/preset-react": "^7.0.0", - "@babel/register": "^7.4.4", - "babel-core": "^6.26.3", - "babel-loader": "^8.0.6", - "babel-polyfill": "^6.26.0", - "babel-preset-es2015": "^6.24.1", - "babel-preset-stage-0": "^6.24.1", - "body-parser": "^1.19.0", - "chai": "^4.1.2", - "cross-env": "^7.0.0", - "css-loader": "^0.28.11", - "entgra-icons": "^1.4.0", - "eslint": "^5.16.0", - "eslint-config-prettier": "4.3.0", - "eslint-plugin-babel": "5.3.0", - "eslint-plugin-import": "^2.21.2", - "eslint-plugin-jsx": "0.0.2", - "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-prettier": "3.1.0", - "eslint-plugin-react": "7.14.2", - "express": "^4.17.1", - "express-pino-logger": "^4.0.0", - "file-loader": "^2.0.0", - "html-loader": "^0.5.5", - "html-webpack-plugin": "^3.2.0", - "img-loader": "^3.0.1", - "json-loader": "^0.5.7", - "less": "^3.10.3", - "less-loader": "^4.1.0", - "mini-css-extract-plugin": "^0.5.0", - "mocha": "^5.2.0", - "mock-local-storage": "^1.0.5", - "node-env-run": "^3.0.2", - "node-sass": "^4.12.0", - "nodemon": "^1.19.1", - "npm-run-all": "^4.1.5", - "pino-colada": "^1.4.5", - "postcss-loader": "^3.0.0", - "prettier": "1.18.1", - "react": "^16.8.6", - "react-dom": "^16.8.6", - "react-intl": "^2.9.0", - "react-redux": "^7.1.0", - "redux": "^4.0.1", - "sass-loader": "^6.0.7", - "style-loader": "^0.18.2", - "url-loader": "^1.1.2", - "webpack": "^4.39.3", - "webpack-cli": "^3.3.7", - "webpack-dev-server": "^3.7.2" - }, - "scripts": { - "start": "webpack-dev-server --mode development --open", - "dev": "webpack --mode development", - "build": "webpack --mode production", - "watch": "webpack --watch --mode development", - "test": "react-scripts test --env=jsdom", - "eject": "react-scripts eject", - "build_prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack -p --display errors-only --hide-modules", - "build_dev": "cross-env NODE_ENV=development webpack -d --watch ", - "server": "node-env-run server --exec nodemon | pino-colada", - "dev2": "run-p server start", - "lint": "eslint \"src/**/*.js\"" - } -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json deleted file mode 100644 index e953f2a4b1..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "appName": "publisher", - "theme": { - "logo": "https://entgra.io/assets/images/svg/logo.svg", - "primaryColor": "rgb(24, 144, 255)", - "footerText": "©2020 entgra.io" - }, - "serverConfig": { - "invoker": { - "contextPath" : "/publisher-ui-request-handler", - "uri": "/publisher-ui-request-handler/invoke", - "publisher": "/application-mgt-publisher/v1.0", - "store": "/application-mgt-store/v1.0", - "deviceMgt": "/device-mgt/v1.0" - }, - "loginUri": "/publisher-ui-request-handler/login", - "logoutUri": "/publisher-ui-request-handler/logout", - "ssoLoginUri": "/publisher-ui-request-handler/ssoLogin", - "ssoLogoutUri": "/publisher-ui-request-handler/ssoLogout", - "platform": "publisher", - "appUiConfigUri": "/api/device-mgt-config/v1.0/configurations/ui-config" - }, - "defaultPlatformIcons": { - "default": { - "icon": "fw-globe", - "color": "#535c68" - }, - "android": { - "icon": "fw-android", - "color": "#7db343" - }, - "ios": { - "icon": "fw-apple", - "color": "#535c68" - }, - "windows": { - "icon": "fw-windows", - "color": "#008cc4" - } - }, - "lifecycle": { - "CREATED": { - "title": "Created", - "text": "The initial most state of an application.\n You can only proceed to one of the following states:", - "icon": "fw-document", - "step": 0 - }, - "IN-REVIEW": { - "title": "In-Review", - "text": "In this state the application is being reviewed by approvers. You can move from this state to APPROVED state if it is approved by reviewers. Otherwise, you can move the application into either REJECTED state or CREATED state based on the feedback getting by reviewers.", - "icon": "fw-throttling-policy", - "step": 1 - }, - "APPROVED": { - "title": "Approved", - "text": "The approved state is a compulsory state prior to publishing the application.\n You can only proceed to one of the following states:", - "icon": "fw-check", - "step": 2 - }, - "PUBLISHED": { - "title": "Published", - "text": "The state which is applied for applications which are qualified for your Corporate App Store. Only the applications of Published state can be installed to your corporate devices.\n You can only proceed to one of the following states:", - "icon": "fw-globe", - "step": 3 - }, - "BLOCKED": { - "title": "Blocked", - "text": "This state allows you to block your application either to publish or deprecate at a future date.\n You can only proceed to one of the following states:", - "icon": "fw-lock", - "step": 4 - }, - "DEPRECATED": { - "title": "Deprecated", - "text": "The applications which are outdated and no longer suit your app store.\n You can only proceed to one of the following states:", - "icon": "fw-warning", - "step": 5 - }, - "REJECTED": { - "title": "Rejected", - "text": "The Approvers can reject an application due to a faulty of the app or not being in compliance with company policies.\n You can only proceed to one of the following states:", - "icon": "fw-error", - "step": 6 - }, - "RETIRED": { - "title": "Retired", - "text": "The final state of an application, where no transition of states will be allowed after this.", - "icon": "fw-delete", - "step": 7 - } - }, - "deviceTypes": { - "mobileTypes": ["android", "ios", "windows"] - }, - "windowsDeviceType": { - "appType": ["msi", "appx"] - }, - "windowsAppxMsiKeyValueForMetaData": { - "metaKeyArray": ["Package_Url", "Dependency_Package_Url", "Certificate_Hash", "Encoded_Cert_Content", "Package_Family_Name", "Product_Id", "Content_Uri", "File_Hash"] - } -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/icons.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/icons.json deleted file mode 100644 index 0bd52ef51e..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/icons.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "airplay": "", - "api": "", - "apn": "", - "vpn": "", - "apple": "", - "windows": "", - "android": "", - "wifi": "", - "application": "", - "configarations": "", - "battery": "", - "notification": "", - "blank-document": "", - "bookmark": "", - "bpel": "", - "bpmn": "", - "compare": "", - "bug": "", - "calendar": "", - "camera": "", - "contract": "", - "add": "", - "minus": "", - "check": "", - "cancel": "", - "checklist": "", - "circle": "", - "clear": "", - "expand": "", - "clock": "", - "cloud": "", - "circle-outline": "", - "contact": "", - "copy": "", - "dashboard": "", - "database": "", - "delete": "", - "deploy": "", - "display": "", - "dial-up": "", - "document": "", - "ellipsis": "", - "dss": "", - "ebook": "", - "edit": "", - "endpoint": "", - "folder": "", - "faq": "", - "error": "", - "export": "", - "factory-reset": "", - "file-browse": "", - "filter": "", - "message": "", - "forum": "", - "gadget": "", - "grid": "", - "hdd": "", - "home": "", - "hour-glass": "", - "import": "", - "incoming-call": "", - "info": "", - "invitation": "", - "jaggery": "", - "java": "", - "javaee": "", - "javascript": "", - "java-spring": "", - "jaxrs": "", - "jquery": "", - "key": "", - "laptop": "", - "ldap": "", - "lifecycle": "", - "sort-up": "", - "list": "", - "list-sort": "", - "lock": "", - "mail": "", - "map-location": "", - "menu": "", - "mobile": "", - "computer": "", - "ms-document": "", - "mute": "", - "nodejs": "", - "success": "", - "paste": "", - "pdf": "", - "pie-chart": "", - "chat": "", - "publish": "", - "redo": "", - "register": "", - "download": "", - "resource": "", - "rest-api": "", - "rest-service": "", - "sort-down": "", - "rules": "", - "save": "", - "scep": "", - "schema": "", - "search": "", - "security": "", - "send": "", - "sequence": "", - "server": "", - "service": "", - "service-provider": "", - "settings": "", - "share": "", - "sign-in": "", - "soap": "", - "sort": "", - "star": "", - "statistics": "", - "store": "", - "subscribe": "", - "fan": "", - "swagger": "", - "tag": "", - "task": "", - "text": "", - "policy": "", - "security-policy": "", - "throttling-policy": "", - "light": "", - "tiles": "", - "uncheck": "", - "undo": "", - "up": "", - "down": "", - "left": "", - "right": "", - "up-arrow": "", - "down-arrow": "", - "left-arrow": "", - "right-arrow": "", - "upload": "", - "uri": "", - "usb-drive": "", - "user": "", - "bar-chart": "", - "view": "", - "refresh": "", - "warning": "", - "ringing": "", - "block": "", - "web-app": "", - "globe": "", - "web-clip": "", - "proxy": "", - "web-service": "", - "website": "", - "xml": "", - "html": "\t\t\t\t", - "war": "", - "xacml": "", - "wsdl": "", - "wadl": "", - "xq": "", - "xsd": "", - "xslt": "", - "zoom-in": "", - "zoom-out": "", - "wso2-logo": "", - "wso2": "", - "hardware": "", - "raspberry": "", - "arduino": "", - "organization": "", - "public": "", - "unmute": "", - "group": "", - "question": "", - "square": "", - "square-outline": "", - "sync": "", - "loader": "", - "ungroup": "", - "enterprise": "", - "grip": "", - "sign-out": "", - "retweet": "", - "loader2": "", - "loader3": "", - "loader4": "", - "loader5": "", - "alert": "", - "layout": "", - "pages": "", - "build": "", - "alarm": "", - "heart": "", - "table": "", - "carbon": "", - "depend": "", - "jaxws": "", - "own": "", - "php": "", - "use": "", - "deprecate": "", - "prototype": "", - "retire": "", - "micro-services": "", - "activate": "", - "disabled": "", - "hide": "", - "facebook": "", - "github": "", - "google": "", - "google-docs": "", - "google-sheets": "", - "google-slides": "", - "google-plus": "", - "google-drive": "", - "instagram": "", - "linkedin": "", - "pinterest": "", - "skype": "", - "twitter": "", - "youtube": "", - "slash": "", - "analytics-extensions": "", - "esb-connector": "", - "extensions": "", - "is-connector": "", - "annotation": "", - "dgm-fork": "", - "dgm-header": "", - "dgm-if-else": "", - "dgm-lifeline": "", - "dgm-logger": "\t", - "dgm-try-catch": "", - "invoke": "", - "variable": "", - "worker": "", - "code": "", - "cut": "", - "type-converter": "", - "dgm-connector": "", - "dgm-constant-definition": "", - "dgm-resource": "", - "dgm-service": "", - "dgm-type-convertor": "", - "dgm-type": "", - "format": "", - "function": "", - "rename": "", - "package": "", - "action-invoke": "", - "assign": "", - "connector": "", - "constant": "", - "logical": "", - "try-catch": "", - "devices": "", - "http": "", - "main-function": "", - "dgm-while": "", - "run": "", - "action": "", - "image": "", - "folder-open": "", - "docker": "", - "polygon": "", - "code-view": "", - "design-view": "", - "comment": "", - "dgm-action": "", - "dgm-action-invoke": "", - "function-invoke": "", - "reply": "", - "return": "", - "struct": "", - "dgm-import": "", - "start": "", - "stepin": "", - "stepout": "", - "stepover": "", - "stop": "", - "console": "", - "resume": "", - "iterate": "", - "fork-join": "", - "break": "", - "throw": "", - "worker-invoke": "", - "worker-reply": "", - "shortcut": "", - "theme": "", - "pending": "", - "ballerina": "", - "ballerina-service": "", - "abort": "", - "transaction": "", - "android-logcat": "", - "android-sense": "", - "geo-fence-inbound": "", - "geo-fence-outbound": "", - "shell": "", - "speed-alert": "" -} \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/manifest.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/manifest.json deleted file mode 100644 index 2a700bb50e..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/manifest.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "short_name": "App Publisher", - "name": "WSO2 IoT App Publisher", - "icons": [ - { - "src": "images/favicon.png", - "sizes": "16x16", - "type": "image/png" - } - ], - "start_url": "./index.html", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.css deleted file mode 100644 index abb8cc1eb0..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.css +++ /dev/null @@ -1,1506 +0,0 @@ -/*! -~ Copyright (c) 2017 WSO2 Inc. (http://wso2.com) All Rights Reserved. -~ -~ Licensed under the Apache License, Version 2.0 (the "License"); -~ you may not use this file except in compliance with the License. -~ You may obtain a copy of the License at -~ -~ http://www.apache.org/licenses/LICENSE-2.0 -~ -~ Unless required by applicable law or agreed to in writing, software -~ distributed under the License is distributed on an "AS IS" BASIS, -~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -~ See the License for the specific language governing permissions and -~ limitations under the License. -*/ - - -@font-face { - font-family:"font-wso2"; - src:local("font-wso2"), url("../fonts/font-wso2.eot?6563fa91278f239ef8c827d90a165223"); - src:local("font-wso2"), - url("../fonts/font-wso2.eot?#iefix") format("embedded-opentype"), - url("../fonts/font-wso2.woff2?6563fa91278f239ef8c827d90a165223") format("woff2"), - url("../fonts/font-wso2.woff?6563fa91278f239ef8c827d90a165223") format("woff"), - url("../fonts/font-wso2.ttf?6563fa91278f239ef8c827d90a165223") format("truetype"), - url("../fonts/font-wso2.svg?6563fa91278f239ef8c827d90a165223#font-wso2") format("svg"); - font-weight:normal; - font-style:normal; -} - -.fw, [class^="fw-"], [class*=" fw-"] { - font: normal normal normal 14px/1 font-wso2; - display: inline-block; - font-weight: normal; - font-style: normal; - font-size: inherit; - font-variant: normal; - speak: none; - text-decoration: inherit; - - /* Better Font Rendering =========== */ - text-transform: none; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - - -/* ======================================================================== - * font options - * ======================================================================== */ - -.fw-lg { - font-size: 1.33333333em; - line-height: 0.75em; - vertical-align: -15%; -} -.fw-2x { - font-size: 2em; -} -.fw-3x { - font-size: 3em; -} -.fw-4x { - font-size: 4em; -} -.fw-5x { - font-size: 5em; -} -.fw-fw { - width: 1.28571429em; - text-align: center; -} -.fw-ul { - padding-left: 0; - margin-left: 2.14285714em; - list-style-type: none; -} -.fw-ul > li { - position: relative; -} -.fw-li { - position: absolute; - left: -2.14285714em; - width: 2.14285714em; - top: 0.14285714em; - text-align: center; -} -.fw-li.fw-lg { - left: -1.85714286em; -} -.fw-border { - padding: .2em .25em .15em; - border: solid 0.08em #eeeeee; - border-radius: .1em; -} -.fw-background { - background: #888; - border-radius: .3em; - padding: .4em .50em .45em; -} -.fw-pull-left { - float: left; -} -.fw-pull-right { - float: right; -} -.fw.fw-pull-left { - margin-right: .3em; -} -.fw.fw-pull-right { - margin-left: .3em; -} -.fw-spin { - -webkit-animation: fw-spin 2s infinite linear; - animation: fw-spin 2s infinite linear; -} -@-webkit-keyframes fw-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -@keyframes fw-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -.fw-pulse { - -webkit-animation: fw-pulse 2s ease-out infinite; - animation: fw-pulse 2s ease-out infinite; -} -@-webkit-keyframes fw-pulse { - 0%, 30% { - opacity: 0.3; - } - 40% { - opacity: 1; - } - 100% { - opacity: 0.3; - } -} -@keyframes fw-pulse { - 0%, 30% { - opacity: 0.3; - } - 40% { - opacity: 1; - } - 100% { - opacity: 0.3; - } -} -.fw-rotate-90 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); -} -.fw-rotate-180 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} -.fw-rotate-270 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); - -webkit-transform: rotate(270deg); - -ms-transform: rotate(270deg); - transform: rotate(270deg); -} -.fw-flip-horizontal { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); - -webkit-transform: scale(-1, 1); - -ms-transform: scale(-1, 1); - transform: scale(-1, 1); -} -.fw-flip-vertical { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); - -webkit-transform: scale(1, -1); - -ms-transform: scale(1, -1); - transform: scale(1, -1); -} -:root .fw-rotate-90, -:root .fw-rotate-180, -:root .fw-rotate-270, -:root .fw-flip-horizontal, -:root .fw-flip-vertical { - filter: none; -} -.fw-stack, -.fw-helper { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 1.85em; - vertical-align: middle; -} -.fw-stack-1x, -.fw-stack-2x, -.fw-helper:before, -.fw-helper:after { - position: absolute; - left: 0; - width: 100%; - text-align: center; -} -.fw-stack-1x, -.fw-helper:before { - line-height: inherit; -} -.fw-stack-2x, -.fw-helper:after { - font-size: 1.9em; -} -.fw-helper-slash:before { - font-size: 1.4em; -} -.fw-helper-circle:before, -.fw-helper-square:before { - z-index: 1; -} -.fw-helper-circle-outline:after { - content: "\e61f"; -} -.fw-helper-circle:after { - content: "\e61a"; -} -.fw-helper-square-outline:after { - content: "\e6b2"; -} -.fw-helper-square:after { - content: "\e6b1"; -} -.fw-helper-slash:after { - content: "\e6e1"; -} -.fw-stack > .fw-stack { - position: absolute; - font-size: 0.5em; -} -.fw-stack > .fw-stack.fw-move-top { - top: -0.2em; -} -.fw-stack > .fw-stack.fw-move-bottom { - bottom: -0.2em; -} -.fw-stack > .fw.stack.fw-move-left { - left: -0.5em; -} -.fw-stack > .fw-stack.fw-move-right { - right: -0.5em; -} -.fw-inverse:before, -.fw-helper-inverse:after, -.fw-number { - color: #ffffff; -} -.fw-shadow:before, -.fw-helper-shadow:after { - text-shadow: #ffffff 1px 1px 0; -} -.fw-stroke:before, -.fw-helper-stroke:after { - text-shadow: -2px -2px 0 #ffffff, - 2px -2px 0 #ffffff, - -2px 2px 0 #ffffff, - 2px 2px 0 #ffffff; -} -.fw-number { - line-height: 2em; - font-family: Arial, Helvetica, sans-serif; -} - - -/* ======================================================================== - * font icons - * ======================================================================== */ - -.fw-abort:before { - content:"\e72a"; -} - -.fw-action-invoke:before { - content:"\e6fe"; -} - -.fw-action:before { - content:"\e709"; -} - -.fw-activate:before { - content:"\e6cf"; -} - -.fw-add:before { - content:"\e615"; -} - -.fw-airplay:before { - content:"\e600"; -} - -.fw-alarm:before { - content:"\e6c2"; -} - -.fw-alert:before { - content:"\e6be"; -} - -.fw-analytics-extensions:before { - content:"\e6e2"; -} - -.fw-android-logcat:before { - content:"\e72c"; -} - -.fw-android-sense:before { - content:"\e72d"; -} - -.fw-android:before { - content:"\e606"; -} - -.fw-annotation:before { - content:"\e6e6"; -} - -.fw-api:before { - content:"\e601"; -} - -.fw-apn:before { - content:"\e602"; -} - -.fw-apple:before { - content:"\e604"; -} - -.fw-application:before { - content:"\e608"; -} - -.fw-arduino:before { - content:"\e6ab"; -} - -.fw-assign:before { - content:"\e6ff"; -} - -.fw-ballerina-service:before { - content:"\e729"; -} - -.fw-ballerina:before { - content:"\e728"; -} - -.fw-bar-chart:before { - content:"\e690"; -} - -.fw-battery:before { - content:"\e60a"; -} - -.fw-blank-document:before { - content:"\e60c"; -} - -.fw-block:before { - content:"\e695"; -} - -.fw-bookmark:before { - content:"\e60d"; -} - -.fw-bpel:before { - content:"\e60e"; -} - -.fw-bpmn:before { - content:"\e60f"; -} - -.fw-break:before { - content:"\e721"; -} - -.fw-bug:before { - content:"\e611"; -} - -.fw-build:before { - content:"\e6c1"; -} - -.fw-calendar:before { - content:"\e612"; -} - -.fw-camera:before { - content:"\e613"; -} - -.fw-cancel:before { - content:"\e618"; -} - -.fw-carbon:before { - content:"\e6c5"; -} - -.fw-chat:before { - content:"\e65b"; -} - -.fw-check:before { - content:"\e617"; -} - -.fw-checklist:before { - content:"\e619"; -} - -.fw-circle-outline:before { - content:"\e61f"; -} - -.fw-circle:before { - content:"\e61a"; -} - -.fw-clear:before { - content:"\e61b"; -} - -.fw-clock:before { - content:"\e61d"; -} - -.fw-cloud:before { - content:"\e61e"; -} - -.fw-code-view:before { - content:"\e70e"; -} - -.fw-code:before { - content:"\e6f1"; -} - -.fw-comment:before { - content:"\e710"; -} - -.fw-compare:before { - content:"\e610"; -} - -.fw-computer:before { - content:"\e653"; -} - -.fw-configarations:before { - content:"\e609"; -} - -.fw-connector:before { - content:"\e700"; -} - -.fw-console:before { - content:"\e71d"; -} - -.fw-constant:before { - content:"\e701"; -} - -.fw-contact:before { - content:"\e620"; -} - -.fw-contract:before { - content:"\e614"; -} - -.fw-copy:before { - content:"\e621"; -} - -.fw-cut:before { - content:"\e6f2"; -} - -.fw-dashboard:before { - content:"\e622"; -} - -.fw-database:before { - content:"\e623"; -} - -.fw-delete:before { - content:"\e624"; -} - -.fw-depend:before { - content:"\e6c6"; -} - -.fw-deploy:before { - content:"\e625"; -} - -.fw-deprecate:before { - content:"\e6cb"; -} - -.fw-design-view:before { - content:"\e70f"; -} - -.fw-devices:before { - content:"\e704"; -} - -.fw-dgm-action-invoke:before { - content:"\e712"; -} - -.fw-dgm-action:before { - content:"\e711"; -} - -.fw-dgm-connector:before { - content:"\e6f4"; -} - -.fw-dgm-constant-definition:before { - content:"\e6f5"; -} - -.fw-dgm-fork:before { - content:"\e6e7"; -} - -.fw-dgm-header:before { - content:"\e6e8"; -} - -.fw-dgm-if-else:before { - content:"\e6e9"; -} - -.fw-dgm-import:before { - content:"\e717"; -} - -.fw-dgm-lifeline:before { - content:"\e6ea"; -} - -.fw-dgm-logger:before { - content:"\e6eb"; -} - -.fw-dgm-resource:before { - content:"\e6f6"; -} - -.fw-dgm-service:before { - content:"\e6f7"; -} - -.fw-dgm-try-catch:before { - content:"\e6ec"; -} - -.fw-dgm-type-convertor:before { - content:"\e6f8"; -} - -.fw-dgm-type:before { - content:"\e6f9"; -} - -.fw-dgm-while:before { - content:"\e707"; -} - -.fw-dial-up:before { - content:"\e627"; -} - -.fw-disabled:before { - content:"\e6d1"; -} - -.fw-display:before { - content:"\e626"; -} - -.fw-docker:before { - content:"\e70c"; -} - -.fw-document:before { - content:"\e628"; -} - -.fw-down-arrow:before { - content:"\e689"; -} - -.fw-down:before { - content:"\e685"; -} - -.fw-download:before { - content:"\e65f"; -} - -.fw-dss:before { - content:"\e62a"; -} - -.fw-ebook:before { - content:"\e62b"; -} - -.fw-edit:before { - content:"\e62c"; -} - -.fw-ellipsis:before { - content:"\e629"; -} - -.fw-endpoint:before { - content:"\e62d"; -} - -.fw-enterprise:before { - content:"\e6b6"; -} - -.fw-error:before { - content:"\e630"; -} - -.fw-esb-connector:before { - content:"\e6e3"; -} - -.fw-expand:before { - content:"\e61c"; -} - -.fw-export:before { - content:"\e631"; -} - -.fw-extensions:before { - content:"\e6e4"; -} - -.fw-facebook:before { - content:"\e6d3"; -} - -.fw-factory-reset:before { - content:"\e632"; -} - -.fw-fan:before { - content:"\e678"; -} - -.fw-faq:before { - content:"\e62f"; -} - -.fw-file-browse:before { - content:"\e633"; -} - -.fw-filter:before { - content:"\e634"; -} - -.fw-folder-open:before { - content:"\e70b"; -} - -.fw-folder:before { - content:"\e62e"; -} - -.fw-fork-join:before { - content:"\e720"; -} - -.fw-format:before { - content:"\e6fa"; -} - -.fw-forum:before { - content:"\e636"; -} - -.fw-function-invoke:before { - content:"\e713"; -} - -.fw-function:before { - content:"\e6fb"; -} - -.fw-gadget:before { - content:"\e637"; -} - -.fw-geo-fence-inbound:before { - content:"\e72e"; -} - -.fw-geo-fence-outbound:before { - content:"\e72f"; -} - -.fw-github:before { - content:"\e6d4"; -} - -.fw-globe:before { - content:"\e697"; -} - -.fw-google-docs:before { - content:"\e6d6"; -} - -.fw-google-drive:before { - content:"\e6da"; -} - -.fw-google-plus:before { - content:"\e6d9"; -} - -.fw-google-sheets:before { - content:"\e6d7"; -} - -.fw-google-slides:before { - content:"\e6d8"; -} - -.fw-google:before { - content:"\e6d5"; -} - -.fw-grid:before { - content:"\e638"; -} - -.fw-grip:before { - content:"\e6b7"; -} - -.fw-group:before { - content:"\e6af"; -} - -.fw-hardware:before { - content:"\e6a9"; -} - -.fw-hdd:before { - content:"\e639"; -} - -.fw-heart:before { - content:"\e6c3"; -} - -.fw-hide:before { - content:"\e6d2"; -} - -.fw-home:before { - content:"\e63a"; -} - -.fw-hour-glass:before { - content:"\e63b"; -} - -.fw-html:before { - content:"\e69d"; -} - -.fw-http:before { - content:"\e705"; -} - -.fw-image:before { - content:"\e70a"; -} - -.fw-import:before { - content:"\e63c"; -} - -.fw-incoming-call:before { - content:"\e63d"; -} - -.fw-info:before { - content:"\e63e"; -} - -.fw-instagram:before { - content:"\e6db"; -} - -.fw-invitation:before { - content:"\e63f"; -} - -.fw-invoke:before { - content:"\e6ed"; -} - -.fw-is-connector:before { - content:"\e6e5"; -} - -.fw-iterate:before { - content:"\e71f"; -} - -.fw-jaggery:before { - content:"\e640"; -} - -.fw-java-spring:before { - content:"\e644"; -} - -.fw-java:before { - content:"\e641"; -} - -.fw-javaee:before { - content:"\e642"; -} - -.fw-javascript:before { - content:"\e643"; -} - -.fw-jaxrs:before { - content:"\e645"; -} - -.fw-jaxws:before { - content:"\e6c7"; -} - -.fw-jquery:before { - content:"\e646"; -} - -.fw-key:before { - content:"\e647"; -} - -.fw-laptop:before { - content:"\e648"; -} - -.fw-layout:before { - content:"\e6bf"; -} - -.fw-ldap:before { - content:"\e649"; -} - -.fw-left-arrow:before { - content:"\e68a"; -} - -.fw-left:before { - content:"\e686"; -} - -.fw-lifecycle:before { - content:"\e64a"; -} - -.fw-light:before { - content:"\e680"; -} - -.fw-linkedin:before { - content:"\e6dc"; -} - -.fw-list-sort:before { - content:"\e64d"; -} - -.fw-list:before { - content:"\e64c"; -} - -.fw-loader:before { - content:"\e6b4"; -} - -.fw-loader2:before { - content:"\e6ba"; -} - -.fw-loader3:before { - content:"\e6bb"; -} - -.fw-loader4:before { - content:"\e6bc"; -} - -.fw-loader5:before { - content:"\e6bd"; -} - -.fw-lock:before { - content:"\e64e"; -} - -.fw-logical:before { - content:"\e702"; -} - -.fw-mail:before { - content:"\e64f"; -} - -.fw-main-function:before { - content:"\e706"; -} - -.fw-map-location:before { - content:"\e650"; -} - -.fw-menu:before { - content:"\e651"; -} - -.fw-message:before { - content:"\e635"; -} - -.fw-micro-services:before { - content:"\e6ce"; -} - -.fw-minus:before, .fw-hyphen:before, .fw-dash:before { - content:"\e616"; -} - -.fw-mobile:before { - content:"\e652"; -} - -.fw-ms-document:before { - content:"\e654"; -} - -.fw-mute:before { - content:"\e655"; -} - -.fw-nodejs:before { - content:"\e656"; -} - -.fw-notification:before { - content:"\e60b"; -} - -.fw-organization:before { - content:"\e6ac"; -} - -.fw-own:before { - content:"\e6c8"; -} - -.fw-package:before { - content:"\e6fd"; -} - -.fw-pages:before { - content:"\e6c0"; -} - -.fw-paste:before { - content:"\e658"; -} - -.fw-pdf:before { - content:"\e659"; -} - -.fw-pending:before { - content:"\e727"; -} - -.fw-php:before { - content:"\e6c9"; -} - -.fw-pie-chart:before { - content:"\e65a"; -} - -.fw-pinterest:before { - content:"\e6dd"; -} - -.fw-policy:before { - content:"\e67d"; -} - -.fw-polygon:before { - content:"\e70d"; -} - -.fw-prototype:before { - content:"\e6cc"; -} - -.fw-proxy:before { - content:"\e699"; -} - -.fw-public:before { - content:"\e6ad"; -} - -.fw-publish:before { - content:"\e65c"; -} - -.fw-question:before { - content:"\e6b0"; -} - -.fw-raspberry:before { - content:"\e6aa"; -} - -.fw-redo:before { - content:"\e65d"; -} - -.fw-refresh:before { - content:"\e692"; -} - -.fw-register:before { - content:"\e65e"; -} - -.fw-rename:before { - content:"\e6fc"; -} - -.fw-reply:before { - content:"\e714"; -} - -.fw-resource:before { - content:"\e660"; -} - -.fw-rest-api:before { - content:"\e661"; -} - -.fw-rest-service:before { - content:"\e662"; -} - -.fw-resume:before { - content:"\e71e"; -} - -.fw-retire:before { - content:"\e6cd"; -} - -.fw-return:before { - content:"\e715"; -} - -.fw-retweet:before { - content:"\e6b9"; -} - -.fw-right-arrow:before { - content:"\e68b"; -} - -.fw-right:before { - content:"\e687"; -} - -.fw-ringing:before { - content:"\e694"; -} - -.fw-rules:before { - content:"\e664"; -} - -.fw-run:before { - content:"\e708"; -} - -.fw-save:before { - content:"\e665"; -} - -.fw-scep:before { - content:"\e666"; -} - -.fw-schema:before { - content:"\e667"; -} - -.fw-search:before { - content:"\e668"; -} - -.fw-security-policy:before { - content:"\e67e"; -} - -.fw-security:before { - content:"\e669"; -} - -.fw-send:before, .fw-paper-rocket:before { - content:"\e66a"; -} - -.fw-sequence:before { - content:"\e66b"; -} - -.fw-server:before { - content:"\e66c"; -} - -.fw-service-provider:before { - content:"\e66e"; -} - -.fw-service:before, .fw-cogwheels:before, .fw-gears:before, .fw-sprockets:before { - content:"\e66d"; -} - -.fw-settings:before, .fw-cogwheel:before, .fw-gear:before, .fw-sprocket:before { - content:"\e66f"; -} - -.fw-share:before { - content:"\e670"; -} - -.fw-shell:before { - content:"\e730"; -} - -.fw-shortcut:before { - content:"\e725"; -} - -.fw-sign-in:before { - content:"\e671"; -} - -.fw-sign-out:before { - content:"\e6b8"; -} - -.fw-skype:before { - content:"\e6de"; -} - -.fw-slash:before { - content:"\e6e1"; -} - -.fw-soap:before { - content:"\e672"; -} - -.fw-sort-down:before { - content:"\e663"; -} - -.fw-sort-up:before { - content:"\e64b"; -} - -.fw-sort:before { - content:"\e673"; -} - -.fw-speed-alert:before { - content:"\e731"; -} - -.fw-square-outline:before { - content:"\e6b2"; -} - -.fw-square:before { - content:"\e6b1"; -} - -.fw-star:before { - content:"\e674"; -} - -.fw-start:before { - content:"\e718"; -} - -.fw-statistics:before { - content:"\e675"; -} - -.fw-stepin:before { - content:"\e719"; -} - -.fw-stepout:before { - content:"\e71a"; -} - -.fw-stepover:before { - content:"\e71b"; -} - -.fw-stop:before { - content:"\e71c"; -} - -.fw-store:before, .fw-cart:before { - content:"\e676"; -} - -.fw-struct:before { - content:"\e716"; -} - -.fw-subscribe:before { - content:"\e677"; -} - -.fw-success:before { - content:"\e657"; -} - -.fw-swagger:before { - content:"\e679"; -} - -.fw-sync:before { - content:"\e6b3"; -} - -.fw-table:before { - content:"\e6c4"; -} - -.fw-tag:before { - content:"\e67a"; -} - -.fw-task:before { - content:"\e67b"; -} - -.fw-text:before { - content:"\e67c"; -} - -.fw-theme:before { - content:"\e726"; -} - -.fw-throttling-policy:before { - content:"\e67f"; -} - -.fw-throw:before { - content:"\e722"; -} - -.fw-tiles:before { - content:"\e681"; -} - -.fw-transaction:before { - content:"\e72b"; -} - -.fw-try-catch:before { - content:"\e703"; -} - -.fw-twitter:before { - content:"\e6df"; -} - -.fw-type-converter:before { - content:"\e6f3"; -} - -.fw-uncheck:before { - content:"\e682"; -} - -.fw-undo:before { - content:"\e683"; -} - -.fw-ungroup:before { - content:"\e6b5"; -} - -.fw-unmute:before { - content:"\e6ae"; -} - -.fw-up-arrow:before { - content:"\e688"; -} - -.fw-up:before { - content:"\e684"; -} - -.fw-upload:before { - content:"\e68c"; -} - -.fw-uri:before { - content:"\e68d"; -} - -.fw-usb-drive:before { - content:"\e68e"; -} - -.fw-use:before { - content:"\e6ca"; -} - -.fw-user:before { - content:"\e68f"; -} - -.fw-variable:before { - content:"\e6ee"; -} - -.fw-view:before { - content:"\e691"; -} - -.fw-vpn:before { - content:"\e603"; -} - -.fw-wadl:before { - content:"\e6a1"; -} - -.fw-war:before { - content:"\e69e"; -} - -.fw-warning:before { - content:"\e693"; -} - -.fw-web-app:before { - content:"\e696"; -} - -.fw-web-clip:before { - content:"\e698"; -} - -.fw-web-service:before { - content:"\e69a"; -} - -.fw-website:before { - content:"\e69b"; -} - -.fw-wifi:before { - content:"\e607"; -} - -.fw-windows:before { - content:"\e605"; -} - -.fw-worker-invoke:before { - content:"\e723"; -} - -.fw-worker-reply:before { - content:"\e724"; -} - -.fw-worker:before { - content:"\e6ef"; -} - -.fw-wsdl:before { - content:"\e6a0"; -} - -.fw-wso2-logo:before { - content:"\e6a7"; -} - -.fw-wso2:before { - content:"\e6a8"; -} - -.fw-xacml:before { - content:"\e69f"; -} - -.fw-xml:before { - content:"\e69c"; -} - -.fw-xq:before { - content:"\e6a2"; -} - -.fw-xsd:before { - content:"\e6a3"; -} - -.fw-xslt:before { - content:"\e6a4"; -} - -.fw-youtube:before { - content:"\e6e0"; -} - -.fw-zoom-in:before { - content:"\e6a5"; -} - -.fw-zoom-out:before { - content:"\e6a6"; -} - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.min.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.min.css deleted file mode 100644 index 6d229b71da..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/css/font-wso2.min.css +++ /dev/null @@ -1,15 +0,0 @@ -/*! -~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved. -~ -~ Licensed under the Apache License, Version 2.0 (the "License"); -~ you may not use this file except in compliance with the License. -~ You may obtain a copy of the License at -~ -~ http://www.apache.org/licenses/LICENSE-2.0 -~ -~ Unless required by applicable law or agreed to in writing, software -~ distributed under the License is distributed on an "AS IS" BASIS, -~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -~ See the License for the specific language governing permissions and -~ limitations under the License. -*/.fw-fw,.fw-li{text-align:center}@font-face{font-family:font-wso2;src:local("font-wso2"),url(../fonts/font-wso2.eot?6563fa91278f239ef8c827d90a165223);src:local("font-wso2"),url(../fonts/font-wso2.eot?#iefix) format("embedded-opentype"),url(../fonts/font-wso2.woff2?6563fa91278f239ef8c827d90a165223) format("woff2"),url(../fonts/font-wso2.woff?6563fa91278f239ef8c827d90a165223) format("woff"),url(../fonts/font-wso2.ttf?6563fa91278f239ef8c827d90a165223) format("truetype"),url(../fonts/font-wso2.svg?6563fa91278f239ef8c827d90a165223#font-wso2) format("svg");font-weight:400;font-style:normal}.fw,[class*=" fw-"],[class^=fw-]{font:normal normal normal 14px/1 font-wso2;display:inline-block;font-weight:400;font-style:normal;font-size:inherit;font-variant:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fw-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fw-2x{font-size:2em}.fw-3x{font-size:3em}.fw-4x{font-size:4em}.fw-5x{font-size:5em}.fw-fw{width:1.28571429em}.fw-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fw-ul>li{position:relative}.fw-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em}.fw-li.fw-lg{left:-1.85714286em}.fw-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fw-background{background:#888;border-radius:.3em;padding:.4em .5em .45em}.fw-pull-left{float:left}.fw-pull-right{float:right}.fw.fw-pull-left{margin-right:.3em}.fw.fw-pull-right{margin-left:.3em}.fw-spin{-webkit-animation:fw-spin 2s infinite linear;animation:fw-spin 2s infinite linear}@-webkit-keyframes fw-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fw-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fw-pulse{-webkit-animation:fw-pulse 2s ease-out infinite;animation:fw-pulse 2s ease-out infinite}@-webkit-keyframes fw-pulse{0%,100%,30%{opacity:.3}40%{opacity:1}}@keyframes fw-pulse{0%,100%,30%{opacity:.3}40%{opacity:1}}.fw-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fw-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fw-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fw-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fw-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fw-flip-horizontal,:root .fw-flip-vertical,:root .fw-rotate-180,:root .fw-rotate-270,:root .fw-rotate-90{filter:none}.fw-helper,.fw-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:1.85em;vertical-align:middle}.fw-helper:after,.fw-helper:before,.fw-stack-1x,.fw-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fw-helper:before,.fw-stack-1x{line-height:inherit}.fw-helper:after,.fw-stack-2x{font-size:1.9em}.fw-helper-slash:before{font-size:1.4em}.fw-helper-circle:before,.fw-helper-square:before{z-index:1}.fw-helper-circle-outline:after{content:"\e61f"}.fw-helper-circle:after{content:"\e61a"}.fw-helper-square-outline:after{content:"\e6b2"}.fw-helper-square:after{content:"\e6b1"}.fw-helper-slash:after{content:"\e6e1"}.fw-stack>.fw-stack{position:absolute;font-size:.5em}.fw-stack>.fw-stack.fw-move-top{top:-.2em}.fw-stack>.fw-stack.fw-move-bottom{bottom:-.2em}.fw-stack>.fw.stack.fw-move-left{left:-.5em}.fw-stack>.fw-stack.fw-move-right{right:-.5em}.fw-helper-inverse:after,.fw-inverse:before,.fw-number{color:#fff}.fw-helper-shadow:after,.fw-shadow:before{text-shadow:#fff 1px 1px 0}.fw-helper-stroke:after,.fw-stroke:before{text-shadow:-2px -2px 0 #fff,2px -2px 0 #fff,-2px 2px 0 #fff,2px 2px 0 #fff}.fw-number{line-height:2em;font-family:Arial,Helvetica,sans-serif}.fw-abort:before{content:"\e72a"}.fw-action-invoke:before{content:"\e6fe"}.fw-action:before{content:"\e709"}.fw-activate:before{content:"\e6cf"}.fw-add:before{content:"\e615"}.fw-airplay:before{content:"\e600"}.fw-alarm:before{content:"\e6c2"}.fw-alert:before{content:"\e6be"}.fw-analytics-extensions:before{content:"\e6e2"}.fw-android-logcat:before{content:"\e72c"}.fw-android-sense:before{content:"\e72d"}.fw-android:before{content:"\e606"}.fw-annotation:before{content:"\e6e6"}.fw-api:before{content:"\e601"}.fw-apn:before{content:"\e602"}.fw-apple:before{content:"\e604"}.fw-application:before{content:"\e608"}.fw-arduino:before{content:"\e6ab"}.fw-assign:before{content:"\e6ff"}.fw-ballerina-service:before{content:"\e729"}.fw-ballerina:before{content:"\e728"}.fw-bar-chart:before{content:"\e690"}.fw-battery:before{content:"\e60a"}.fw-blank-document:before{content:"\e60c"}.fw-block:before{content:"\e695"}.fw-bookmark:before{content:"\e60d"}.fw-bpel:before{content:"\e60e"}.fw-bpmn:before{content:"\e60f"}.fw-break:before{content:"\e721"}.fw-bug:before{content:"\e611"}.fw-build:before{content:"\e6c1"}.fw-calendar:before{content:"\e612"}.fw-camera:before{content:"\e613"}.fw-cancel:before{content:"\e618"}.fw-carbon:before{content:"\e6c5"}.fw-chat:before{content:"\e65b"}.fw-check:before{content:"\e617"}.fw-checklist:before{content:"\e619"}.fw-circle-outline:before{content:"\e61f"}.fw-circle:before{content:"\e61a"}.fw-clear:before{content:"\e61b"}.fw-clock:before{content:"\e61d"}.fw-cloud:before{content:"\e61e"}.fw-code-view:before{content:"\e70e"}.fw-code:before{content:"\e6f1"}.fw-comment:before{content:"\e710"}.fw-compare:before{content:"\e610"}.fw-computer:before{content:"\e653"}.fw-configarations:before{content:"\e609"}.fw-connector:before{content:"\e700"}.fw-console:before{content:"\e71d"}.fw-constant:before{content:"\e701"}.fw-contact:before{content:"\e620"}.fw-contract:before{content:"\e614"}.fw-copy:before{content:"\e621"}.fw-cut:before{content:"\e6f2"}.fw-dashboard:before{content:"\e622"}.fw-database:before{content:"\e623"}.fw-delete:before{content:"\e624"}.fw-depend:before{content:"\e6c6"}.fw-deploy:before{content:"\e625"}.fw-deprecate:before{content:"\e6cb"}.fw-design-view:before{content:"\e70f"}.fw-devices:before{content:"\e704"}.fw-dgm-action-invoke:before{content:"\e712"}.fw-dgm-action:before{content:"\e711"}.fw-dgm-connector:before{content:"\e6f4"}.fw-dgm-constant-definition:before{content:"\e6f5"}.fw-dgm-fork:before{content:"\e6e7"}.fw-dgm-header:before{content:"\e6e8"}.fw-dgm-if-else:before{content:"\e6e9"}.fw-dgm-import:before{content:"\e717"}.fw-dgm-lifeline:before{content:"\e6ea"}.fw-dgm-logger:before{content:"\e6eb"}.fw-dgm-resource:before{content:"\e6f6"}.fw-dgm-service:before{content:"\e6f7"}.fw-dgm-try-catch:before{content:"\e6ec"}.fw-dgm-type-convertor:before{content:"\e6f8"}.fw-dgm-type:before{content:"\e6f9"}.fw-dgm-while:before{content:"\e707"}.fw-dial-up:before{content:"\e627"}.fw-disabled:before{content:"\e6d1"}.fw-display:before{content:"\e626"}.fw-docker:before{content:"\e70c"}.fw-document:before{content:"\e628"}.fw-down-arrow:before{content:"\e689"}.fw-down:before{content:"\e685"}.fw-download:before{content:"\e65f"}.fw-dss:before{content:"\e62a"}.fw-ebook:before{content:"\e62b"}.fw-edit:before{content:"\e62c"}.fw-ellipsis:before{content:"\e629"}.fw-endpoint:before{content:"\e62d"}.fw-enterprise:before{content:"\e6b6"}.fw-error:before{content:"\e630"}.fw-esb-connector:before{content:"\e6e3"}.fw-expand:before{content:"\e61c"}.fw-export:before{content:"\e631"}.fw-extensions:before{content:"\e6e4"}.fw-facebook:before{content:"\e6d3"}.fw-factory-reset:before{content:"\e632"}.fw-fan:before{content:"\e678"}.fw-faq:before{content:"\e62f"}.fw-file-browse:before{content:"\e633"}.fw-filter:before{content:"\e634"}.fw-folder-open:before{content:"\e70b"}.fw-folder:before{content:"\e62e"}.fw-fork-join:before{content:"\e720"}.fw-format:before{content:"\e6fa"}.fw-forum:before{content:"\e636"}.fw-function-invoke:before{content:"\e713"}.fw-function:before{content:"\e6fb"}.fw-gadget:before{content:"\e637"}.fw-geo-fence-inbound:before{content:"\e72e"}.fw-geo-fence-outbound:before{content:"\e72f"}.fw-github:before{content:"\e6d4"}.fw-globe:before{content:"\e697"}.fw-google-docs:before{content:"\e6d6"}.fw-google-drive:before{content:"\e6da"}.fw-google-plus:before{content:"\e6d9"}.fw-google-sheets:before{content:"\e6d7"}.fw-google-slides:before{content:"\e6d8"}.fw-google:before{content:"\e6d5"}.fw-grid:before{content:"\e638"}.fw-grip:before{content:"\e6b7"}.fw-group:before{content:"\e6af"}.fw-hardware:before{content:"\e6a9"}.fw-hdd:before{content:"\e639"}.fw-heart:before{content:"\e6c3"}.fw-hide:before{content:"\e6d2"}.fw-home:before{content:"\e63a"}.fw-hour-glass:before{content:"\e63b"}.fw-html:before{content:"\e69d"}.fw-http:before{content:"\e705"}.fw-image:before{content:"\e70a"}.fw-import:before{content:"\e63c"}.fw-incoming-call:before{content:"\e63d"}.fw-info:before{content:"\e63e"}.fw-instagram:before{content:"\e6db"}.fw-invitation:before{content:"\e63f"}.fw-invoke:before{content:"\e6ed"}.fw-is-connector:before{content:"\e6e5"}.fw-iterate:before{content:"\e71f"}.fw-jaggery:before{content:"\e640"}.fw-java-spring:before{content:"\e644"}.fw-java:before{content:"\e641"}.fw-javaee:before{content:"\e642"}.fw-javascript:before{content:"\e643"}.fw-jaxrs:before{content:"\e645"}.fw-jaxws:before{content:"\e6c7"}.fw-jquery:before{content:"\e646"}.fw-key:before{content:"\e647"}.fw-laptop:before{content:"\e648"}.fw-layout:before{content:"\e6bf"}.fw-ldap:before{content:"\e649"}.fw-left-arrow:before{content:"\e68a"}.fw-left:before{content:"\e686"}.fw-lifecycle:before{content:"\e64a"}.fw-light:before{content:"\e680"}.fw-linkedin:before{content:"\e6dc"}.fw-list-sort:before{content:"\e64d"}.fw-list:before{content:"\e64c"}.fw-loader:before{content:"\e6b4"}.fw-loader2:before{content:"\e6ba"}.fw-loader3:before{content:"\e6bb"}.fw-loader4:before{content:"\e6bc"}.fw-loader5:before{content:"\e6bd"}.fw-lock:before{content:"\e64e"}.fw-logical:before{content:"\e702"}.fw-mail:before{content:"\e64f"}.fw-main-function:before{content:"\e706"}.fw-map-location:before{content:"\e650"}.fw-menu:before{content:"\e651"}.fw-message:before{content:"\e635"}.fw-micro-services:before{content:"\e6ce"}.fw-dash:before,.fw-hyphen:before,.fw-minus:before{content:"\e616"}.fw-mobile:before{content:"\e652"}.fw-ms-document:before{content:"\e654"}.fw-mute:before{content:"\e655"}.fw-nodejs:before{content:"\e656"}.fw-notification:before{content:"\e60b"}.fw-organization:before{content:"\e6ac"}.fw-own:before{content:"\e6c8"}.fw-package:before{content:"\e6fd"}.fw-pages:before{content:"\e6c0"}.fw-paste:before{content:"\e658"}.fw-pdf:before{content:"\e659"}.fw-pending:before{content:"\e727"}.fw-php:before{content:"\e6c9"}.fw-pie-chart:before{content:"\e65a"}.fw-pinterest:before{content:"\e6dd"}.fw-policy:before{content:"\e67d"}.fw-polygon:before{content:"\e70d"}.fw-prototype:before{content:"\e6cc"}.fw-proxy:before{content:"\e699"}.fw-public:before{content:"\e6ad"}.fw-publish:before{content:"\e65c"}.fw-question:before{content:"\e6b0"}.fw-raspberry:before{content:"\e6aa"}.fw-redo:before{content:"\e65d"}.fw-refresh:before{content:"\e692"}.fw-register:before{content:"\e65e"}.fw-rename:before{content:"\e6fc"}.fw-reply:before{content:"\e714"}.fw-resource:before{content:"\e660"}.fw-rest-api:before{content:"\e661"}.fw-rest-service:before{content:"\e662"}.fw-resume:before{content:"\e71e"}.fw-retire:before{content:"\e6cd"}.fw-return:before{content:"\e715"}.fw-retweet:before{content:"\e6b9"}.fw-right-arrow:before{content:"\e68b"}.fw-right:before{content:"\e687"}.fw-ringing:before{content:"\e694"}.fw-rules:before{content:"\e664"}.fw-run:before{content:"\e708"}.fw-save:before{content:"\e665"}.fw-scep:before{content:"\e666"}.fw-schema:before{content:"\e667"}.fw-search:before{content:"\e668"}.fw-security-policy:before{content:"\e67e"}.fw-security:before{content:"\e669"}.fw-paper-rocket:before,.fw-send:before{content:"\e66a"}.fw-sequence:before{content:"\e66b"}.fw-server:before{content:"\e66c"}.fw-service-provider:before{content:"\e66e"}.fw-cogwheels:before,.fw-gears:before,.fw-service:before,.fw-sprockets:before{content:"\e66d"}.fw-cogwheel:before,.fw-gear:before,.fw-settings:before,.fw-sprocket:before{content:"\e66f"}.fw-share:before{content:"\e670"}.fw-shell:before{content:"\e730"}.fw-shortcut:before{content:"\e725"}.fw-sign-in:before{content:"\e671"}.fw-sign-out:before{content:"\e6b8"}.fw-skype:before{content:"\e6de"}.fw-slash:before{content:"\e6e1"}.fw-soap:before{content:"\e672"}.fw-sort-down:before{content:"\e663"}.fw-sort-up:before{content:"\e64b"}.fw-sort:before{content:"\e673"}.fw-speed-alert:before{content:"\e731"}.fw-square-outline:before{content:"\e6b2"}.fw-square:before{content:"\e6b1"}.fw-star:before{content:"\e674"}.fw-start:before{content:"\e718"}.fw-statistics:before{content:"\e675"}.fw-stepin:before{content:"\e719"}.fw-stepout:before{content:"\e71a"}.fw-stepover:before{content:"\e71b"}.fw-stop:before{content:"\e71c"}.fw-cart:before,.fw-store:before{content:"\e676"}.fw-struct:before{content:"\e716"}.fw-subscribe:before{content:"\e677"}.fw-success:before{content:"\e657"}.fw-swagger:before{content:"\e679"}.fw-sync:before{content:"\e6b3"}.fw-table:before{content:"\e6c4"}.fw-tag:before{content:"\e67a"}.fw-task:before{content:"\e67b"}.fw-text:before{content:"\e67c"}.fw-theme:before{content:"\e726"}.fw-throttling-policy:before{content:"\e67f"}.fw-throw:before{content:"\e722"}.fw-tiles:before{content:"\e681"}.fw-transaction:before{content:"\e72b"}.fw-try-catch:before{content:"\e703"}.fw-twitter:before{content:"\e6df"}.fw-type-converter:before{content:"\e6f3"}.fw-uncheck:before{content:"\e682"}.fw-undo:before{content:"\e683"}.fw-ungroup:before{content:"\e6b5"}.fw-unmute:before{content:"\e6ae"}.fw-up-arrow:before{content:"\e688"}.fw-up:before{content:"\e684"}.fw-upload:before{content:"\e68c"}.fw-uri:before{content:"\e68d"}.fw-usb-drive:before{content:"\e68e"}.fw-use:before{content:"\e6ca"}.fw-user:before{content:"\e68f"}.fw-variable:before{content:"\e6ee"}.fw-view:before{content:"\e691"}.fw-vpn:before{content:"\e603"}.fw-wadl:before{content:"\e6a1"}.fw-war:before{content:"\e69e"}.fw-warning:before{content:"\e693"}.fw-web-app:before{content:"\e696"}.fw-web-clip:before{content:"\e698"}.fw-web-service:before{content:"\e69a"}.fw-website:before{content:"\e69b"}.fw-wifi:before{content:"\e607"}.fw-windows:before{content:"\e605"}.fw-worker-invoke:before{content:"\e723"}.fw-worker-reply:before{content:"\e724"}.fw-worker:before{content:"\e6ef"}.fw-wsdl:before{content:"\e6a0"}.fw-wso2-logo:before{content:"\e6a7"}.fw-wso2:before{content:"\e6a8"}.fw-xacml:before{content:"\e69f"}.fw-xml:before{content:"\e69c"}.fw-xq:before{content:"\e6a2"}.fw-xsd:before{content:"\e6a3"}.fw-xslt:before{content:"\e6a4"}.fw-youtube:before{content:"\e6e0"}.fw-zoom-in:before{content:"\e6a5"}.fw-zoom-out:before{content:"\e6a6"} \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.ttf b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.ttf deleted file mode 100644 index aa00de0ef9..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.ttf and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff deleted file mode 100644 index ced7907e94..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff2 b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff2 deleted file mode 100644 index 723a32343b..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Medium.woff2 and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.ttf b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.ttf deleted file mode 100644 index 3e6e2e7613..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.ttf and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff deleted file mode 100644 index e401bcf528..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff2 b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff2 deleted file mode 100644 index 5bd7bd6500..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/Roboto-Regular.woff2 and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.svg b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.svg deleted file mode 100644 index 91614ea75e..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.svg +++ /dev/null @@ -1,2326 +0,0 @@ - - - - - -Created by FontForge 20161004 at Wed Jun 21 08:31:03 2017 - By dimal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.ttf b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.ttf deleted file mode 100644 index 27735b2820..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.ttf and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff deleted file mode 100644 index 80fd5a7fc2..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff2 b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff2 deleted file mode 100644 index 6087330889..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/fonts/font-wso2.woff2 and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/favicon.png b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/favicon.png deleted file mode 100644 index a1deab3581..0000000000 Binary files a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/favicon.png and /dev/null differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/logo.svg b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/logo.svg deleted file mode 100644 index 05742db887..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/images/logo.svg +++ /dev/null @@ -1,798 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/locales/en.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/locales/en.json deleted file mode 100644 index 5be6f63bd4..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/locales/en.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "Title" : "Title", - "Description" : "Description", - "ShortDescription" : "Short Description", - "Category" : "Category", - "Visibility" : "Visibility", - "Devices" : "Devices", - "Roles" : "Roles", - "Groups" : "Groups", - "Tags" : "Tags", - "Platform" : "Platform", - "Platforms" : "Platforms", - "Applications": "Applications", - "No.Platform" : "No Platforms", - "Screenshots" : "Screenshots", - "Icon" : "Icon", - "Info" : "Info", - "Banner" : "Banner", - "Create.Application" : "Create Application", - "Back" : "Back", - "Cancel" : "Cancel", - "Finish" : "Finish", - "Continue" : "Continue", - "Name" : "Name", - "Application.Name" : "Application Name", - "General" : "General", - "App.Releases" : "Application Releases", - "Package.Manager" : "Package Manager", - "Save" : "Save", - "Create.Release" : "Create Release", - "Release.Channel" : "Release Channel", - "Release" : "Release", - "New.Release.For" : "New Release for", - "Upload.Package.File" : "Upload Package File", - "Upload" : "Upload", - "Select.from.package.library" : "Select from package library", - "Release.Name" : "Release Name", - "Release.Notes" : "Release Notes", - "Send.for.Review" : "Send for Review", - "Production.Releases" : "Production Releases", - "Beta.Releases" : "Beta Releases", - "Alpha.Releases" : "Alpha Releases", - "Version" : "Version", - "Status" : "Status", - "App.Publisher" : "Application Publisher", - "Search.Apps" : "Search for Applications", - "View.In.Store" : "View in Store", - "Last.Updated" : "Last updated on", - "Installs" : "Installs", - "General.Info" : "General Info", - "Select.Platform": "Select Platform", - "Add.Release" : "Add Release to Application", - "Share.With.Tenants" : "Share with Tenants", - "Disable" : "Disable", - "File.Based" : "File Based", - "Activate" : "Activate", - "Yes" : "Yes", - "No" : "No", - "No.Platform.Tags" : "No Platform Tags", - "Create.Platform" : "Create Platform", - "Optional": "Optional", - "Identifier": "Identifier", - "Next": "Next", - "Platform.Enable": "Enable Platform", - "Share.with.Tenants": "Share between all tenants", - "Platform.Properties": "Platform Properties" -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/scss/_mixin.scss b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/scss/_mixin.scss deleted file mode 100644 index 5b40942bef..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/scss/_mixin.scss +++ /dev/null @@ -1,1252 +0,0 @@ -/*! -~ Copyright (c) 2017 WSO2 Inc. (http://wso2.com) All Rights Reserved. -~ -~ Licensed under the Apache License, Version 2.0 (the "License"); -~ you may not use this file except in compliance with the License. -~ You may obtain a copy of the License at -~ -~ http://www.apache.org/licenses/LICENSE-2.0 -~ -~ Unless required by applicable law or agreed to in writing, software -~ distributed under the License is distributed on an "AS IS" BASIS, -~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -~ See the License for the specific language governing permissions and -~ limitations under the License. -*/ - -%icon-base { - &:before { - font-family: "font-wso2"; - -webkit-font-smoothing: antialiased; - } - b { - // hide text - height: 0; - display: block; - text-indent: 100%; - white-space: nowrap; - overflow: hidden; - } -} - -@mixin font-wso2($icon) { - @extend %icon-base; - - - @if ($icon == "abort") { - content:"\e72a"; - } - - @else if ($icon == "action-invoke") { - content:"\e6fe"; - } - - @else if ($icon == "action") { - content:"\e709"; - } - - @else if ($icon == "activate") { - content:"\e6cf"; - } - - @else if ($icon == "add") { - content:"\e615"; - } - - @else if ($icon == "airplay") { - content:"\e600"; - } - - @else if ($icon == "alarm") { - content:"\e6c2"; - } - - @else if ($icon == "alert") { - content:"\e6be"; - } - - @else if ($icon == "analytics-extensions") { - content:"\e6e2"; - } - - @else if ($icon == "android-logcat") { - content:"\e72c"; - } - - @else if ($icon == "android-sense") { - content:"\e72d"; - } - - @else if ($icon == "android") { - content:"\e606"; - } - - @else if ($icon == "annotation") { - content:"\e6e6"; - } - - @else if ($icon == "api") { - content:"\e601"; - } - - @else if ($icon == "apn") { - content:"\e602"; - } - - @else if ($icon == "apple") { - content:"\e604"; - } - - @else if ($icon == "application") { - content:"\e608"; - } - - @else if ($icon == "arduino") { - content:"\e6ab"; - } - - @else if ($icon == "assign") { - content:"\e6ff"; - } - - @else if ($icon == "ballerina-service") { - content:"\e729"; - } - - @else if ($icon == "ballerina") { - content:"\e728"; - } - - @else if ($icon == "bar-chart") { - content:"\e690"; - } - - @else if ($icon == "battery") { - content:"\e60a"; - } - - @else if ($icon == "blank-document") { - content:"\e60c"; - } - - @else if ($icon == "block") { - content:"\e695"; - } - - @else if ($icon == "bookmark") { - content:"\e60d"; - } - - @else if ($icon == "bpel") { - content:"\e60e"; - } - - @else if ($icon == "bpmn") { - content:"\e60f"; - } - - @else if ($icon == "break") { - content:"\e721"; - } - - @else if ($icon == "bug") { - content:"\e611"; - } - - @else if ($icon == "build") { - content:"\e6c1"; - } - - @else if ($icon == "calendar") { - content:"\e612"; - } - - @else if ($icon == "camera") { - content:"\e613"; - } - - @else if ($icon == "cancel") { - content:"\e618"; - } - - @else if ($icon == "carbon") { - content:"\e6c5"; - } - - @else if ($icon == "chat") { - content:"\e65b"; - } - - @else if ($icon == "check") { - content:"\e617"; - } - - @else if ($icon == "checklist") { - content:"\e619"; - } - - @else if ($icon == "circle-outline") { - content:"\e61f"; - } - - @else if ($icon == "circle") { - content:"\e61a"; - } - - @else if ($icon == "clear") { - content:"\e61b"; - } - - @else if ($icon == "clock") { - content:"\e61d"; - } - - @else if ($icon == "cloud") { - content:"\e61e"; - } - - @else if ($icon == "code-view") { - content:"\e70e"; - } - - @else if ($icon == "code") { - content:"\e6f1"; - } - - @else if ($icon == "comment") { - content:"\e710"; - } - - @else if ($icon == "compare") { - content:"\e610"; - } - - @else if ($icon == "computer") { - content:"\e653"; - } - - @else if ($icon == "configarations") { - content:"\e609"; - } - - @else if ($icon == "connector") { - content:"\e700"; - } - - @else if ($icon == "console") { - content:"\e71d"; - } - - @else if ($icon == "constant") { - content:"\e701"; - } - - @else if ($icon == "contact") { - content:"\e620"; - } - - @else if ($icon == "contract") { - content:"\e614"; - } - - @else if ($icon == "copy") { - content:"\e621"; - } - - @else if ($icon == "cut") { - content:"\e6f2"; - } - - @else if ($icon == "dashboard") { - content:"\e622"; - } - - @else if ($icon == "database") { - content:"\e623"; - } - - @else if ($icon == "delete") { - content:"\e624"; - } - - @else if ($icon == "depend") { - content:"\e6c6"; - } - - @else if ($icon == "deploy") { - content:"\e625"; - } - - @else if ($icon == "deprecate") { - content:"\e6cb"; - } - - @else if ($icon == "design-view") { - content:"\e70f"; - } - - @else if ($icon == "devices") { - content:"\e704"; - } - - @else if ($icon == "dgm-action-invoke") { - content:"\e712"; - } - - @else if ($icon == "dgm-action") { - content:"\e711"; - } - - @else if ($icon == "dgm-connector") { - content:"\e6f4"; - } - - @else if ($icon == "dgm-constant-definition") { - content:"\e6f5"; - } - - @else if ($icon == "dgm-fork") { - content:"\e6e7"; - } - - @else if ($icon == "dgm-header") { - content:"\e6e8"; - } - - @else if ($icon == "dgm-if-else") { - content:"\e6e9"; - } - - @else if ($icon == "dgm-import") { - content:"\e717"; - } - - @else if ($icon == "dgm-lifeline") { - content:"\e6ea"; - } - - @else if ($icon == "dgm-logger") { - content:"\e6eb"; - } - - @else if ($icon == "dgm-resource") { - content:"\e6f6"; - } - - @else if ($icon == "dgm-service") { - content:"\e6f7"; - } - - @else if ($icon == "dgm-try-catch") { - content:"\e6ec"; - } - - @else if ($icon == "dgm-type-convertor") { - content:"\e6f8"; - } - - @else if ($icon == "dgm-type") { - content:"\e6f9"; - } - - @else if ($icon == "dgm-while") { - content:"\e707"; - } - - @else if ($icon == "dial-up") { - content:"\e627"; - } - - @else if ($icon == "disabled") { - content:"\e6d1"; - } - - @else if ($icon == "display") { - content:"\e626"; - } - - @else if ($icon == "docker") { - content:"\e70c"; - } - - @else if ($icon == "document") { - content:"\e628"; - } - - @else if ($icon == "down-arrow") { - content:"\e689"; - } - - @else if ($icon == "down") { - content:"\e685"; - } - - @else if ($icon == "download") { - content:"\e65f"; - } - - @else if ($icon == "dss") { - content:"\e62a"; - } - - @else if ($icon == "ebook") { - content:"\e62b"; - } - - @else if ($icon == "edit") { - content:"\e62c"; - } - - @else if ($icon == "ellipsis") { - content:"\e629"; - } - - @else if ($icon == "endpoint") { - content:"\e62d"; - } - - @else if ($icon == "enterprise") { - content:"\e6b6"; - } - - @else if ($icon == "error") { - content:"\e630"; - } - - @else if ($icon == "esb-connector") { - content:"\e6e3"; - } - - @else if ($icon == "expand") { - content:"\e61c"; - } - - @else if ($icon == "export") { - content:"\e631"; - } - - @else if ($icon == "extensions") { - content:"\e6e4"; - } - - @else if ($icon == "facebook") { - content:"\e6d3"; - } - - @else if ($icon == "factory-reset") { - content:"\e632"; - } - - @else if ($icon == "fan") { - content:"\e678"; - } - - @else if ($icon == "faq") { - content:"\e62f"; - } - - @else if ($icon == "file-browse") { - content:"\e633"; - } - - @else if ($icon == "filter") { - content:"\e634"; - } - - @else if ($icon == "folder-open") { - content:"\e70b"; - } - - @else if ($icon == "folder") { - content:"\e62e"; - } - - @else if ($icon == "fork-join") { - content:"\e720"; - } - - @else if ($icon == "format") { - content:"\e6fa"; - } - - @else if ($icon == "forum") { - content:"\e636"; - } - - @else if ($icon == "function-invoke") { - content:"\e713"; - } - - @else if ($icon == "function") { - content:"\e6fb"; - } - - @else if ($icon == "gadget") { - content:"\e637"; - } - - @else if ($icon == "geo-fence-inbound") { - content:"\e72e"; - } - - @else if ($icon == "geo-fence-outbound") { - content:"\e72f"; - } - - @else if ($icon == "github") { - content:"\e6d4"; - } - - @else if ($icon == "globe") { - content:"\e697"; - } - - @else if ($icon == "google-docs") { - content:"\e6d6"; - } - - @else if ($icon == "google-drive") { - content:"\e6da"; - } - - @else if ($icon == "google-plus") { - content:"\e6d9"; - } - - @else if ($icon == "google-sheets") { - content:"\e6d7"; - } - - @else if ($icon == "google-slides") { - content:"\e6d8"; - } - - @else if ($icon == "google") { - content:"\e6d5"; - } - - @else if ($icon == "grid") { - content:"\e638"; - } - - @else if ($icon == "grip") { - content:"\e6b7"; - } - - @else if ($icon == "group") { - content:"\e6af"; - } - - @else if ($icon == "hardware") { - content:"\e6a9"; - } - - @else if ($icon == "hdd") { - content:"\e639"; - } - - @else if ($icon == "heart") { - content:"\e6c3"; - } - - @else if ($icon == "hide") { - content:"\e6d2"; - } - - @else if ($icon == "home") { - content:"\e63a"; - } - - @else if ($icon == "hour-glass") { - content:"\e63b"; - } - - @else if ($icon == "html") { - content:"\e69d"; - } - - @else if ($icon == "http") { - content:"\e705"; - } - - @else if ($icon == "image") { - content:"\e70a"; - } - - @else if ($icon == "import") { - content:"\e63c"; - } - - @else if ($icon == "incoming-call") { - content:"\e63d"; - } - - @else if ($icon == "info") { - content:"\e63e"; - } - - @else if ($icon == "instagram") { - content:"\e6db"; - } - - @else if ($icon == "invitation") { - content:"\e63f"; - } - - @else if ($icon == "invoke") { - content:"\e6ed"; - } - - @else if ($icon == "is-connector") { - content:"\e6e5"; - } - - @else if ($icon == "iterate") { - content:"\e71f"; - } - - @else if ($icon == "jaggery") { - content:"\e640"; - } - - @else if ($icon == "java-spring") { - content:"\e644"; - } - - @else if ($icon == "java") { - content:"\e641"; - } - - @else if ($icon == "javaee") { - content:"\e642"; - } - - @else if ($icon == "javascript") { - content:"\e643"; - } - - @else if ($icon == "jaxrs") { - content:"\e645"; - } - - @else if ($icon == "jaxws") { - content:"\e6c7"; - } - - @else if ($icon == "jquery") { - content:"\e646"; - } - - @else if ($icon == "key") { - content:"\e647"; - } - - @else if ($icon == "laptop") { - content:"\e648"; - } - - @else if ($icon == "layout") { - content:"\e6bf"; - } - - @else if ($icon == "ldap") { - content:"\e649"; - } - - @else if ($icon == "left-arrow") { - content:"\e68a"; - } - - @else if ($icon == "left") { - content:"\e686"; - } - - @else if ($icon == "lifecycle") { - content:"\e64a"; - } - - @else if ($icon == "light") { - content:"\e680"; - } - - @else if ($icon == "linkedin") { - content:"\e6dc"; - } - - @else if ($icon == "list-sort") { - content:"\e64d"; - } - - @else if ($icon == "list") { - content:"\e64c"; - } - - @else if ($icon == "loader") { - content:"\e6b4"; - } - - @else if ($icon == "loader2") { - content:"\e6ba"; - } - - @else if ($icon == "loader3") { - content:"\e6bb"; - } - - @else if ($icon == "loader4") { - content:"\e6bc"; - } - - @else if ($icon == "loader5") { - content:"\e6bd"; - } - - @else if ($icon == "lock") { - content:"\e64e"; - } - - @else if ($icon == "logical") { - content:"\e702"; - } - - @else if ($icon == "mail") { - content:"\e64f"; - } - - @else if ($icon == "main-function") { - content:"\e706"; - } - - @else if ($icon == "map-location") { - content:"\e650"; - } - - @else if ($icon == "menu") { - content:"\e651"; - } - - @else if ($icon == "message") { - content:"\e635"; - } - - @else if ($icon == "micro-services") { - content:"\e6ce"; - } - - @else if ($icon == "minus") { - content:"\e616"; - } - - @else if ($icon == "mobile") { - content:"\e652"; - } - - @else if ($icon == "ms-document") { - content:"\e654"; - } - - @else if ($icon == "mute") { - content:"\e655"; - } - - @else if ($icon == "nodejs") { - content:"\e656"; - } - - @else if ($icon == "notification") { - content:"\e60b"; - } - - @else if ($icon == "organization") { - content:"\e6ac"; - } - - @else if ($icon == "own") { - content:"\e6c8"; - } - - @else if ($icon == "package") { - content:"\e6fd"; - } - - @else if ($icon == "pages") { - content:"\e6c0"; - } - - @else if ($icon == "paste") { - content:"\e658"; - } - - @else if ($icon == "pdf") { - content:"\e659"; - } - - @else if ($icon == "pending") { - content:"\e727"; - } - - @else if ($icon == "php") { - content:"\e6c9"; - } - - @else if ($icon == "pie-chart") { - content:"\e65a"; - } - - @else if ($icon == "pinterest") { - content:"\e6dd"; - } - - @else if ($icon == "policy") { - content:"\e67d"; - } - - @else if ($icon == "polygon") { - content:"\e70d"; - } - - @else if ($icon == "prototype") { - content:"\e6cc"; - } - - @else if ($icon == "proxy") { - content:"\e699"; - } - - @else if ($icon == "public") { - content:"\e6ad"; - } - - @else if ($icon == "publish") { - content:"\e65c"; - } - - @else if ($icon == "question") { - content:"\e6b0"; - } - - @else if ($icon == "raspberry") { - content:"\e6aa"; - } - - @else if ($icon == "redo") { - content:"\e65d"; - } - - @else if ($icon == "refresh") { - content:"\e692"; - } - - @else if ($icon == "register") { - content:"\e65e"; - } - - @else if ($icon == "rename") { - content:"\e6fc"; - } - - @else if ($icon == "reply") { - content:"\e714"; - } - - @else if ($icon == "resource") { - content:"\e660"; - } - - @else if ($icon == "rest-api") { - content:"\e661"; - } - - @else if ($icon == "rest-service") { - content:"\e662"; - } - - @else if ($icon == "resume") { - content:"\e71e"; - } - - @else if ($icon == "retire") { - content:"\e6cd"; - } - - @else if ($icon == "return") { - content:"\e715"; - } - - @else if ($icon == "retweet") { - content:"\e6b9"; - } - - @else if ($icon == "right-arrow") { - content:"\e68b"; - } - - @else if ($icon == "right") { - content:"\e687"; - } - - @else if ($icon == "ringing") { - content:"\e694"; - } - - @else if ($icon == "rules") { - content:"\e664"; - } - - @else if ($icon == "run") { - content:"\e708"; - } - - @else if ($icon == "save") { - content:"\e665"; - } - - @else if ($icon == "scep") { - content:"\e666"; - } - - @else if ($icon == "schema") { - content:"\e667"; - } - - @else if ($icon == "search") { - content:"\e668"; - } - - @else if ($icon == "security-policy") { - content:"\e67e"; - } - - @else if ($icon == "security") { - content:"\e669"; - } - - @else if ($icon == "send") { - content:"\e66a"; - } - - @else if ($icon == "sequence") { - content:"\e66b"; - } - - @else if ($icon == "server") { - content:"\e66c"; - } - - @else if ($icon == "service-provider") { - content:"\e66e"; - } - - @else if ($icon == "service") { - content:"\e66d"; - } - - @else if ($icon == "settings") { - content:"\e66f"; - } - - @else if ($icon == "share") { - content:"\e670"; - } - - @else if ($icon == "shell") { - content:"\e730"; - } - - @else if ($icon == "shortcut") { - content:"\e725"; - } - - @else if ($icon == "sign-in") { - content:"\e671"; - } - - @else if ($icon == "sign-out") { - content:"\e6b8"; - } - - @else if ($icon == "skype") { - content:"\e6de"; - } - - @else if ($icon == "slash") { - content:"\e6e1"; - } - - @else if ($icon == "soap") { - content:"\e672"; - } - - @else if ($icon == "sort-down") { - content:"\e663"; - } - - @else if ($icon == "sort-up") { - content:"\e64b"; - } - - @else if ($icon == "sort") { - content:"\e673"; - } - - @else if ($icon == "speed-alert") { - content:"\e731"; - } - - @else if ($icon == "square-outline") { - content:"\e6b2"; - } - - @else if ($icon == "square") { - content:"\e6b1"; - } - - @else if ($icon == "star") { - content:"\e674"; - } - - @else if ($icon == "start") { - content:"\e718"; - } - - @else if ($icon == "statistics") { - content:"\e675"; - } - - @else if ($icon == "stepin") { - content:"\e719"; - } - - @else if ($icon == "stepout") { - content:"\e71a"; - } - - @else if ($icon == "stepover") { - content:"\e71b"; - } - - @else if ($icon == "stop") { - content:"\e71c"; - } - - @else if ($icon == "store") { - content:"\e676"; - } - - @else if ($icon == "struct") { - content:"\e716"; - } - - @else if ($icon == "subscribe") { - content:"\e677"; - } - - @else if ($icon == "success") { - content:"\e657"; - } - - @else if ($icon == "swagger") { - content:"\e679"; - } - - @else if ($icon == "sync") { - content:"\e6b3"; - } - - @else if ($icon == "table") { - content:"\e6c4"; - } - - @else if ($icon == "tag") { - content:"\e67a"; - } - - @else if ($icon == "task") { - content:"\e67b"; - } - - @else if ($icon == "text") { - content:"\e67c"; - } - - @else if ($icon == "theme") { - content:"\e726"; - } - - @else if ($icon == "throttling-policy") { - content:"\e67f"; - } - - @else if ($icon == "throw") { - content:"\e722"; - } - - @else if ($icon == "tiles") { - content:"\e681"; - } - - @else if ($icon == "transaction") { - content:"\e72b"; - } - - @else if ($icon == "try-catch") { - content:"\e703"; - } - - @else if ($icon == "twitter") { - content:"\e6df"; - } - - @else if ($icon == "type-converter") { - content:"\e6f3"; - } - - @else if ($icon == "uncheck") { - content:"\e682"; - } - - @else if ($icon == "undo") { - content:"\e683"; - } - - @else if ($icon == "ungroup") { - content:"\e6b5"; - } - - @else if ($icon == "unmute") { - content:"\e6ae"; - } - - @else if ($icon == "up-arrow") { - content:"\e688"; - } - - @else if ($icon == "up") { - content:"\e684"; - } - - @else if ($icon == "upload") { - content:"\e68c"; - } - - @else if ($icon == "uri") { - content:"\e68d"; - } - - @else if ($icon == "usb-drive") { - content:"\e68e"; - } - - @else if ($icon == "use") { - content:"\e6ca"; - } - - @else if ($icon == "user") { - content:"\e68f"; - } - - @else if ($icon == "variable") { - content:"\e6ee"; - } - - @else if ($icon == "view") { - content:"\e691"; - } - - @else if ($icon == "vpn") { - content:"\e603"; - } - - @else if ($icon == "wadl") { - content:"\e6a1"; - } - - @else if ($icon == "war") { - content:"\e69e"; - } - - @else if ($icon == "warning") { - content:"\e693"; - } - - @else if ($icon == "web-app") { - content:"\e696"; - } - - @else if ($icon == "web-clip") { - content:"\e698"; - } - - @else if ($icon == "web-service") { - content:"\e69a"; - } - - @else if ($icon == "website") { - content:"\e69b"; - } - - @else if ($icon == "wifi") { - content:"\e607"; - } - - @else if ($icon == "windows") { - content:"\e605"; - } - - @else if ($icon == "worker-invoke") { - content:"\e723"; - } - - @else if ($icon == "worker-reply") { - content:"\e724"; - } - - @else if ($icon == "worker") { - content:"\e6ef"; - } - - @else if ($icon == "wsdl") { - content:"\e6a0"; - } - - @else if ($icon == "wso2-logo") { - content:"\e6a7"; - } - - @else if ($icon == "wso2") { - content:"\e6a8"; - } - - @else if ($icon == "xacml") { - content:"\e69f"; - } - - @else if ($icon == "xml") { - content:"\e69c"; - } - - @else if ($icon == "xq") { - content:"\e6a2"; - } - - @else if ($icon == "xsd") { - content:"\e6a3"; - } - - @else if ($icon == "xslt") { - content:"\e6a4"; - } - - @else if ($icon == "youtube") { - content:"\e6e0"; - } - - @else if ($icon == "zoom-in") { - content:"\e6a5"; - } - - @else if ($icon == "zoom-out") { - content:"\e6a6"; - } - -} \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/themes/default/default-theme.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/themes/default/default-theme.css deleted file mode 100644 index 32cb3c22b9..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/themes/default/default-theme.css +++ /dev/null @@ -1,903 +0,0 @@ -/* - * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. - * - * WSO2 Inc. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -@font-face { - font-family: "Roboto-Medium"; - src: url('../../fonts/Roboto-Medium.woff'); - src: local("Roboto-Medium"), url("../../fonts/Roboto-Medium.ttf") format("ttf"); - src: local("Roboto-Medium"), url("../../fonts/Roboto-Medium.woff") format("woff"); - src: local("Roboto-Medium"), url("../../fonts/Roboto-Medium.woff2") format("woff2"); -} - -@font-face { - font-family: "Roboto-Regular"; - src: url("../../fonts/Roboto-Regular.woff"); - src: local("Roboto-Regular"), url("../../fonts/Roboto-Regular.ttf") format("ttf"); - src: local("Roboto-Regular"), url("../../fonts/Roboto-Regular.woff") format("woff"); - src: local("Roboto-Regular"), url("../../fonts/Roboto-Regular.woff2") format("woff2"); -} - -/*Colors*/ -.primary { - color: white; - background-color: #2196f3 !important; -} - -.primary-flat { - color: #2196F3 !important; -} - -.danger { - color: white; - background-color: #e91e63 !important; -} - -.danger-flat { - color: #e91e63 !important; -} - -.grey { - color: #b3b3b3 !important; -} - -/* ==================================================================== */ -/* Custom button styles based on material design specs. */ - -.custom-raised { - font-family: Roboto-Medium; - text-transform: uppercase !important; - font-size: 14px !important; - padding-left: 16px !important; - border-radius: 2px !important; - padding-right: 16px !important; - height: 36px !important; - border: none !important; -} - -.custom-raised:hover { - cursor: pointer; - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08) !important; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08) !important; - background-color: #1976D2 !important; -} - -.custom-raised:focus { - box-shadow: none !important; - -webkit-box-shadow: none !important; - background-color: #1976D2 !important; -} - -.custom-flat { - font-family: Roboto-Medium; - height: 36px !important; - border-radius: 2px !important; - margin-left: 8px !important; - margin-right: 8px !important; - padding-left: 8px !important; - padding-right: 8px !important; - background-color: transparent !important; - text-transform: uppercase; - outline: none !important; - border: none !important; -} - -.custom-flat:hover { - cursor: pointer; - background-color: rgba(0, 0, 0, 0.12) !important; -} - -.custom-flat:focus { - outline: none !important; - border: none !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - background-color: rgba(0, 0, 0, 0.40) !important; -} - -.circle-button { - border-radius: 100% !important; - height: 36px !important; - width: 36px; -} - -/* ==================================================================== */ - -/* Body Styling */ -body { - width: 100%; - font-family: "Roboto-Regular" !important; - font-size: 14px !important; - background-color: #e8e8e8 !important; -} - -.app-manager-title { - font-family: "Roboto-Medium"; - font-size: 20px; -} - -.app-manager-sub-title { - font-family: "Roboto-Regular"; - font-size: 18px; -} - -#app-mgt-footer { - clear: both; - position: relative; - height: 50px; - width: 100%; - color: white; - background-color: #334d88; -} - -/* Login page styles*/ -#userName { - border-radius: 0; -} - -#password { - border-radius: 0; -} - -.login-btn { - float: right; -} - -.login-header { - background-color: #3f50b5; - color: white; - height: 128px; - width: 100%; - margin: 0 !important; - padding: 20px; - box-shadow: -2px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} - -#login-card { - width: 25%; - height: 50%; - margin: 10% auto; - font-family: Roboto-Regular; - font-size: 14px; - border-radius: 0; - background-color: #ffffff; - box-shadow: -2px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} - -.login-header-title { - font-family: Roboto-Medium; - font-size: 20px; - font-weight: 500; -} - -.login-header-logo { - height: 70px; - width: 150px; -} - -.login-form { - margin: 0 !important; - padding: 40px; -} - -/* Base layout container */ - -/* Base layout header content*/ -.header-content { - height: 128px !important; - width: 100% !important; - margin: 0 10px 0 0; - background-color: #3f50b5 !important; - position: fixed; /* Set the navbar to fixed position */ - top: 0; /* Position the navbar at the top of the page */ - z-index: 2; - box-shadow: -2px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} - -/* Contains the header styles.*/ -.header { - padding: 24px 24px 10px 24px; - /*margin: 16px 16px 20px 16px;*/ - position: relative; -} - -#header-text { - color: #ffffff; - font-size: 20px; - font-family: Roboto-Medium; - top: 10px; - margin-left: 10px; -} - -/* The buttons in the header (User and Notification)*/ -.header-button-container { - display: flex; - justify-content: flex-end; -} - -.header-user-name { - font-family: Roboto-Medium; - font-size: 14px; - padding-top: 15px; - color: white; -} - -.header-image { - height: 43px; - width: 100px; - margin-right: 24px; -} - -#header-button { - border-radius: 50%; - background-color: transparent; - border: none; - height: 50px; - width: 50px; - margin-right: 10px; - position: relative; - outline: none; -} - -#header-button:hover { - background-color: #4353bd; - cursor: pointer; -} - -#header-button i { - position: absolute; - bottom: 19px; - left: 17px; -} - -.btn-header { - margin-top: 15px; - margin-right: 20px; - color: white; -} - -#sub-title { - font-family: Roboto-Regular; - font-size: 18px; - font-weight: 600; - padding-top: 5px; - padding-left: 18px; - color: RGBA(0, 0, 0, 1); -} - -/* Search box styles */ -.search-box { - display: flex; - float: right; -} - -.search-box i { - position: absolute; - top: 5px; - color: #BaBaBa; -} - -#search { - position: relative; - color: white; - background-color: transparent; - left: 15px; - top: 0px; - height: 25px; - outline: none; - border: none; - border-radius: 0%; -} - -/* Application Add button */ -#add-btn-container { - position: absolute; - top: 98px; -} - -.add-btn { - background-color: #ff5722; -} - -.add-btn:hover { - background-color: #E64A19; -} - -#sub-title-container { - height: 100px; - padding: 50px 0 20px 0; -} - -.application-container { - padding: 0 !important; - min-height: 100% !important; - margin-top: 128px !important; -} - -/* Holds the app publisher pages. */ -.publisher-card { - height: auto; - background-color: white; - box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); - padding: 24px; -} - -.platform-link-placeholder { - color: #888888; - float: right; - padding-bottom: 10px; -} - -.platform-link-placeholder i { - margin-right: 4px; -} - -.application-list { - transition: margin-right .5s; -} - -#batch-content { - display: flex; - margin-top: 5px; -} - -.app-list-icon { - border-radius: 50%; - height: 50px; - width: 50px -} - -.app-table-row { - height: 62px; - cursor: pointer; - padding-top: 6px; - font-family: "Roboto-Regular"; - font-size: medium; -} - -.app-table-row:hover { - color: white; - background-color: #3f50b5; -} - -.app-list-table-header { - margin-top: 30px; - margin-bottom: 10px; - font-family: "Roboto-Medium"; - font-size: 15px; -} - -.app-view-image { - height: 100px; - width: 100px; - border-radius: 50%; -} - -#app-visibility-default { - display: none; -} - -#app-image-screenshot { - width: 300px; - height: 300px; -} - -#app-image-icon { - width: 300px; - height: 300px; -} - -#app-image-banner { - width: 400px; - height: 300px; -} - -#form-error { - color: red; -} - -.application-create-banner-dropzone { - width: 300px; - height: 150px; - border-radius: 5%; - position: relative; - border: dashed #888888 2px; -} - -.application-create-banner-dropzone i { - position: absolute; - top: 65px; - left: 145px; -} - -.application-create-screenshot-dropzone { - width: 150px; - height: 150px; - margin: 0 5px 0 5px; - border-radius: 10%; - position: relative; - border: dashed #888888 2px; -} - -.application-create-screenshot-dropzone i { - position: absolute; - top: 65px; - left: 65px; -} - -.application-create-icon-dropzone { - width: 150px; - height: 150px; - border-radius: 10%; - position: relative; - border: dashed #888888 2px; -} - -.application-create-icon-dropzone i { - position: absolute; - top: 65px; - left: 65px; -} - -#screenshot-container { - max-width: 600px; - display: flex; - overflow-x: auto; - height: 200px; -} - -#app-icon-container { - height: 300px; - overflow-x: auto; -} - -#modal-body-content { - max-height: 700px; - padding-left: 24px; - overflow-y: auto; -} - -.custom-footer { - justify-content: inherit !important; - margin: 0 !important; -} - -.footer-main-btn { - display: flex; - justify-content: flex-end; -} - -#img-btn-screenshot { - margin: 0 5px 0 5px; -} - -#app-create-modal { - max-width: 850px; - border-radius: 0% !important; -} - -.app-create-modal-header { - background-color: #4353bd; - color: white; - padding: 24px !important; -} - -.app-create-modal-content { - padding: 0 !important; -} - -#store { - border: none; - border-bottom: solid #BDBDBD 1px; - border-radius: 0px; - width: 200px; -} - -#version { - border: none; - border-bottom: solid #BDBDBD 1px; - border-radius: 0px; - width: 200px; -} - -#app-release-switch-content { - display: flex; -} - -#app-release-switch-label { - position: absolute; - float: left; -} - -#app-release-switch { - position: absolute; - right: 10px; -} - -.image-sub-title { - font-style: italic; - font-size: 12px; - color: #818181; -} - -/* Application View */ - -#application-view-content { - width: 100%; -} - -#application-view-row { - margin: 10px 10px 0 20px; -} - -#app-icon { - height: 100px; - width: 100px; - border: solid 1px black; - border-radius: 50%; -} - -.app-updated-date { - color: #888888; -} - -.app-install-count { - font-style: italic; -} - -.app-details-tbl { - outline: none; - border-color: #2196F3; -} - -.app-details-tbl tr { - margin: 20px 0 0 0; -} - -.app-details-tbl td { - margin-left: 10px; - max-width: 400px; -} - -/* Application Edit Base Layout */ - -#application-edit-header { - height: 40px; - width: 100%; - margin-top: 20px; - margin-bottom: 20px; - font-size: 25px; -} - -.application-header-text { - margin: 10px 0px 0px 10px; -} - -#save-btn-content { - float: right; - -} - -#app-save-btn { - border-radius: 0%; -} - -.save-btn { - margin: 5px 5px 5px 0px; - height: 70%; - width: 50%; - float: right; -} - -.save-btn:hover { - cursor: pointer; -} - -/*Tab styling*/ - -div.tab { - float: left; - border-right: 1px solid #d8d8d8; - height: 100%; -} - -/* Style the tab buttons */ - -div.tab button { - display: block; - background-color: inherit; - color: black; - padding: 15px 16px; - width: 100%; - border: none; - outline: none; - text-align: left; - cursor: pointer; - transition: 0.3s; -} - -/* Change background color of buttons on hover */ - -div.tab button:hover { - background-color: #ddd6d7; - cursor: pointer; -} - -/* Create an active/current "tab button" class */ - -div.tab button.active { - background-color: #1b3bcc; - color: white; -} - -#application-edit-main-container { - display: flex; -} - -#application-edit-outer-content { - height: auto; -} - -#app-edit-content { - height: 100%; - position: relative; -} - -.back-to-app { - position: absolute; - height: 50px; - width: 50px; - border-radius: 50%; -} - -.back-to-app i { - padding: 12px 10px 10px 12px; -} - -.back-to-app:hover { - cursor: pointer; - background-color: #dedede; - transition: .5s; -} - -/* Create Release and Release management */ - -.release-header { - margin-top: 20px; - margin-bottom: 20px; -} - -.release-create { - height: 150px; - margin-bottom: 20px; -} - -.release-detail-content { - width: 100%; - margin-top: 20%; - height: 300px; -} - -.form-btn { - float: right; - margin-bottom: 10px; -} - -.release-content { - height: 180px; - width: 95%; - border: dashed 1px #626262; - border-radius: 2%; - position: relative; - background-color: #e8e8e8; -} - -.release-content:after { - content: ""; - letter-spacing: 4px; -} - -.release { - margin: 30px 10px 20px 30px; -} - -.no-release-content { - position: absolute; - margin-top: 10px; - left: 40%; -} - -.button-add:hover { - cursor: pointer; -} - -.release-inner { - margin-top: 5%; -} - -/* Application Edit General Info */ - -.app-edit-general-info { - margin-top: 20px; - max-width: 100%; -} - -.save-info { - float: right; - margin-bottom: 10px; -} - -.app-view-field { - font-family: Roboto-Medium; - font-size: 14px; -} - -.app-view-text { - font-family: Roboto-Regular; - font-size: 14px; -} - -/* Platform Specific Styles. */ -#platform-listing { - margin: 10px; -} - -.create-platform i { - margin-right: 10px; -} - -#platform-list { - margin-top: 20px; - display: flex; - flex-flow: wrap; -} - -.platform-content { - margin: 10px; - padding-top: 16px; - box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} - -.platform-content .row { - margin: 0; -} - -.platform-content .col { - padding: 0; -} - -.platform-content-basic { - padding: 0 16px 0 16px; - display: flex; -} - -.platform-content-more-outer { - -} - -.platform-content-more { - padding: 16px 16px 24px 16px; -} - -.platform-content-footer { - display: flex; - padding: 8px 8px 8px 8px; -} - -.platform-text-container { - padding: 8px 16px 0 16px; -} - -.circle-button { - float: right; -} - -.platform-icon-letter { - text-align: center; - text-transform: uppercase; - font-family: Roboto-Medium; - font-size: 70px; - color: white; - padding-top: 15px; -} - -.platform-icon-container { - height: 120px; - width: 120px; - background-color: #01579B; - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08) !important; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08) !important; -} - -.platform-property-container { - padding-top: 20px; - font-family: Roboto-Regular; - font-size: 14px; -} - -.platform-property-row { - align-items: center; -} - -.circle-btn-clear { - background-color: white !important; - color: rgba(0, 0, 0, 0.50) !important; -} - -.circle-btn-clear:hover { - background-color: white !important; - color: rgba(0, 0, 0, 0.38) !important; -} - -.circle-btn-clear:focus { - background-color: white !important; - color: rgba(0, 0, 0, 0.60) !important; -} - -.data-table-row-cell { - padding-top: 14px; -} - -.error-code { - text-align: center; - font-family: Roboto-Medium; - font-weight: 800; - font-size: 15em; - color: #BaBaBa; -} - -.error-code p { - -} - -.error-text { - text-align: center; - font-family: Roboto-Regular; - font-size: 14px; - font-weight: 500; - color: #9e9e9e; -} - -.circle-btn-add { - background-color: #bababa !important; - border-radius: 50% !important; - height: 30px !important; - width: 30px; - text-align: -webkit-center; - font-size: 18px; - padding: 6px !important; -} - -.circle-btn-add:hover { - background-color: #828282 !important; -} - -/** - If you need to change the color of active steps in stepper, - uncomment the following and set the background color and font color as needed. -*/ -/* -.stepper-active-index { - background-color: #0a6eff !important; - color: white !important; -} - -.stepper-passed-index { - background-color: #0a6eff !important; - color: green !important; -} -*/ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/server/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/server/index.js deleted file mode 100644 index 1f8cf6c4d7..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/server/index.js +++ /dev/null @@ -1,17 +0,0 @@ -const express = require('express'); -const bodyParser = require('body-parser'); -const pino = require('express-pino-logger')(); - -const app = express(); -app.use(bodyParser.urlencoded({ extended: false })); -app.use(pino); - -app.get('/api/greeting', (req, res) => { - const name = req.query.name || 'World'; -res.setHeader('Content-Type', 'application/json'); -res.send(JSON.stringify({ greeting: `Hello ${name}!` })); -}); - -app.listen(3001, () => -console.log('Express server is running on localhost:3001') -); \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css deleted file mode 100644 index d52de9d8dc..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -.ant-upload.ant-upload-drag { - height: 170px; -} - -.release .release-icon{ - margin-right: 15px; -} - -.release .release-icon img{ - width: 100%; - border-radius: 28%; -} - -.release .release-title{ - margin-left: 15px; -} - -.release .release-screenshot img{ - height:450px; - border-radius: 25px; - padding: 15px; -} - -.release .release-images{ - overflow-x: auto; - overflow-y: hidden; -} - -.release .release-images::-webkit-scrollbar-track{ - -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); - background-color: #F5F5F5; - border-radius: 10px; -} - -.release .release-images::-webkit-scrollbar{ - height: 8px; - background-color: #F5F5F5; -} - -.release .release-images::-webkit-scrollbar-thumb{ - background-color: #aaaaaa; - border-radius: 10px; -} - -.release .release-screenshot{ - display: table-cell; -} - -.main-container{ - background: #f0f2f5; - min-height: 780px -} - -@media only screen and (min-width: 768px) { - - .main-container{ - padding: 24px; - } - -} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js deleted file mode 100644 index 33332fc89e..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js +++ /dev/null @@ -1,224 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import 'antd/dist/antd.less'; -import RouteWithSubRoutes from './components/RouteWithSubRoutes'; -import { BrowserRouter as Router, Redirect, Switch } from 'react-router-dom'; -import axios from 'axios'; -import { Layout, Spin, Result } from 'antd'; -import ConfigContext from './components/ConfigContext'; -import { getUiConfig } from './services/utils/uiConfigHandler'; - -const { Content } = Layout; -const loadingView = ( - - - - - -); - -const errorView = ( - -); - -class App extends React.Component { - constructor(props) { - super(props); - this.state = { - loading: true, - error: false, - config: {}, - }; - } - - componentDidMount() { - this.updateFavicon(); - axios - .get(window.location.origin + '/publisher/public/conf/config.json') - .then(res => { - const config = res.data; - this.checkUserLoggedIn(config); - }) - .catch(error => { - this.setState({ - loading: false, - error: true, - }); - }); - } - - getAndroidEnterpriseToken = config => { - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - '/device-mgt/android/v1.0/enterprise/store-url?approveApps=true' + - '&searchEnabled=true&isPrivateAppsEnabled=true&isWebAppEnabled=true&isOrganizeAppPageVisible=true&isManagedConfigEnabled=true' + - '&host=' + - window.location.origin, - ) - .then(res => { - config.androidEnterpriseToken = res.data.data.token; - this.setState({ - loading: false, - config: config, - }); - }) - .catch(error => { - config.androidEnterpriseToken = null; - this.setState({ - loading: false, - config: config, - }); - }); - }; - - checkUserLoggedIn = config => { - axios - .post( - window.location.origin + - config.serverConfig.invoker.contextPath + - '/user', - ) - .then(res => { - config.user = { - username: res.data.data, - }; - const pageURL = window.location.pathname; - const lastURLSegment = pageURL.substr(pageURL.lastIndexOf('/') + 1); - if (lastURLSegment === 'login') { - window.location.href = window.location.origin + '/publisher/'; - } else { - this.getUserPermissions(config); - } - }) - .catch(error => { - this.handleApiError(error, config); - }); - }; - - updateFavicon = () => { - const link = - document.querySelector("link[rel*='icon']") || - document.createElement('link'); - link.type = 'image/x-icon'; - link.rel = 'shortcut icon'; - link.href = - window.location.origin + - '/devicemgt/public/uuf.unit.favicon/img/favicon.png'; - document.getElementsByTagName('head')[0].appendChild(link); - }; - - getUserPermissions = config => { - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.deviceMgt + - '/users/current-user/permissions', - ) - .then(res => { - config.user.permissions = res.data.data.permissions; - this.getAndroidEnterpriseToken(config); - }) - .catch(error => { - this.handleApiError(error, config); - }); - }; - - handleApiError = (error, config) => { - if (error.hasOwnProperty('response') && error.response.status === 401) { - const redirectUrl = encodeURI(window.location.href); - const pageURL = window.location.pathname; - const lastURLSegment = pageURL.substr(pageURL.lastIndexOf('/') + 1); - getUiConfig(config).then(uiConfig => { - if (uiConfig !== undefined) { - if (uiConfig.isSsoEnable) { - window.location = - window.location.origin + - config.serverConfig.ssoLoginUri + - '?redirect=' + - window.location.origin + - pageURL; - } else if (lastURLSegment !== 'login') { - window.location.href = - window.location.origin + - `/${config.appName}/login?redirect=${redirectUrl}`; - } else { - this.getAndroidEnterpriseToken(config); - } - } else { - this.setState({ - loading: false, - error: true, - }); - } - }); - } else { - this.setState({ - loading: false, - error: true, - }); - } - }; - - render() { - const { loading, error } = this.state; - - const applicationView = ( - - -
- - - {this.props.routes.map(route => ( - - ))} - -
-
-
- ); - - return ( -
- {loading && loadingView} - {!loading && !error && applicationView} - {error && errorView} -
- ); - } -} - -export default App; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.test.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.test.js deleted file mode 100644 index 0b509e08c1..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.test.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import ReactDOM from 'react-dom'; -import App from './App'; - -it('renders without crashing', () => { - const div = document.createElement('div'); - ReactDOM.render(, div); - ReactDOM.unmountComponentAtNode(div); -}); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/Authorized/Authorized.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/Authorized/Authorized.js deleted file mode 100644 index 7f06a0403c..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/Authorized/Authorized.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import react from 'react'; -import { withConfigContext } from '../ConfigContext'; -import { isAuthorized } from '../../services/utils/authorizationHandler'; - -class Authorized extends react.Component { - constructor(props) { - super(props); - } - - render() { - return isAuthorized(this.props.context.user, this.props.permission) - ? this.props.yes - : this.props.no; - } -} - -Authorized.defaultProps = { - yes: null, - no: null, -}; -export default withConfigContext(Authorized); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/ConfigContext/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/ConfigContext/index.js deleted file mode 100644 index e79fea42fd..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/ConfigContext/index.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; - -const ConfigContext = React.createContext(); - -export const withConfigContext = Component => { - // eslint-disable-next-line react/display-name - return props => ( - - {context => { - return ; - }} - - ); -}; - -export default ConfigContext; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/RouteWithSubRoutes/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/RouteWithSubRoutes/index.js deleted file mode 100644 index 0b11230cc0..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/RouteWithSubRoutes/index.js +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import { Route } from 'react-router-dom'; -class RouteWithSubRoutes extends React.Component { - props; - constructor(props) { - super(props); - this.props = props; - } - render() { - return ( - ( - - )} - /> - ); - } -} - -export default RouteWithSubRoutes; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.css deleted file mode 100644 index 74dcd95a69..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.css +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -.App { - padding: 20px; -} - -.ant-layout-header{ - padding: 0; - height: auto; - box-shadow: 0 2px 8px #f0f1f2; -} - -.steps-content { - margin-top: 16px; - border: 1px dashed #e9e9e9; - border-radius: 6px; - background-color: #fafafa; - min-height: 200px; - text-align: center; - padding-top: 80px; -} - -.steps-action { - margin-top: 24px; -} - -.ant-input-affix-wrapper .ant-input{ - min-height: 0; -} \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.html b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.html deleted file mode 100644 index 345bcc4521..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - Entgra App Publisher - - -
- \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.js deleted file mode 100644 index fc94e3d68d..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/index.js +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import ReactDOM from 'react-dom'; -import * as serviceWorker from './services/serviceWorkers/serviceWorker'; -import App from './App'; -import Login from './scenes/Login'; -import Dashboard from './scenes/Home'; -import Apps from './scenes/Home/scenes/Apps'; -import Release from './scenes/Home/scenes/Apps/scenes/Release'; -import AddNewEnterpriseApp from './scenes/Home/scenes/AddNewApp/scenes/Enterprise'; -import Mange from './scenes/Home/scenes/Manage'; -import './index.css'; -import AddNewPublicApp from './scenes/Home/scenes/AddNewApp/scenes/Public'; -import AddNewWebClip from './scenes/Home/scenes/AddNewApp/scenes/WebClip'; -import AddNewRelease from './scenes/Home/scenes/AddNewRelease'; -import AddNewCustomApp from './scenes/Home/scenes/AddNewApp/scenes/Custom'; -import ManageAndroidEnterprise from './scenes/Home/scenes/Manage/scenes/AndroidEnterprise'; -import Page from './scenes/Home/scenes/Manage/scenes/AndroidEnterprise/scenes/Page'; - -const routes = [ - { - path: '/publisher/login', - exact: true, - component: Login, - }, - { - path: '/publisher/', - exact: false, - component: Dashboard, - routes: [ - { - path: '/publisher/apps', - component: Apps, - exact: true, - }, - { - path: '/publisher/apps/releases/:uuid', - exact: true, - component: Release, - }, - { - path: '/publisher/apps/:deviceType/:appId/add-release', - component: AddNewRelease, - exact: true, - }, - { - path: '/publisher/add-new-app/enterprise', - component: AddNewEnterpriseApp, - exact: true, - }, - { - path: '/publisher/add-new-app/public', - component: AddNewPublicApp, - exact: true, - }, - { - path: '/publisher/add-new-app/web-clip', - component: AddNewWebClip, - exact: true, - }, - { - path: '/publisher/add-new-app/custom-app', - component: AddNewCustomApp, - exact: true, - }, - { - path: '/publisher/manage', - component: Mange, - exact: true, - }, - { - path: '/publisher/manage/android-enterprise', - component: ManageAndroidEnterprise, - exact: true, - }, - { - path: '/publisher/manage/android-enterprise/pages/:pageName/:pageId', - component: Page, - exact: true, - }, - ], - }, -]; - -ReactDOM.render(, document.getElementById('root')); - -// If you want your app to work offline and load faster, you can change -// unregister() to register() below. Note this comes with some pitfalls. -// Learn more about service workers: https://bit.ly/CRA-PWA -serviceWorker.unregister(); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/logo.svg b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/logo.svg deleted file mode 100644 index 6b60c1042f..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/logo.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/components/Logout/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/components/Logout/index.js deleted file mode 100644 index 0ecbb604fa..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/components/Logout/index.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import { LogoutOutlined } from '@ant-design/icons'; -import { notification, Menu } from 'antd'; -import axios from 'axios'; -import { withConfigContext } from '../../../../components/ConfigContext'; -import { getUiConfig } from '../../../../services/utils/uiConfigHandler'; - -/* -This class for call the logout api by sending request - */ -class Logout extends React.Component { - constructor(props) { - super(props); - this.state = { - inValid: false, - loading: false, - }; - } - /* - This function call the logout api when the request is success - */ - handleSubmit = () => { - const thisForm = this; - const config = this.props.context; - - thisForm.setState({ - inValid: false, - }); - - let logoutUri; - getUiConfig(config).then(uiConfig => { - if (uiConfig !== undefined) { - if (uiConfig.isSsoEnable) { - logoutUri = window.location.origin + config.serverConfig.ssoLogoutUri; - } else { - logoutUri = window.location.origin + config.serverConfig.logoutUri; - } - axios - .post(logoutUri) - .then(res => { - // if the api call status is correct then user - // will logout and then it goes to login page - if (res.status === 200) { - window.location = - window.location.origin + `/${config.appName}/login`; - } - }) - .catch(function(error) { - notification.error({ - message: 'There was a problem', - duration: 0, - description: 'Error occurred while trying to logout.', - }); - }); - } else { - this.setState({ - loading: false, - error: true, - }); - } - }); - }; - - render() { - return ( - - - - Logout - - - ); - } -} - -export default withConfigContext(Logout); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/index.js deleted file mode 100644 index 080ac912b6..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/index.js +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; - -import { - AndroidFilled, - AppstoreOutlined, - ControlOutlined, - PlusOutlined, - SettingOutlined, - UserOutlined, - MenuFoldOutlined, - MenuUnfoldOutlined, -} from '@ant-design/icons'; - -import { Layout, Menu, Drawer, Button } from 'antd'; -import { Switch, Link } from 'react-router-dom'; -import RouteWithSubRoutes from '../../components/RouteWithSubRoutes'; -import { Redirect } from 'react-router'; -import './styles.css'; -import { withConfigContext } from '../../components/ConfigContext'; -import Logout from './components/Logout'; -import { isAuthorized } from '../../services/utils/authorizationHandler'; - -const { Header, Content, Footer } = Layout; -const { SubMenu } = Menu; - -class Dashboard extends React.Component { - constructor(props) { - super(props); - this.state = { - routes: props.routes, - visible: false, - collapsed: false, - }; - this.config = this.props.context; - this.Logo = this.config.theme.logo; - this.footerText = this.config.theme.footerText; - } - - showMobileNavigationBar = () => { - this.setState({ - visible: true, - collapsed: !this.state.collapsed, - }); - }; - - onCloseMobileNavigationBar = () => { - this.setState({ - visible: false, - }); - }; - - render() { - return ( -
- -
-
- - logo - -
- -
- - - - - Apps - - - {isAuthorized( - this.props.context.user, - '/permission/admin/app-mgt/publisher/application/update', - ) && ( - - - Add New App - - } - > - - Public App - - - - Enterprise App - - - - Web Clip - - - - Custom App - - - - )} - - - Manage - - } - > - - - General - - - {this.config.androidEnterpriseToken != null && ( - - - Android Enterprise - - - )} - - - - - {this.config.username} - - } - > - - - -
-
-
- - -
- -
-
- - logo - - } - placement="left" - closable={false} - onClose={this.onCloseMobileNavigationBar} - visible={this.state.visible} - getContainer={false} - style={{ position: 'absolute' }} - > - - - - - Apps - - - - - Add New App - - } - > - - Public APP - - - - Enterprise APP - - - - Web Clip - - - Custom App - - - - - - Manage - - - - - - - - - - } - > - - - - - - - - - - {this.state.routes.map(route => ( - - ))} - - -
{this.footerText}
-
-
- ); - } -} - -export default withConfigContext(Dashboard); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/scenes/AddNewApp/components/AddNewAppForm/components/NewAppDetailsForm/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/scenes/AddNewApp/components/AddNewAppForm/components/NewAppDetailsForm/index.js deleted file mode 100644 index c1bfc1f5c0..0000000000 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/scenes/Home/scenes/AddNewApp/components/AddNewAppForm/components/NewAppDetailsForm/index.js +++ /dev/null @@ -1,554 +0,0 @@ -/* - * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. - * - * Entgra (pvt) Ltd. licenses this file to you under the Apache License, - * Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import { Form } from '@ant-design/compatible'; -import '@ant-design/compatible/assets/index.css'; -import { Alert, Button, Col, Input, Row, Select, Spin } from 'antd'; -import axios from 'axios'; -import { withConfigContext } from '../../../../../../../../components/ConfigContext'; -import { handleApiError } from '../../../../../../../../services/utils/errorHandler'; -import debounce from 'lodash.debounce'; -import Authorized from '../../../../../../../../components/Authorized/Authorized'; - -const formItemLayout = { - labelCol: { - xs: { span: 24 }, - sm: { span: 5 }, - }, - wrapperCol: { - xs: { span: 24 }, - sm: { span: 19 }, - }, -}; -const { Option } = Select; -const { TextArea } = Input; - -class NewAppDetailsForm extends React.Component { - constructor(props) { - super(props); - this.state = { - categories: [], - tags: [], - deviceTypes: [], - selectedValue: null, - fetching: false, - roleSearchValue: [], - unrestrictedRoles: [], - }; - this.lastFetchId = 0; - this.fetchRoles = debounce(this.fetchRoles, 800); - } - - handleSubmit = e => { - e.preventDefault(); - const { formConfig } = this.props; - - this.props.form.validateFields((err, values) => { - if (!err) { - this.setState({ - loading: true, - }); - const { - name, - description, - categories, - tags, - unrestrictedRoles, - } = values; - const unrestrictedRolesData = []; - unrestrictedRoles.map(val => { - unrestrictedRolesData.push(val.key); - }); - const application = { - name, - description, - categories, - tags, - unrestrictedRoles: unrestrictedRolesData, - }; - - if (formConfig.installationType !== 'WEB_CLIP') { - application.deviceType = values.deviceType; - } else { - application.type = 'WEB_CLIP'; - application.deviceType = 'ALL'; - } - this.validateAppName(name, application.deviceType, application); - } - }); - }; - - validateAppName = (name, deviceType, application) => { - const config = this.props.context; - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.publisher + - `/applications/device-type/${deviceType}/app-name/${name}`, - ) - .then(res => { - if (res.status === 200) { - this.props.onSuccessApplicationData(application); - } - }) - .catch(error => { - if (error.hasOwnProperty('response') && error.response.status === 403) { - this.setState({ - loading: false, - }); - } else if ( - error.hasOwnProperty('response') && - error.response.status === 409 - ) { - this.props.form.setFields({ - name: { - value: name, - errors: [ - new Error('App name already exists, Please try another'), - ], - }, - }); - } else { - handleApiError( - error, - 'Error occurred while trying to validate app name.', - true, - ); - } - }); - }; - - componentDidMount() { - this.getCategories(); - this.getTags(); - this.getDeviceTypes(); - } - - getCategories = () => { - const config = this.props.context; - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.publisher + - '/applications/categories', - ) - .then(res => { - if (res.status === 200) { - let categories = JSON.parse(res.data.data); - this.setState({ - categories: categories, - loading: false, - }); - } - }) - .catch(error => { - handleApiError( - error, - 'Error occurred while trying to load categories.', - true, - ); - this.setState({ - loading: false, - }); - }); - }; - - getTags = () => { - const config = this.props.context; - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.publisher + - '/applications/tags', - ) - .then(res => { - if (res.status === 200) { - let tags = JSON.parse(res.data.data); - this.setState({ - tags: tags, - loading: false, - }); - } - }) - .catch(error => { - handleApiError( - error, - 'Error occurred while trying to load tags.', - true, - ); - this.setState({ - loading: false, - }); - }); - }; - - getDeviceTypes = () => { - const config = this.props.context; - const { formConfig } = this.props; - const { installationType } = formConfig; - - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.deviceMgt + - '/device-types', - ) - .then(res => { - if (res.status === 200) { - const allDeviceTypes = JSON.parse(res.data.data); - const mobileDeviceTypes = config.deviceTypes.mobileTypes; - const allowedDeviceTypes = []; - - // exclude mobile device types if installation type is custom - if (installationType === 'CUSTOM') { - allDeviceTypes.forEach(deviceType => { - if (!mobileDeviceTypes.includes(deviceType.name)) { - allowedDeviceTypes.push(deviceType); - } - }); - } else { - allDeviceTypes.forEach(deviceType => { - if (mobileDeviceTypes.includes(deviceType.name)) { - allowedDeviceTypes.push(deviceType); - } - }); - } - - this.setState({ - deviceTypes: allowedDeviceTypes, - loading: false, - }); - } - }) - .catch(error => { - handleApiError( - error, - 'Error occurred while trying to load device types.', - true, - ); - if (error.hasOwnProperty('response') && error.response.status === 403) { - const { forbiddenErrors } = this.state; - forbiddenErrors.deviceTypes = true; - this.setState({ - forbiddenErrors, - loading: false, - }); - } else { - this.setState({ - loading: false, - }); - } - }); - }; - - fetchRoles = value => { - const config = this.props.context; - this.lastFetchId += 1; - const fetchId = this.lastFetchId; - this.setState({ data: [], fetching: true }); - - axios - .get( - window.location.origin + - config.serverConfig.invoker.uri + - config.serverConfig.invoker.deviceMgt + - '/roles?filter=' + - value, - ) - .then(res => { - if (res.status === 200) { - if (fetchId !== this.lastFetchId) { - // for fetch callback order - return; - } - - const data = res.data.data.roles.map(role => ({ - text: role, - value: role, - })); - - this.setState({ - unrestrictedRoles: data, - fetching: false, - }); - } - }) - .catch(error => { - handleApiError( - error, - 'Error occurred while trying to load roles.', - true, - ); - this.setState({ - fetching: false, - }); - }); - }; - - handleRoleSearch = roleSearchValue => { - this.setState({ - roleSearchValue, - unrestrictedRoles: [], - fetching: false, - }); - }; - - // Event handler for selecting the device type - handleSelect = event => { - this.setState({ - selectedValue: event, - }); - if (this.props.selectedValueHandler) { - this.props.selectedValueHandler(event); - } - }; - - // Event handler for selecting the windows app type - handleSelectForAppType = event => { - if (this.props.selectedAppTypeHandler) { - this.props.selectedAppTypeHandler(event); - } - }; - - render() { - const config = this.props.context; - // Windows installation app types - const appTypes = config.windowsDeviceType.appType; - const { formConfig } = this.props; - const { - categories, - tags, - deviceTypes, - selectedValue, - fetching, - unrestrictedRoles, - } = this.state; - const { getFieldDecorator } = this.props.form; - - return ( -
- - - -
- {formConfig.installationType !== 'WEB_CLIP' && ( -
- - } - /> - - {getFieldDecorator('deviceType', { - rules: [ - { - required: true, - message: 'Please select device type', - }, - ], - })( - , - )} - -
- )} - - {/* app name*/} - - } - /> - - {getFieldDecorator('name', { - rules: [ - { - required: true, - message: 'Please input a name', - }, - ], - })()} - - - {/* App Type only shown for windows device types for enterprise apps */} - {selectedValue === 'windows' && - this.props.formConfig.installationType === 'ENTERPRISE' && ( - - {getFieldDecorator('appType', { - rules: [ - { - required: true, - message: 'Please select app type', - }, - ], - })( - , - )} - - )} - - {/* description*/} - - {getFieldDecorator('description', { - rules: [ - { - required: true, - message: 'Please enter a description', - }, - ], - })( -