From 1e4927088cbfcc1b7b3a1919247f30efc90ff9eb Mon Sep 17 00:00:00 2001 From: saidaipparla Date: Wed, 16 Nov 2016 11:04:59 +0100 Subject: [PATCH] fix #1257 added react select css in missing places --- web/client/components/TOC/fragments/settings/WMSStyle.jsx | 2 ++ web/client/components/manager/importer/Workspace.jsx | 2 ++ web/client/components/manager/users/UserGroups.jsx | 1 + web/client/components/security/PermissionEditor.jsx | 2 ++ 4 files changed, 7 insertions(+) diff --git a/web/client/components/TOC/fragments/settings/WMSStyle.jsx b/web/client/components/TOC/fragments/settings/WMSStyle.jsx index 4e5439287f..10a6d02cd2 100644 --- a/web/client/components/TOC/fragments/settings/WMSStyle.jsx +++ b/web/client/components/TOC/fragments/settings/WMSStyle.jsx @@ -11,6 +11,8 @@ const Message = require('../../../I18N/Message'); const Select = require('react-select'); const {Button, Glyphicon, Alert} = require('react-bootstrap'); +require('react-select/dist/react-select.css'); + /** * General Settings form for layer */ diff --git a/web/client/components/manager/importer/Workspace.jsx b/web/client/components/manager/importer/Workspace.jsx index 6182b04faa..1feac47902 100644 --- a/web/client/components/manager/importer/Workspace.jsx +++ b/web/client/components/manager/importer/Workspace.jsx @@ -11,6 +11,8 @@ const {Input, Button, Alert} = require('react-bootstrap'); const Message = require('../../I18N/Message'); const LocaleUtils = require('../../../utils/LocaleUtils'); +require('react-select/dist/react-select.css'); + module.exports = React.createClass({ propTypes: { enabled: React.PropTypes.bool, diff --git a/web/client/components/manager/users/UserGroups.jsx b/web/client/components/manager/users/UserGroups.jsx index 7f9b5bdd55..cea0a522e1 100644 --- a/web/client/components/manager/users/UserGroups.jsx +++ b/web/client/components/manager/users/UserGroups.jsx @@ -11,6 +11,7 @@ const React = require('react'); const Select = require('react-select'); const Message = require('../../I18N/Message'); +require('react-select/dist/react-select.css'); // const ConfirmModal = require('./modals/ConfirmModal'); // const GroupManager = require('./GroupManager'); diff --git a/web/client/components/security/PermissionEditor.jsx b/web/client/components/security/PermissionEditor.jsx index 7e15b9ef9a..4058ed8109 100644 --- a/web/client/components/security/PermissionEditor.jsx +++ b/web/client/components/security/PermissionEditor.jsx @@ -15,6 +15,8 @@ const {Table, Button, Glyphicon} = require('react-bootstrap'); const Message = require('../I18N/Message'); const LocaleUtils = require('../../utils/LocaleUtils'); +require('react-select/dist/react-select.css'); + /** * Map permission editor */