Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 364 | Rev 375 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 364 Rev 365
Línea 78... Línea 78...
78
    const handleConfirmationBoxShow = () => setConfirmationBoxShow(!confirmationBoxShow);
78
    const handleConfirmationBoxShow = () => setConfirmationBoxShow(!confirmationBoxShow);
Línea 79... Línea 79...
79
 
79
 
80
    /**
80
    /**
81
     * Cancel test and send to the list of forms
81
     * Cancel test and send to the list of forms
82
     * @returns 
82
     * @returns 
83
     */ 
83
     */
Línea 84... Línea 84...
84
    const handleCancel = () => setTest('');
84
    const handleCancel = () => setTest('');
85
 
85
 
86
    return (
86
    return (
Línea 100... Línea 100...
100
                        <div
100
                        <div
101
                            dangerouslySetInnerHTML={{ __html: test.text }}
101
                            dangerouslySetInnerHTML={{ __html: test.text }}
102
                            className="description company-title"
102
                            className="description company-title"
103
                        ></div>
103
                        ></div>
104
                    </div>
104
                    </div>
105
                    <div className="col-md-12 col-sm-12 col-xs-12">
105
                    {test.content.length <= 0 ? (
106
                        <div className="company-title">
106
                        <div className="col-md-12 col-sm-12 col-xs-12 text-center">
107
                            {test.content.map((section, key) => {
-
 
108
                                return <Section
-
 
109
                                    section={section}
-
 
110
                                    key={key}
-
 
111
                                    page={page}
-
 
112
                                    setPage ={setPage}
-
 
113
                                    backendVars={backendVars}
107
                            {backendVars.LBL_DATATABLE_SZERORECORDS}
114
                                    handleAnswer={handleAnswer}
-
 
115
                                />
-
 
116
                            })}
-
 
117
                        </div>
108
                        </div>
-
 
109
                    ) : (
-
 
110
                        <div className="col-md-12 col-sm-12 col-xs-12">
-
 
111
                            <div className="company-title">
-
 
112
                                {test.content.map((section, key) => {
-
 
113
                                    return <Section
-
 
114
                                        section={section}
-
 
115
                                        key={key}
-
 
116
                                        page={page}
-
 
117
                                        setPage={setPage}
-
 
118
                                        total={test.content.length}
-
 
119
                                        backendVars={backendVars}
-
 
120
                                        handleAnswer={handleAnswer}
-
 
121
                                    />
-
 
122
                                })}
-
 
123
                            </div>
118
                    </div>
124
                        </div>)}
119
                    <div className="col-md-12 col-sm-12 col-xs-12 text-right">
125
                    <div className="col-md-12 col-sm-12 col-xs-12 text-right">
120
                        <div className="company-title">
126
                        <div className="company-title">
121
                            <button
127
                            <button
122
                                type="button"
128
                                type="button"
123
                                className="btn btn-danger"
129
                                className="btn btn-danger"