Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8197 Rev 8204
Línea 10... Línea 10...
10
$allowAdd = $acl->isAllowed($roleName, 'jobs/add') ? 1 : 0;
10
$allowAdd = $acl->isAllowed($roleName, 'jobs/add') ? 1 : 0;
11
$allowDelete = $acl->isAllowed($roleName, 'jobs/delete') ? 1 : 0;
11
$allowDelete = $acl->isAllowed($roleName, 'jobs/delete') ? 1 : 0;
12
$allowEdit = $acl->isAllowed($roleName, 'jobs/edit') ? 1 : 0;
12
$allowEdit = $acl->isAllowed($roleName, 'jobs/edit') ? 1 : 0;
13
$allowUsersWhoApplied = $acl->isAllowed($roleName, 'jobs/users-who-applied') ? 1 : 0;
13
$allowUsersWhoApplied = $acl->isAllowed($roleName, 'jobs/users-who-applied') ? 1 : 0;
Línea -... Línea 14...
-
 
14
 
-
 
15
 
-
 
16
 
-
 
17
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
14
 
18
 
15
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
19
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
Línea 16... Línea 20...
16
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
20
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
Línea 1837... Línea 1841...
1837
        height: 100
1841
        height: 100
1838
    });
1842
    });
Línea 1839... Línea 1843...
1839
    
1843
    
1840
    autocompleteLocation.addListener('place_changed', $.fn.fillInAddressLocation);
1844
    autocompleteLocation.addListener('place_changed', $.fn.fillInAddressLocation);
-
 
1845
    autocompleteLocationNew.addListener('place_changed', $.fn.fillInAddressNewLocation);
1841
    autocompleteLocationNew.addListener('place_changed', $.fn.fillInAddressNewLocation);
1846
});
1842
JS;
1847
JS;
1843
$this->inlineScript()->captureEnd();
-
 
1844
 
-
 
1845
$js = <<<JS
-
 
1846
const linksVars = {
-
 
1847
    link_add:"$routeAdd",
-
 
1848
    link_table: "$routeDatatable",
-
 
1849
    allowAdd: "$allowAdd",
-
 
1850
    allowDelete: "$allowDelete",
-
 
1851
    allowEdit: "$allowEdit",
-
 
1852
    allowUsersWhoApplied: "$allowUsersWhoApplied",
-
 
1853
    googleApi: "$google_map_key" 
-
 
1854
}
-
 
1855
JS;
-
 
1856
 
-
 
1857
$this->inlineScript()->appendScript($js);
-
 
1858
$this->headLink()->appendStylesheet('/react-bundles/jobs/main.css');
-
 
1859
$this->inlineScript()->appendFile('/react-bundles/jobs/jobsBundle.js');
1848
$this->inlineScript()->captureEnd();
Línea 1860... Línea 1849...
1860
?>
1849
?>
1861
 
1850
 
-
 
1851
<!-- Content Header (Page header) -->
-
 
1852
<div id="divListing">
-
 
1853
 
-
 
1854
    <section class="content-header">
-
 
1855
        <div class="container-fluid">
-
 
1856
            <div class="row mb-2">
-
 
1857
                <div class="col-sm-12">
-
 
1858
                    <h1>LABEL_JOBS</h1>
-
 
1859
                </div>
-
 
1860
            </div>
-
 
1861
        </div><!-- /.container-fluid -->
-
 
1862
    </section>
-
 
1863
 
-
 
1864
    <section class="content">
-
 
1865
        <div class="container-fluid">
-
 
1866
            <div class="row">
-
 
1867
                <div class="col-12">
-
 
1868
                    <div class="card">
-
 
1869
                        <div class="card-body">
-
 
1870
                            <table id="gridTable" class="table   table-hover">
-
 
1871
                                <thead>
-
 
1872
                                    <tr>
-
 
1873
 
-
 
1874
                                        <th>LABEL_LAST_DATE_OF_APPLICATION</th>
-
 
1875
                                        <th>LABEL_TITLE</th>
-
 
1876
                                        <th>LABEL_DETAILS</th>
-
 
1877
                                        <th>LABEL_ACTIONS</th>
-
 
1878
                                    </tr>
-
 
1879
                                </thead>
-
 
1880
                                <tbody>
-
 
1881
                                </tbody>
-
 
1882
                            </table>
-
 
1883
                        </div>
-
 
1884
                        <div class="card-footer clearfix">
-
 
1885
                            <div style="float:right;">
-
 
1886
                                <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
1887
                                <?php if ($allowAdd) : ?>
-
 
1888
                                    <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
1889
                                <?php endif; ?>
-
 
1890
                            </div>
-
 
1891
                        </div>
-
 
1892
                    </div>
-
 
1893
                </div>
-
 
1894
            </div>
-
 
1895
        </div>
-
 
1896
    </section>
-
 
1897
</div>
-
 
1898
 
-
 
1899
<div id="divEdit" style="display: none">
-
 
1900
 
-
 
1901
    <section class="content-header">
-
 
1902
        <div class="container-fluid">
-
 
1903
            <div class="row mb-2">
-
 
1904
                <div class="col-sm-12">
-
 
1905
                    <h1 class="btn-edit-back"><i class="fa fa-chevron-left" aria-hidden="true"></i> LABEL_EDIT_JOB</h1>
-
 
1906
 
-
 
1907
                </div>
-
 
1908
            </div>
Línea 1862... Línea 1909...
1862
<!-- Content Header (Page header) -->
1909
        </div><!-- /.container-fluid -->
1863
<div id="jobs"></div>
1910
    </section>
-
 
1911
 
1864
 
1912
    <section class="content">
1865
<section class="content">
1913
        <div class="container-fluid">
1866
        <div class="container-fluid">
1914
 
1867
            <div class="row">
1915
            <div class="row">
1868
                <div class="col-lg-3">
1916
                <div class="col-lg-3">
-
 
1917
                </div>
-
 
1918
                <div class="col-lg-6">
-
 
1919
                    <div class="main-ws-sec">
-
 
1920
 
-
 
1921
                        <!--user-profile-ov end -->
-
 
1922
                        <div class="user-profile-ov">
-
 
1923
                            <h3>
-
 
1924
                                LABEL_STATUS <a href="#" title="" class="btn-status-edit"> <i class="fa fa-pencil"></i></a>
-
 
1925
                            </h3>
-
 
1926
                            <p id="overview-status"></p>
-
 
1927
                        </div>
-
 
1928
 
-
 
1929
                        <div class="user-profile-ov">
-
 
1930
                            <h3>LABEL_TITLE
-
 
1931
                                <a href="#" title="" class="btn-title-edit"><i class="fa fa-pencil"></i></a>
-
 
1932
                            </h3>
-
 
1933
                            <p id="overview-title"></p>
-
 
1934
                        </div>
-
 
1935
                        <div class="user-profile-ov">
-
 
1936
                            <h3>LABEL_OVERVIEW
-
 
1937
                                <a href="#" title="" class="btn-extended-edit"><i class="fa fa-pencil"></i></a>
-
 
1938
                            </h3>
-
 
1939
                            <p id="overview-description"></p>
-
 
1940
                        </div>
-
 
1941
                        <!--user-profile-ov end-->
-
 
1942
                        <div class="user-profile-ov st2">
-
 
1943
                            <h3>LABEL_LAST_DATE_OF_APPLICATION
-
 
1944
                                <a href="#" title="" class="btn-last-date-of-application-edit"><i class="fa fa-pencil"></i></a> <a href="#" title="" class="esp-bx-open"></a>
-
 
1945
                            </h3>
-
 
1946
                            <span id="overview-last-date-of-application"></span>
-
 
1947
                        </div>
-
 
1948
                        <!--user-profile-ov end-->
-
 
1949
                        <div class="user-profile-ov">
-
 
1950
                            <h3>LABEL_EMPLOYMENT_TYPE
-
 
1951
                                <a href="#" title="" class="btn-employment-type-edit"><i class="fa fa-pencil"></i></a>
-
 
1952
                            </h3>
-
 
1953
                            <span id="overview-employment-type"></span>
-
 
1954
                        </div>
-
 
1955
                        <!--user-profile-ov end-->
-
 
1956
                        <div class="user-profile-ov">
-
 
1957
                            <h3>
-
 
1958
                                <a href="#" title="">LABEL_LOCATION</a>
-
 
1959
                                <a href="#" title="" class="btn-location-edit"><i class="fa fa-pencil"></i></a>
1869
                </div>
1960
                            </h3>
1870
                <div class="col-lg-6">
1961
                            <span id="overview-location"></span>
1871
                    <div class="main-ws-sec">
1962
                        </div>
1872
                        <!--user-profile-ov end-->
1963
                        <!--user-profile-ov end-->
1873
                        <div class="user-profile-ov">
1964
                        <div class="user-profile-ov">
Línea 1897... Línea 1988...
1897
                        <div class="user-profile-ov">
1988
                        <div class="user-profile-ov">
1898
                            <h3>
1989
                            <h3>
1899
                                LABEL_SKILLS <a href="#" title="" class="btn-skills-edit"> <i class="fa fa-pencil"></i></a>
1990
                                LABEL_SKILLS <a href="#" title="" class="btn-skills-edit"> <i class="fa fa-pencil"></i></a>
1900
                            </h3>
1991
                            </h3>
1901
                            <ul id="list-skills">
1992
                            <ul id="list-skills">
-
 
1993
 
-
 
1994
 
-
 
1995
                            </ul>
-
 
1996
                        </div>
-
 
1997
                        <!--user-profile-ov end -->
-
 
1998
                        <div class="user-profile-ov">
-
 
1999
                            <h3>
-
 
2000
                                LABEL_LANGUAGES <a href="#" title="" class="btn-languages-edit"> <i class="fa fa-pencil"></i></a>
-
 
2001
                            </h3>
-
 
2002
                            <ul id="list-languages">
-
 
2003
 
-
 
2004
 
1902
                            </ul>
2005
                            </ul>
1903
                        </div>
2006
                        </div>
1904
                        <!--user-profile-ov end -->
2007
                        <!--user-profile-ov end -->
1905
                        <div class="user-profile-ov">
2008
                        <div class="user-profile-ov">
1906
                            <h3>
2009
                            <h3>
1907
                                LABEL_DEGREES <a href="#" title="" class="btn-degrees-edit"> <i class="fa fa-pencil"></i></a>
2010
                                LABEL_DEGREES <a href="#" title="" class="btn-degrees-edit"> <i class="fa fa-pencil"></i></a>
1908
                            </h3>
2011
                            </h3>
1909
                            <ul id="list-degrees">
2012
                            <ul id="list-degrees">
-
 
2013
 
-
 
2014
 
1910
                            </ul>
2015
                            </ul>
1911
                        </div>
2016
                        </div>
-
 
2017
 
-
 
2018
 
-
 
2019
 
1912
                    </div>
2020
                    </div>
1913
                </div>
2021
                </div>
1914
                <div class="col-lg-3">
2022
                <div class="col-lg-3">
1915
                </div>
2023
                </div>
1916
            </div>
2024
            </div>
Línea 2009... Línea 2117...
2009
            <?php echo $this->form()->closeTag($form); ?>
2117
            <?php echo $this->form()->closeTag($form); ?>
2010
        </div>
2118
        </div>
2011
    </div>
2119
    </div>
2012
</div>
2120
</div>
Línea -... Línea 2121...
-
 
2121
 
-
 
2122
 
-
 
2123
<!-- The Modal -->
-
 
2124
<div class="modal" id="modalUsersWhoApplied">
-
 
2125
    <div class="modal-dialog modal-xl">
-
 
2126
        <div class="modal-content">
-
 
2127
 
-
 
2128
            <!-- Modal Header -->
-
 
2129
            <div class="modal-header">
-
 
2130
                <h4 class="modal-title">LABEL_USERS_WHO_APPLIED</h4>
-
 
2131
                <button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
2132
            </div>
-
 
2133
 
-
 
2134
            <!-- Modal body -->
-
 
2135
            <div class="modal-body">
-
 
2136
                <div style="height: 300px;overflow: scroll;">
-
 
2137
                    <table id="gridTableUsersWhoApplied" style="width: 100%" class="table table-bordered table-hover">
-
 
2138
                        <thead>
-
 
2139
                            <tr>
-
 
2140
                                <th>LABEL_FIRST_NAME</th>
-
 
2141
                                <th>LABEL_LAST_NAME</th>
-
 
2142
                                <th>LABEL_EMAIL</th>
-
 
2143
                                <th>LABEL_ACTIONS</th>
-
 
2144
                            </tr>
-
 
2145
                        </thead>
-
 
2146
                        <tbody>
-
 
2147
                        </tbody>
-
 
2148
                    </table>
-
 
2149
                </div>
-
 
2150
 
-
 
2151
            </div>
-
 
2152
 
-
 
2153
            <!-- Modal footer -->
-
 
2154
            <div class="modal-footer">
-
 
2155
                <button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
2156
            </div>
-
 
2157
 
-
 
2158
        </div>
-
 
2159
    </div>
-
 
2160
</div>
-
 
2161
 
-
 
2162
<div class="modal" tabindex="-1" role="dialog" id="extended-box">
-
 
2163
    <div class="modal-dialog" role="document">
-
 
2164
        <?php
-
 
2165
        $form = $this->formExtended;
-
 
2166
        $form->setAttributes([
-
 
2167
            'method' => 'post',
-
 
2168
            'name' => 'form-extended',
-
 
2169
            'id' => 'form-extended'
-
 
2170
        ]);
-
 
2171
        $form->prepare();
-
 
2172
        echo $this->form()->openTag($form);
-
 
2173
        ?>
-
 
2174
        <div class="modal-content">
-
 
2175
            <div class="modal-header">
-
 
2176
                <h3 class="modal-title">LABEL_OVERVIEW</h3>
-
 
2177
            </div>
-
 
2178
            <div class="modal-body">
-
 
2179
                <div class="form-group">
-
 
2180
                    <?php
-
 
2181
                    $element = $form->get('description');
-
 
2182
                    $element->setOptions(['label' => 'LABEL_OVERVIEW']);
-
 
2183
                    $element->setAttributes(['class' => 'form-control']);
-
 
2184
                    echo $this->formLabel($element);
-
 
2185
                    echo $this->formTextArea($element);
-
 
2186
                    ?>
-
 
2187
                </div>
-
 
2188
            </div>
-
 
2189
            <div class="modal-footer">
-
 
2190
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2191
                <button type="button" class="btn btn-default btn-extended-close">LABEL_CANCEL</button>
-
 
2192
            </div>
-
 
2193
            <?php echo $this->form()->closeTag($form); ?>
-
 
2194
        </div>
-
 
2195
    </div>
-
 
2196
</div>
-
 
2197
 
-
 
2198
<div class="modal" tabindex="-1" role="dialog" id="location-box">
-
 
2199
    <div class="modal-dialog" role="document">
-
 
2200
        <?php
-
 
2201
        $form = $this->formLocation;
-
 
2202
        $form->setAttributes([
-
 
2203
            'method' => 'post',
-
 
2204
            'name' => 'form-location',
-
 
2205
            'id' => 'form-location'
-
 
2206
        ]);
-
 
2207
        $form->prepare();
-
 
2208
        echo $this->form()->openTag($form);
-
 
2209
 
-
 
2210
        $fieldnames = [
-
 
2211
            'formatted_address',
-
 
2212
            'address1',
-
 
2213
            'address2',
-
 
2214
            'country',
-
 
2215
            'state',
-
 
2216
            'city1',
-
 
2217
            'city2',
-
 
2218
            'postal_code',
-
 
2219
            'latitude',
-
 
2220
            'longitude',
-
 
2221
        ];
-
 
2222
 
-
 
2223
        foreach ($fieldnames as $fieldname) {
-
 
2224
 
-
 
2225
            $element = $form->get($fieldname);
-
 
2226
            echo $this->formHidden($element);
-
 
2227
        }
-
 
2228
        ?>
-
 
2229
        <div class="modal-content">
-
 
2230
            <div class="modal-header">
-
 
2231
                <h3 class="modal-title">LABEL_LOCATION</h3>
-
 
2232
            </div>
-
 
2233
            <div class="modal-body">
-
 
2234
                <div class="form-group datefm">
-
 
2235
                    <?php
-
 
2236
                    $element = $form->get('location_search');
-
 
2237
                    $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
2238
                    $element->setAttributes(['class' => 'form-control']);
-
 
2239
                    echo $this->formLabel($element);
-
 
2240
                    echo $this->formText($element);
-
 
2241
                    ?>
-
 
2242
                    <i class="fa fa-map-marker"></i>
-
 
2243
                </div>
-
 
2244
            </div>
-
 
2245
            <div class="modal-footer">
-
 
2246
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2247
                <button type="button" class="btn btn-default btn-location-close">LABEL_CANCEL</button>
-
 
2248
            </div>
-
 
2249
            <?php echo $this->form()->closeTag($form); ?>
-
 
2250
        </div>
-
 
2251
    </div>
-
 
2252
</div>
-
 
2253
 
-
 
2254
<div class="modal" tabindex="-1" role="dialog" id="employment-type-box">
-
 
2255
    <div class="modal-dialog" role="document">
-
 
2256
        <?php
-
 
2257
        $form = $this->formEmploymentType;
-
 
2258
        $form->setAttributes([
-
 
2259
            'method' => 'post',
-
 
2260
            'name' => 'form-employment-type',
-
 
2261
            'id' => 'form-employment-type'
-
 
2262
        ]);
-
 
2263
        $form->prepare();
-
 
2264
        echo $this->form()->openTag($form);
-
 
2265
        ?>
-
 
2266
        <div class="modal-content">
-
 
2267
            <div class="modal-header">
-
 
2268
                <h3 class="modal-title">LABEL_EMPLOYMENT_TYPE</h3>
-
 
2269
            </div>
-
 
2270
            <div class="modal-body">
-
 
2271
                <div class="form-group">
-
 
2272
                    <?php
-
 
2273
                    $element = $form->get('employment_type');
-
 
2274
                    $element->setOptions(['label' => 'LABEL_EMPLOYMENT_TYPE']);
-
 
2275
                    $element->setAttributes(['class' => 'form-control']);
-
 
2276
                    echo $this->formLabel($element);
-
 
2277
                    echo $this->formSelect($element);
-
 
2278
                    ?>
-
 
2279
                </div>
-
 
2280
            </div>
-
 
2281
            <div class="modal-footer">
-
 
2282
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2283
                <button type="button" class="btn btn-default btn-employment-type-close">LABEL_CANCEL</button>
-
 
2284
            </div>
-
 
2285
            <?php echo $this->form()->closeTag($form); ?>
-
 
2286
        </div>
-
 
2287
    </div>
-
 
2288
</div>
2013
 
2289
 
2014
<div class="modal" tabindex="-1" role="dialog" id="job-category-box">
2290
<div class="modal" tabindex="-1" role="dialog" id="job-category-box">
2015
    <div class="modal-dialog" role="document">
2291
    <div class="modal-dialog" role="document">
2016
        <?php
2292
        <?php
2017
        $form = $this->formJobCategory;
2293
        $form = $this->formJobCategory;
Línea 2157... Línea 2433...
2157
            <?php echo $this->form()->closeTag($form); ?>
2433
            <?php echo $this->form()->closeTag($form); ?>
2158
        </div>
2434
        </div>
2159
    </div>
2435
    </div>
2160
</div>
2436
</div>
Línea -... Línea 2437...
-
 
2437
 
2161
 
2438
 
2162
<div class="modal" tabindex="-1" role="dialog" id="skills-box">
2439
<div class="modal" tabindex="-1" role="dialog" id="skills-box">
2163
    <div class="modal-dialog" role="document">
2440
    <div class="modal-dialog" role="document">
2164
        <?php
2441
        <?php
2165
        $form = $this->formSkill;
2442
        $form = $this->formSkill;
Línea 2195... Línea 2472...
2195
            <?php echo $this->form()->closeTag($form); ?>
2472
            <?php echo $this->form()->closeTag($form); ?>
2196
        </div>
2473
        </div>
2197
    </div>
2474
    </div>
2198
</div>
2475
</div>
Línea -... Línea 2476...
-
 
2476
 
-
 
2477
<div class="modal" tabindex="-1" role="dialog" id="languages-box">
-
 
2478
    <div class="modal-dialog" role="document">
-
 
2479
        <?php
-
 
2480
        $form = $this->formLanguage;
-
 
2481
        $form->setAttributes([
-
 
2482
            'method' => 'post',
-
 
2483
            'name' => 'form-language',
-
 
2484
            'id' => 'form-language'
-
 
2485
        ]);
-
 
2486
        $form->prepare();
-
 
2487
        echo $this->form()->openTag($form);
-
 
2488
        ?>
-
 
2489
        <div class="modal-content">
-
 
2490
            <div class="modal-header">
-
 
2491
                <h3 class="modal-title">LABEL_LANGUAGES</h3>
-
 
2492
            </div>
-
 
2493
            <div class="modal-body">
-
 
2494
                <div class="form-group">
-
 
2495
                    <?php
-
 
2496
                    $element = $form->get('languages');
-
 
2497
                    $element->setOptions(['label' => 'LABEL_LANGUAGES']);
-
 
2498
                    $element->setAttributes(['class' => 'form-control']);
-
 
2499
                    echo $this->formLabel($element);
-
 
2500
                    echo $this->formSelect($element);
-
 
2501
                    ?>
-
 
2502
                </div>
-
 
2503
            </div>
-
 
2504
            <div class="modal-footer">
-
 
2505
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2506
                <button type="button" class="btn btn-default btn-languages-close">LABEL_CANCEL</button>
-
 
2507
            </div>
-
 
2508
            <?php echo $this->form()->closeTag($form); ?>
-
 
2509
        </div>
-
 
2510
    </div>
-
 
2511
</div>
-
 
2512
 
-
 
2513
<div class="modal" tabindex="-1" role="dialog" id="last-date-of-application-box">
-
 
2514
    <div class="modal-dialog" role="document">
-
 
2515
        <?php
-
 
2516
        $form = $this->fromLastDateOfApplication;
-
 
2517
        $form->setAttributes([
-
 
2518
            'method' => 'post',
-
 
2519
            'name' => 'form-last-date-of-application',
-
 
2520
            'id' => 'form-last-date-of-application'
-
 
2521
        ]);
-
 
2522
        $form->prepare();
-
 
2523
        echo $this->form()->openTag($form);
-
 
2524
        ?>
-
 
2525
        <div class="modal-content">
-
 
2526
            <div class="modal-header">
-
 
2527
                <h3 class="modal-title">LABEL_LAST_DATE_OF_APPLICATION</h3>
-
 
2528
            </div>
-
 
2529
            <div class="modal-body">
-
 
2530
                <div class="form-group">
-
 
2531
                    <?php
-
 
2532
                    $element = $form->get('last_date_of_application');
-
 
2533
                    $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
2534
                    $element->setAttributes(['class' => 'form-control']);
-
 
2535
                    echo $this->formLabel($element);
-
 
2536
                    echo $this->formText($element);
-
 
2537
                    ?>
-
 
2538
                </div>
-
 
2539
            </div>
-
 
2540
            <div class="modal-footer">
-
 
2541
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2542
                <button type="button" class="btn btn-default btn-last-date-of-application-close">LABEL_CANCEL</button>
-
 
2543
            </div>
-
 
2544
            <?php echo $this->form()->closeTag($form); ?>
-
 
2545
        </div>
-
 
2546
    </div>
-
 
2547
</div>
2199
 
2548
 
2200
<div class="modal" tabindex="-1" role="dialog" id="degrees-box">
2549
<div class="modal" tabindex="-1" role="dialog" id="degrees-box">
2201
    <div class="modal-dialog" role="document">
2550
    <div class="modal-dialog" role="document">
2202
        <?php
2551
        <?php
2203
        $form = $this->formDegree;
2552
        $form = $this->formDegree;
Línea 2229... Línea 2578...
2229
                <button type="button" class="btn btn-default btn-degrees-close">LABEL_CANCEL</button>
2578
                <button type="button" class="btn btn-default btn-degrees-close">LABEL_CANCEL</button>
2230
            </div>
2579
            </div>
2231
            <?php echo $this->form()->closeTag($form); ?>
2580
            <?php echo $this->form()->closeTag($form); ?>
2232
        </div>
2581
        </div>
2233
    </div>
2582
    </div>
-
 
2583
</div>
-
 
2584
 
-
 
2585
<div class="modal" tabindex="-1" role="dialog" id="status-box">
-
 
2586
    <div class="modal-dialog" role="document">
-
 
2587
        <?php
-
 
2588
        $form = $this->formStatus;
-
 
2589
        $form->setAttributes([
-
 
2590
            'method' => 'post',
-
 
2591
            'name' => 'form-status',
-
 
2592
            'id' => 'form-status'
-
 
2593
        ]);
-
 
2594
        $form->prepare();
-
 
2595
        echo $this->form()->openTag($form);
-
 
2596
        ?>
-
 
2597
        <div class="modal-content">
-
 
2598
            <div class="modal-header">
-
 
2599
                <h3 class="modal-title">LABEL_STATUS</h3>
-
 
2600
            </div>
-
 
2601
            <div class="modal-body">
-
 
2602
                <div class="form-group">
-
 
2603
                    <?php
-
 
2604
                    $element = $form->get('status');
-
 
2605
                    $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
2606
                    $element->setAttributes(['class' => 'form-control']);
-
 
2607
                    echo $this->formLabel($element);
-
 
2608
                    echo $this->formSelect($element);
-
 
2609
                    ?>
-
 
2610
                </div>
-
 
2611
            </div>
-
 
2612
 
-
 
2613
 
-
 
2614
            <div class="modal-footer">
-
 
2615
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2616
                <button type="button" class="btn btn-default btn-status-close">LABEL_CANCEL</button>
-
 
2617
            </div>
-
 
2618
            <?php echo $this->form()->closeTag($form); ?>
-
 
2619
        </div>
-
 
2620
    </div>
-
 
2621
</div>
-
 
2622
 
-
 
2623
<div class="modal" tabindex="-1" role="dialog" id="title-box">
-
 
2624
    <div class="modal-dialog" role="document">
-
 
2625
        <?php
-
 
2626
        $form = $this->formTitle;
-
 
2627
        $form->setAttributes([
-
 
2628
            'method' => 'post',
-
 
2629
            'name' => 'form-title',
-
 
2630
            'id' => 'form-title'
-
 
2631
        ]);
-
 
2632
        $form->prepare();
-
 
2633
        echo $this->form()->openTag($form);
-
 
2634
        ?>
-
 
2635
        <div class="modal-content">
-
 
2636
            <div class="modal-header">
-
 
2637
                <h3 class="modal-title">LABEL_TITLE</h3>
-
 
2638
            </div>
-
 
2639
            <div class="modal-body">
-
 
2640
                <div class="form-group">
-
 
2641
                    <?php
-
 
2642
                    $element = $form->get('title');
-
 
2643
                    $element->setOptions(['label' => 'LABEL_TITLE']);
-
 
2644
                    $element->setAttributes(['class' => 'form-control']);
-
 
2645
                    echo $this->formLabel($element);
-
 
2646
                    echo $this->formText($element);
-
 
2647
                    ?>
-
 
2648
                </div>
-
 
2649
            </div>
-
 
2650
 
-
 
2651
 
-
 
2652
            <div class="modal-footer">
-
 
2653
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2654
                <button type="button" class="btn btn-default btn-title-close">LABEL_CANCEL</button>
-
 
2655
            </div>
-
 
2656
            <?php echo $this->form()->closeTag($form); ?>
-
 
2657
        </div>
-
 
2658
    </div>
2234
</div>
2659
</div>
2235
2660