Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 399 Rev 400
Línea 47... Línea 47...
47
    const handleNext = () => validateSection() && setPage(page + 1);
47
    const handleNext = () => validateSection() && setPage(page + 1);
Línea 48... Línea 48...
48
        
48
        
Línea 49... Línea 49...
49
 
49
 
50
    return (
50
    return (
51
 
51
 
52
        <div className="panel-group" hidden={page == section.position ? false : true}>
52
        <div className="panel-group" hidden={page == index ? false : true}>
53
            <div className="panel panel-default" id={`panel-${section.slug_section}`}>
53
            <div className="panel panel-default" id={`panel-${section.slug_section}`}>
54
                <div className="panel-heading">
54
                <div className="panel-heading">
Línea 85... Línea 85...
85
                                </div>
85
                                </div>
86
                            }
86
                            }
87
                            <div className="col-md-12 np-padding">
87
                            <div className="col-md-12 np-padding">
88
                                <ul class="wizard">
88
                                <ul class="wizard">
89
                                    <li class="previous">
89
                                    <li class="previous">
90
                                        {section.position != 0 &&
90
                                        {index != 0 &&
91
                                            <button
91
                                            <button
92
                                                type="button"
92
                                                type="button"
93
                                                className="btn btn-secondary"
93
                                                className="btn btn-secondary"
94
                                                onClick={() => handlePrevious()}
94
                                                onClick={() => handlePrevious()}
95
                                            >
95
                                            >
96
                                                {backendVars.LBL_SELF_EVALUATION_TEST_FORM_PREVIOUS}
96
                                                {backendVars.LBL_SELF_EVALUATION_TEST_FORM_PREVIOUS}
97
                                            </button>
97
                                            </button>
98
                                        }
98
                                        }
99
                                    </li>
99
                                    </li>
100
                                    <li class="next">
100
                                    <li class="next">
101
                                        {section.position != total - 1 &&
101
                                        {index != total - 1 &&
102
                                            <button
102
                                            <button
103
                                                type="button"
103
                                                type="button"
104
                                                onClick={() => handleNext()}
104
                                                onClick={() => handleNext()}
105
                                                className="btn btn-secondary">
105
                                                className="btn btn-secondary">
106
                                                {backendVars.LBL_SELF_EVALUATION_TEST_FORM_NEXT}
106
                                                {backendVars.LBL_SELF_EVALUATION_TEST_FORM_NEXT}