|
@@ -278,23 +278,35 @@ class HtmlDocument extends React.Component {
|
278
|
278
|
if (!isVisible) return null
|
279
|
279
|
|
280
|
280
|
return (
|
281
|
|
- <PopinFixed customClass={`${config.slug}`}>
|
|
281
|
+ <PopinFixed
|
|
282
|
+ customClass={`${config.slug}`}
|
|
283
|
+ customColor={config.hexcolor}
|
|
284
|
+ >
|
282
|
285
|
<PopinFixedHeader
|
283
|
286
|
customClass={`${config.slug}`}
|
|
287
|
+ customColor={config.hexcolor}
|
284
|
288
|
faIcon={config.faIcon}
|
285
|
289
|
title={content.label}
|
286
|
290
|
onClickCloseBtn={this.handleClickBtnCloseApp}
|
287
|
291
|
onValidateChangeTitle={this.handleSaveEditTitle}
|
288
|
292
|
/>
|
289
|
293
|
|
290
|
|
- <PopinFixedOption customClass={`${config.slug}`} i18n={i18n}>
|
|
294
|
+ <PopinFixedOption
|
|
295
|
+ customColor={config.hexcolor}
|
|
296
|
+ customClass={`${config.slug}`}
|
|
297
|
+ i18n={i18n}
|
|
298
|
+ >
|
291
|
299
|
<div /* this div in display flex, justify-content space-between */>
|
292
|
300
|
<div className='d-flex'>
|
293
|
|
- <NewVersionBtn onClickNewVersionBtn={this.handleClickNewVersion} disabled={mode !== MODE.VIEW} />
|
|
301
|
+ <NewVersionBtn
|
|
302
|
+ customColor={config.hexcolor}
|
|
303
|
+ onClickNewVersionBtn={this.handleClickNewVersion}
|
|
304
|
+ disabled={mode !== MODE.VIEW}
|
|
305
|
+ />
|
294
|
306
|
|
295
|
307
|
{mode === MODE.REVISION &&
|
296
|
308
|
<button
|
297
|
|
- className='wsContentGeneric__option__menu__lastversion html-documents__lastversionbtn btn btn-default'
|
|
309
|
+ className='wsContentGeneric__option__menu__lastversion html-documents__lastversionbtn btn'
|
298
|
310
|
onClick={this.handleClickLastVersion}
|
299
|
311
|
style={{backgroundColor: config.hexcolor, color: '#fdfdfd'}}
|
300
|
312
|
>
|
|
@@ -313,6 +325,7 @@ class HtmlDocument extends React.Component {
|
313
|
325
|
/>
|
314
|
326
|
|
315
|
327
|
<ArchiveDeleteContent
|
|
328
|
+ customColor={config.hexcolor}
|
316
|
329
|
onClickArchiveBtn={this.handleClickArchive}
|
317
|
330
|
onClickDeleteBtn={this.handleClickDelete}
|
318
|
331
|
disabled={mode === MODE.REVISION}
|
|
@@ -327,6 +340,7 @@ class HtmlDocument extends React.Component {
|
327
|
340
|
>
|
328
|
341
|
<HtmlDocumentComponent
|
329
|
342
|
mode={mode}
|
|
343
|
+ customColor={config.hexcolor}
|
330
|
344
|
wysiwygNewVersion={'wysiwygNewVersion'}
|
331
|
345
|
onClickCloseEditMode={this.handleCloseNewVersion}
|
332
|
346
|
onClickValidateBtn={this.handleSaveHtmlDocument}
|
|
@@ -339,6 +353,7 @@ class HtmlDocument extends React.Component {
|
339
|
353
|
|
340
|
354
|
<Timeline
|
341
|
355
|
customClass={`${config.slug}__contentpage`}
|
|
356
|
+ customColor={config.hexcolor}
|
342
|
357
|
loggedUser={loggedUser}
|
343
|
358
|
timelineData={timeline}
|
344
|
359
|
newComment={newComment}
|