Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 151 Rev 152
Línea 704... Línea 704...
704
											'method'    : 'post',
704
											'method'    : 'post',
705
											'url'       :  action,
705
											'url'       :  action,
706
									}).done(function(response) {
706
									}).done(function(response) {
707
											if(response['success']) {
707
											if(response['success']) {
708
													$.fn.showSuccess(response['data']);
708
													$.fn.showSuccess(response['data']);
709
													gridTable.api().ajax.reload(null, false);
-
 
710
											} else {
709
											} else {
711
													$.fn.showError(response['data']);
710
													$.fn.showError(response['data']);
712
											}
711
											}
713
									}).fail(function( jqXHR, textStatus, errorThrown) {
712
									}).fail(function( jqXHR, textStatus, errorThrown) {
714
											$.fn.showError(textStatus);
713
											$.fn.showError(textStatus);
Línea 1925... Línea 1924...
1925
        <div class="row">
1924
        <div class="row">
1926
            <div class="col-12">
1925
            <div class="col-12">
1927
                <div class="card">
1926
                <div class="card">
1928
                    <div class="card-body">
1927
                    <div class="card-body">
Línea 1929... Línea 1928...
1929
 
1928
 
1930
					<table  class="table table-hover">
1929
					<table  id="gridTable" class="table table-hover">
1931
                            <thead>
1930
                            <thead>
1932
                                <tr>
1931
                                <tr>
1933
                                    <th>LABEL_NAME</th>
1932
                                    <th>LABEL_NAME</th>
1934
                                    <th>LABEL_LANGUAGE</th>
1933
                                    <th>LABEL_LANGUAGE</th>
1935
                                    <th>LABEL_ACTIVE</th>
1934
                                    <th>LABEL_ACTIVE</th>
1936
                                    <th>LABEL_ACTIONS</th>
1935
                                    <th>LABEL_ACTIONS</th>
1937
                                </tr>
1936
                                </tr>
1938
                            </thead>
1937
                            </thead>
1939
                            <tbody id="rows"></tbody>
1938
                            <tbody id="rows"></tbody>
1940
                        </table>
-
 
1941
 
-
 
1942
 
-
 
1943
                        <table id="gridTable" class="table   table-hover">
-
 
1944
                            <thead>
-
 
1945
                                <tr>
-
 
1946
                                    <th>LABEL_NAME</th>
-
 
1947
                                    <th>LABEL_LANGUAGE</th>
-
 
1948
                                    <th>LABEL_ACTIVE</th>
-
 
1949
                                    <th>LABEL_ACTIONS</th>
-
 
1950
                                </tr>
-
 
1951
                            </thead>
-
 
1952
                            <tbody>
-
 
1953
							
-
 
1954
                            </tbody>
-
 
1955
                        </table>
1939
                        </table>
1956
                    </div>
1940
                    </div>
1957
                    <div class="card-footer clearfix">
1941
                    <div class="card-footer clearfix">
1958
                        <div style="float:right;">
1942
                        <div style="float:right;">
1959
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
1943
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>