Commit 5f7951dd authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Réorganisation

Contrôle de la copie du document signé déplacé niveau signature
Mise en page
parent a0079d2b
Loading
Loading
Loading
Loading
Loading
+157 −138
Changes for config/merged/signature.config.php: 157 added lines, 138 removed lines.
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ return [
                        'process',
                        'processNextStep',
                        'signatures',
                        'signatureflows',
                        'signatureflowsUi',
                        'previewDocument',
                        'triggerProcess',
                    ],
@@ -64,13 +62,27 @@ return [
                    'controller' => AdministrationController::class,
                    'action'     => [
                        'index',

                        'letterfile',

                        'simpleSignature',
                        'simpleSignatureDelete',
                        'simpleSignatureSend',
                        'simpleSignatureStatus',
                        'simpleSignatureNew',

                        'process',
                        'letterfile',
                        'processConfig',
                        'processDelete',
                        'processNew',
                        'processSend',
                        'processStatus',
                        'processTrigger',

                        'signatureflows',
                        'signatureflowsUi',


                    ],
                    'privileges' => [
                        SignaturePrivileges::SIGNATURE_INDEX,
@@ -134,12 +146,7 @@ return [
                [
                    'controller' => ProcessController::class,
                    'action'     => [
                        'configure',
                        'delete',
                        'previewDocument',
                        'index',
                        'new',
                        'trigger',
                    ],
                    'privileges' => [
                        SignaturePrivileges::SIGNATURE_INDEX,
@@ -172,6 +179,11 @@ return [
                ],
                'may_terminate' => true,

                ///////////////////////////////////////////////////////////////////////////////////////////
                ///////////////////////////////////////////////////////////////////////////////////////////
                /// ADMINISTRATION
                ///////////////////////////////////////////////////////////////////////////////////////////
                ///////////////////////////////////////////////////////////////////////////////////////////

                'child_routes' => [
                    'administration' => [
@@ -185,6 +197,10 @@ return [
                        ],
                        'may_terminate' => true,
                        'child_routes'  => [

                            ////////////////////////////////////////////////////////////////////////////////////////////
                            /// PROCESSUS
                            ////////////////////////////////////////////////////////////////////////////////////////////
                            'process'        => [
                                'type'    => Literal::class,
                                'options' => [
@@ -195,16 +211,77 @@ return [
                                    ],
                                ],
                            ],

                            'process-config' => [
                                'type'    => Literal::class,
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/process-config',
                                    'route'    => '/process-config/:id',
                                    'defaults' => [
                                        'controller' => AdministrationController::class,
                                        'action'     => 'processConfig',
                                    ],
                                ],
                            ],

                            'process-delete'             => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/process-delete/:id',
                                    'defaults' => [
                                        'controller' => AdministrationController::class,
                                        'action'     => 'processDelete',
                                    ],
                                ],
                            ],

                            'process-new'             => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/process-new/:id',
                                    'defaults' => [
                                        'controller' => AdministrationController::class,
                                        'action'     => 'processNew',
                                    ],
                                ],
                            ],

                            'process-trigger'          => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/process-trigger/:id',
                                    'defaults' => [
                                        'controller' => AdministrationController::class,
                                        'action'     => 'processTrigger',
                                    ],
                                ],
                            ],

                            ////////////////////////////////////////////////////////////////////////////////////////////
                            /// SIGNATURE FLOW

                            'signatureflowsui'  => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/signatureflows-ui',
                                    'defaults' => [
                                        'action' => 'signatureflowsUi'
                                    ]
                                ]
                            ],
                            'signatureflows'    => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/signatureflows-api',
                                    'defaults' => [
                                        'action' => 'signatureflows'
                                    ]
                                ]
                            ],



                            ////////////////////////////////////////////////////////////////////////////////////////////
                            /// SIMPLE SIGNATURE
                            'simple-signature'        => [
                                'type'    => Literal::class,
                                'options' => [
@@ -256,6 +333,8 @@ return [
                                ],
                            ],

                            ////////////////////////////////////////////////////////////////////////////////////////////
                            /// PARAPHEUR
                            'letterfile'              => [
                                'type'    => Literal::class,
                                'options' => [
@@ -282,24 +361,7 @@ return [
                        'may_terminate' => true,

                        'child_routes' => [
                            'configure' => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/configure/:id',
                                    'defaults' => [
                                        'action' => 'configure'
                                    ]
                                ]
                            ],
                            'delete'    => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/delete/:id',
                                    'defaults' => [
                                        'action' => 'delete'
                                    ]
                                ]
                            ],

                            'document' => [
                                'type'    => Regex::class,
                                'options' => [
@@ -310,27 +372,10 @@ return [
                                    ]
                                ],
                            ],
                            'new'       => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/new/:id',
                                    'defaults' => [
                                        'action' => 'new'
                                    ]
                                ]
                            ],
                            'trigger'   => [
                                'type'    => Segment::class,
                                'options' => [
                                    'route'    => '/trigger/:id',
                                    'defaults' => [
                                        'action' => 'trigger'
                                    ]
                                ]
                            ],
                            //processing
                        ]
                    ],

                    /////////////////////////////////////////////////////////////////////// < PARAPHEUR INTERNE (VISEUR)
                    'internal'       => [
                        'type'          => Segment::class,
                        'options'       => [
@@ -384,15 +429,15 @@ return [
                            ]
                        ]
                    ],
                    'send'              => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/send/:id',
                            'defaults' => [
                                'action' => 'send'
                            ]
                        ]
                    ],
//                    'send'              => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/send/:id',
//                            'defaults' => [
//                                'action' => 'send'
//                            ]
//                        ]
//                    ],
                    'download'          => [
                        'type'    => Segment::class,
                        'options' => [
@@ -403,88 +448,62 @@ return [
                        ]
                    ],
                    // process-next-step
                    'process-next-step' => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/process-next-step/:id',
                            'defaults' => [
                                'action' => 'processNextStep'
                            ]
                        ]
                    ],
                    'status'            => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/status/:id',
                            'defaults' => [
                                'action' => 'status'
                            ]
                        ]
                    ],
                    'trigger-process'   => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/trigger-process',
                            'defaults' => [
                                'action' => 'triggerProcess'
                            ]
                        ]
                    ],
                    //triggerProcess
                    'delete'            => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/delete/:id',
                            'defaults' => [
                                'action' => 'delete'
                            ]
                        ]
                    ],
                    'workflows'         => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/workflows',
                            'defaults' => [
                                'action' => 'workflows'
                            ]
                        ]
                    ],
                    'signrequests'      => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/signrequests',
                            'defaults' => [
                                'action' => 'signRequests'
                            ]
                        ]
                    ],
                    'signatureflowsui'  => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/signatureflows-ui',
                            'defaults' => [
                                'action' => 'signatureflowsUi'
                            ]
                        ]
                    ],
                    'signatureflows'    => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/signatureflows-api',
                            'defaults' => [
                                'action' => 'signatureflows'
                            ]
                        ]
                    ],
                    'letterfiles'       => [
                        'type'    => Segment::class,
                        'options' => [
                            'route'    => '/letterfiles',
                            'defaults' => [
                                'action' => 'letterfiles'
                            ]
                        ]
                    ],
//                    'process-next-step' => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/process-next-step/:id',
//                            'defaults' => [
//                                'action' => 'processNextStep'
//                            ]
//                        ]
//                    ],
//                    'status'            => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/status/:id',
//                            'defaults' => [
//                                'action' => 'status'
//                            ]
//                        ]
//                    ],
//                    'trigger-process'   => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/trigger-process',
//                            'defaults' => [
//                                'action' => 'triggerProcess'
//                            ]
//                        ]
//                    ],
//                    //triggerProcess
//                    'delete'            => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/delete/:id',
//                            'defaults' => [
//                                'action' => 'delete'
//                            ]
//                        ]
//                    ],
//                    'workflows'         => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/workflows',
//                            'defaults' => [
//                                'action' => 'workflows'
//                            ]
//                        ]
//                    ],

//                    'letterfiles'       => [
//                        'type'    => Segment::class,
//                        'options' => [
//                            'route'    => '/letterfiles',
//                            'defaults' => [
//                                'action' => 'letterfiles'
//                            ]
//                        ]
//                    ],
                    'my-documents'   => [
                        'type'    => Segment::class,
                        'options' => [
+0 −1
Changes for public/dist/assets/signature-a95d028a.css: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
.signature{background:white;padding:.5em 1em;margin:1em;border:thin solid #92b2ae;border-left-width:8px}.signature h2{margin:0;border-bottom:solid thin #c5c5c5;padding:.1em 0;display:flex}.signature h2 span{flex:1 1 auto}.signature h2 .status-flag{flex:0 0 6em;text-align:right}.metas{display:inline-block;margin:0;padding:.5em 0}.metas .meta{display:inline-block;background:#d4dedd;padding:0 .5em;border-radius:8px}.recipient-signature{background:white;margin:.5em 0;padding:.7em 1em .1em;border-left:solid 4px #666666}.recipient-signature h3{margin:0}.status-text{display:none}.status-flag{border:solid thin #92b2ae;width:1px;overflow:hidden;text-align:center;vertical-align:center}.status-flag:before{font-family:fontellosignature;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.signature-status-501{border-color:#83243a;background-color:#fdf6f7}.signature-status-501 .status-flag{background-color:#83243a}.signature-status-501 .status-flag:before{content:""}.signature-status-401{border-left-color:#8d7260}.signature-status-401 .status-flag{background-color:#8d7260}.signature-status-401 .status-flag:before{content:""}.signature-status-105{border-left-color:#8eb4c9}.signature-status-105 .status-flag{background-color:#8eb4c9}.signature-status-105 .status-flag:before{content:""}.signature-status-101{border-left-color:#92b2ae}.signature-status-101 .status-flag{background-color:#92b2ae}.signature-status-101 .status-flag:before{content:""}.signature-status-201{border-left-color:#447c44}.signature-status-201 .status-flag{background-color:#447c44}.signature-status-201 .status-flag:before{content:""}.recipient{border:solid thin #92b2ae;display:flex}.recipient .email,.recipient .fullname{flex:1}.recipient .status-flag{flex:0 0 6em}
+1 −0
Changes for public/dist/assets/signature-b1ecbe6c.css: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
.process,.signature{background:white;padding:.5em 1em;margin:1em;border:thin solid #92b2ae;border-left-width:8px}.signature h2{font-size:1.5em;margin:0;border-bottom:solid thin #c5c5c5;padding:.1em 0;display:flex}.signature h2 span{flex:1 1 auto}.signature h2 .status-flag{flex:0 0 6em;text-align:right}.buttons-bar{padding:.5em}.recipient{border:solid thin #92b2ae;border-left-width:8px;display:flex;text-shadow:1px -1px 0 rgb(255,255,255);padding:.25em 0 .25em .5em;margin-right:.5em}.recipient .email,.recipient .fullname{flex:1}.recipient .status-flag{flex:0 0 6em}.metas{display:inline-block;margin:0;padding:.5em 0}.metas .meta{display:inline-block;background:#d4dedd;padding:0 .5em;border-radius:8px}.recipient-signature{background:white;margin:.5em 0;padding:.7em 1em .1em;border-left:solid 4px #666666}.recipient-signature h3{margin:0}.status:hover .status-text{opacity:1}.status .status-text{transition:opacity .3s;font-weight:700;color:#fff;text-shadow:-1px 1px 0 rgba(0,0,0,.5);margin:0;padding:0 .25em;font-size:.75em}.status-flag{display:none}.signature-status-501{border-color:#83243a}.signature-status-501 .status-text,.signature-status-501 .status-flag{background-color:#83243a}.signature-status-501 .status-flag:before{content:""}.signature-status-401{border-left-color:#8d7260}.signature-status-401 .status-text,.signature-status-401 .status-flag{background-color:#8d7260}.signature-status-401 .status-flag:before{content:""}.signature-status-105{border-left-color:#8eb4c9}.signature-status-105 .status-text,.signature-status-105 .status-flag{background-color:#8eb4c9}.signature-status-105 .status-flag:before{content:""}.signature-status-101{border-left-color:#92b2ae}.signature-status-101 .status-text,.signature-status-101 .status-flag{background-color:#92b2ae}.signature-status-101 .status-flag:before{content:""}.signature-status-201{border-left-color:#447c44}.signature-status-201 .status-text,.signature-status-201 .status-flag{background-color:#447c44}.signature-status-201 .status-flag:before{content:""}
+1 −1
Changes for public/dist/manifest.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
    "src": "src/TriggerProcess.js"
  },
  "src/signature.scss": {
    "file": "assets/signature-a95d028a.css",
    "file": "assets/signature-b1ecbe6c.css",
    "isEntry": true,
    "src": "src/signature.scss"
  }
+14 −12

File changed.

Preview size limit exceeded, changes collapsed.

Loading