Files
spota-dev/assets/js/mhs/_pengumuman.php
Power BI Dev a52c2a8462 Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
2026-05-02 10:09:32 +07:00

56 lines
2.5 KiB
PHP

<link rel="stylesheet" type="text/css" href="../assets/plugins/select2/select2.css" />
<link rel="stylesheet" href="../assets/plugins/DataTables/media/css/DT_bootstrap.css" />
<link rel="stylesheet" href="../assets/plugins/ckeditor/contents.css">
<link href="../assets/plugins/bootstrap-modal/css/bootstrap-modal-bs3patch.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/bootstrap-modal/css/bootstrap-modal.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="../assets/plugins/gritter/css/jquery.gritter.css">
<script type="text/javascript" src="../assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="../assets/plugins/DataTables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="../assets/plugins/DataTables/media/js/DT_bootstrap.js"></script>
<script src="../assets/plugins/ckeditor/ckeditor.js"></script>
<script src="../assets/plugins/ckeditor/adapters/jquery.js"></script>
<script src="../assets/plugins/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="../assets/plugins/bootstrap-modal/js/bootstrap-modal.js"></script>
<script src="../assets/plugins/bootstrap-modal/js/bootstrap-modalmanager.js"></script>
<script src="../assets/plugins/gritter/js/jquery.gritter.min.js"></script>
<script>
jQuery(document).ready(function() {
Main.init();
$('#list-pengumuman').dataTable({
"iDisplayLength": 10,
"aLengthMenu": [
[10, 15, 20, 50, 100, -1],
[10, 15, 20, 50, 100, "All"] // change per page values here
],
"bProcessing": true,
"bServerSide": true,
"bSort": false,
"sAjaxSource": "page/pengumuman/list.pengumuman.php",
"oLanguage": {
"sLengthMenu": "Menampilkan _MENU_ Data per halaman",
"sZeroRecords": "Maaf, Data tidak ada",
"sInfo": "Menampilkan _START_ s/d _END_ dari _TOTAL_ data",
"sInfoEmpty": "Menampilakan 0 s/d 0 dari 0 data",
"sSearch": "",
"sInfoFiltered": "",
"oPaginate": {
"sPrevious": "",
"sNext": ""
}
}
});
$('#list-pengumuman_wrapper .dataTables_filter input').addClass("form-control input-sm").attr("placeholder", "Search");
$('#list-pengumuman_wrapper .dataTables_length select').addClass("m-wrap small");
$('#list-pengumuman_wrapper .dataTables_length select').select2();
});
function LihatPengumuman(id){
location.href="?page=pengumuman&menu=edit-pengumuman&pengumuman="+id;
}
</script>