update: drop button for exort to excel and pdf on assessments
This commit is contained in:
parent
532d971a3d
commit
1b8a5664aa
|
|
@ -352,40 +352,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="settings" class="content" style="display: none;">
|
|
||||||
<h1>Settings</h1>
|
|
||||||
<p>Possible account settings
|
|
||||||
needed<br>during the learning process</p>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col">
|
|
||||||
<div class="custom-card">
|
|
||||||
<img src="./images/profile.png" alt="Image 1" class="circle-image">
|
|
||||||
<h2 class="custom-title">My Profile</h2>
|
|
||||||
<p class="custom-subtitle">Ubah data diri kamu</p>
|
|
||||||
{{-- <button type="button" class="btn btn-primary custom-button">
|
|
||||||
<p class="button-text">Edit Now</p>
|
|
||||||
</button> --}}
|
|
||||||
<div class="custom-button">
|
|
||||||
<p class="button-text">Edit Now</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<div class="custom-card">
|
|
||||||
<img src="./images/my-password.png" alt="Image 2" class="circle-image">
|
|
||||||
<h2 class="custom-title">My Password</h2>
|
|
||||||
<p class="custom-subtitle">Ganti kata sandimu</p>
|
|
||||||
<div class="custom-button">
|
|
||||||
<p class="button-text">Change Now</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -578,20 +544,20 @@ function showContent(contentId) {
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
dom: 'Bfrtip', // Needs to include 'B' for buttons
|
// dom: 'Bfrtip', // Needs to include 'B' for buttons
|
||||||
buttons: [
|
// buttons: [
|
||||||
{
|
// {
|
||||||
extend: 'excelHtml5',
|
// extend: 'excelHtml5',
|
||||||
text: 'Export to Excel',
|
// text: 'Export to Excel',
|
||||||
title: 'Data Export REACT',
|
// title: 'Data Export REACT',
|
||||||
filename: 'react_data_export_topic_finished_student_' + new Date().toLocaleDateString() + '_' + new Date().toLocaleTimeString(),
|
// filename: 'react_data_export_topic_finished_student_' + new Date().toLocaleDateString() + '_' + new Date().toLocaleTimeString(),
|
||||||
customize: function (xlsx) {
|
// customize: function (xlsx) {
|
||||||
var sheet = xlsx.xl.worksheets['sheet1.xml'];
|
// var sheet = xlsx.xl.worksheets['sheet1.xml'];
|
||||||
// Customizations go here
|
// // Customizations go here
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
'pdf',
|
// 'pdf',
|
||||||
]
|
// ]
|
||||||
});
|
});
|
||||||
$('#studentSubmissionTable').DataTable({
|
$('#studentSubmissionTable').DataTable({
|
||||||
// Configuration options
|
// Configuration options
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user