|
|
@ -24,6 +24,7 @@ import config from "../../../../../public/conf/config.json";
|
|
|
|
import ReactQuill from "react-quill";
|
|
|
|
import ReactQuill from "react-quill";
|
|
|
|
import ReactHtmlParser, {processNodes, convertNodeToElement, htmlparser2} from 'react-html-parser';
|
|
|
|
import ReactHtmlParser, {processNodes, convertNodeToElement, htmlparser2} from 'react-html-parser';
|
|
|
|
import "./AppDetailsDrawer.css";
|
|
|
|
import "./AppDetailsDrawer.css";
|
|
|
|
|
|
|
|
import pSBC from "shade-blend-color";
|
|
|
|
|
|
|
|
|
|
|
|
const {Text, Title} = Typography;
|
|
|
|
const {Text, Title} = Typography;
|
|
|
|
const {Option} = Select;
|
|
|
|
const {Option} = Select;
|
|
|
@ -456,7 +457,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
{!isDescriptionEditEnabled && (
|
|
|
|
{!isDescriptionEditEnabled && (
|
|
|
|
<Text
|
|
|
|
<Text
|
|
|
|
style={{
|
|
|
|
style={{
|
|
|
|
color: "#1890ff",
|
|
|
|
color: config.theme.primaryColor,
|
|
|
|
cursor: "pointer"
|
|
|
|
cursor: "pointer"
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
onClick={this.enableDescriptionEdit}>
|
|
|
|
onClick={this.enableDescriptionEdit}>
|
|
|
@ -492,7 +493,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
<Divider dashed={true}/>
|
|
|
|
<Divider dashed={true}/>
|
|
|
|
<Text strong={true}>Categories </Text>
|
|
|
|
<Text strong={true}>Categories </Text>
|
|
|
|
{!isCategoriesEditEnabled && (<Text
|
|
|
|
{!isCategoriesEditEnabled && (<Text
|
|
|
|
style={{color: "#1890ff", cursor: "pointer"}}
|
|
|
|
style={{color: config.theme.primaryColor, cursor: "pointer"}}
|
|
|
|
onClick={this.enableCategoriesEdit}>
|
|
|
|
onClick={this.enableCategoriesEdit}>
|
|
|
|
<Icon type="edit"/>
|
|
|
|
<Icon type="edit"/>
|
|
|
|
</Text>
|
|
|
|
</Text>
|
|
|
@ -525,7 +526,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
<span>{
|
|
|
|
<span>{
|
|
|
|
categories.map(category => {
|
|
|
|
categories.map(category => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Tag color="#108ee9" key={category} style={{marginBottom: 5}}>
|
|
|
|
<Tag color={pSBC ( 0.30, config.theme.primaryColor )} key={category} style={{marginBottom: 5}}>
|
|
|
|
{category}
|
|
|
|
{category}
|
|
|
|
</Tag>
|
|
|
|
</Tag>
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -537,7 +538,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
<Divider dashed={true}/>
|
|
|
|
<Divider dashed={true}/>
|
|
|
|
<Text strong={true}>Tags </Text>
|
|
|
|
<Text strong={true}>Tags </Text>
|
|
|
|
{!isTagsEditEnabled && (<Text
|
|
|
|
{!isTagsEditEnabled && (<Text
|
|
|
|
style={{color: "#1890ff", cursor: "pointer"}}
|
|
|
|
style={{color: config.theme.primaryColor, cursor: "pointer"}}
|
|
|
|
onClick={this.enableTagsEdit}>
|
|
|
|
onClick={this.enableTagsEdit}>
|
|
|
|
<Icon type="edit"/>
|
|
|
|
<Icon type="edit"/>
|
|
|
|
</Text>
|
|
|
|
</Text>
|
|
|
|