DFixes -> fixes and upgrades all functionality
parent
c36180ffd0
commit
932fb4d48a
|
|
@ -209,19 +209,67 @@ const DownloadFilesListInputGenerator = ({
|
||||||
>
|
>
|
||||||
{input.name + ':'}
|
{input.name + ':'}
|
||||||
{
|
{
|
||||||
|
input.values.length == 0 ?
|
||||||
|
|
||||||
|
() => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
empty
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
:
|
||||||
|
|
||||||
input.values.map( (item, index) => {
|
input.values.map( (item, index) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<div
|
<div
|
||||||
key={ item }
|
key={ info.action + '_element_' + index }
|
||||||
>
|
>
|
||||||
|
{
|
||||||
|
Object.keys(item).map(
|
||||||
|
( key, index ) => {
|
||||||
|
|
||||||
|
return(
|
||||||
|
<div style={{ paddingLeft: '10px' }}>
|
||||||
|
{ key + ': ' }
|
||||||
|
{
|
||||||
|
typeof item[key] === "object"
|
||||||
|
?
|
||||||
|
|
||||||
|
Object.keys( item[key] ).map(
|
||||||
|
( key, index ) => {
|
||||||
|
return (
|
||||||
|
<div style={{ paddingLeft: '20px' }}>
|
||||||
|
{ key }: { item.data[key]}
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
:
|
||||||
|
|
||||||
|
item[key]
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
<a
|
<a
|
||||||
href={ input.link + index + '/' }
|
href={ input.link + index + '/' }
|
||||||
>
|
>
|
||||||
{ item }
|
download
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div style={{ width: '100%', height: '1px', backgroundColor: '#008000' }}>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 958 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
|
|
@ -1,4 +1,4 @@
|
||||||
import { configureStore } from '@reduxjs/toolkit';
|
import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit';
|
||||||
|
|
||||||
import { loadState, saveState } from './stateLoader'
|
import { loadState, saveState } from './stateLoader'
|
||||||
import lodash from 'lodash'
|
import lodash from 'lodash'
|
||||||
|
|
@ -20,7 +20,12 @@ export const store = configureStore({
|
||||||
userAuthReducer,
|
userAuthReducer,
|
||||||
userCrudReducer
|
userCrudReducer
|
||||||
},
|
},
|
||||||
preloadedState: persistedState
|
preloadedState: persistedState,
|
||||||
|
middleware: getDefaultMiddleware (
|
||||||
|
{
|
||||||
|
serializableCheck: false,
|
||||||
|
}
|
||||||
|
),
|
||||||
})
|
})
|
||||||
|
|
||||||
store.subscribe(() => {
|
store.subscribe(() => {
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,15 @@
|
||||||
body {
|
body {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
// background-color: rgba(0,128,0,1);
|
|
||||||
background:
|
background:
|
||||||
url("../images/background.jpg")
|
linear-gradient(
|
||||||
rgba(0,128,0,1) 100%;
|
10deg,
|
||||||
background-size: 100% auto;
|
black 0%,
|
||||||
|
#0a670a 40%,
|
||||||
|
#097309 50%,
|
||||||
|
#0a670a 60%,
|
||||||
|
black 100%
|
||||||
|
);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue