{"id":104,"date":"2025-04-15T15:44:28","date_gmt":"2025-04-15T15:44:28","guid":{"rendered":"http:\/\/localhost\/awwavms-dev\/?page_id=104"},"modified":"2025-08-13T18:03:49","modified_gmt":"2025-08-13T10:03:49","slug":"dashboard","status":"publish","type":"page","link":"https:\/\/awwa.org.sg\/volunteer\/dashboard\/","title":{"rendered":"Dashboard"},"content":{"rendered":"\r\n    <div class=\"container volunteer-upcoming\" style=\"margin-bottom: 30px;\">\r\n        <div class=\"header\">\r\n            <h5>Upcoming Opportunities<\/h5>\r\n            <a class=\"button\" style=\"font-size: 14px;\" href=\"https:\/\/awwa.org.sg\/volunteer\">View More Opportunities<\/a>\r\n        <\/div>\r\n        <div class=\"spinner\" style=\"display:none;\"><\/div>\r\n        <div id=\"volunteer-opportunity-list-container\" data-page=\"1\">\r\n            <!-- AJAX Content Loads Here -->\r\n        <\/div>\r\n        <div class=\"pagination\" id=\"volunteer-pagination\">\r\n            <!-- Buttons will be populated by JS -->\r\n        <\/div>\r\n    <\/div>\r\n\r\n        <div id=\"modal-overlay\" style=\"display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.5; z-index:9998;\"><\/div>\r\n\r\n        <div id=\"cancel-confirm-modal\" class=\"modal\" style=\"display:none;\">\r\n        <div class=\"modal-close\"><span class=\"dashicons dashicons-no-alt\"><\/div>\r\n        <p>Are you sure you want to cancel your participation?<\/p>\r\n        <p style=\"font-size:16px;font-weight:normal;\">If you cancel within 3 days of the session, it will require approval from the service centre.<\/p>\r\n        <div class=\"action-buttons\" style=\"margin-top:30px;\">\r\n            <button class=\"modal-btn-close action-button-grey\">Close<\/button>\r\n            <button id=\"confirm-cancel-btn\">Yes, Cancel<\/button>\r\n            <div class=\"spinner\" style=\"display:none;\"><\/div>\r\n        <\/div>\r\n    <\/div>\r\n    <div id=\"cancel-success-modal\" class=\"modal\" style=\"display:none;\">\r\n        <div class=\"modal-close\"><span class=\"dashicons dashicons-no-alt\"><\/div>\r\n        <p>Your participation has been cancelled successfully.<\/p>\r\n        <div class=\"action-buttons\" style=\"margin-top:30px;\">\r\n            <button class=\"modal-btn-refresh action-button-grey\">Close<\/button>\r\n        <\/div>\r\n    <\/div>\r\n    <div id=\"pending-cancel-modal\" class=\"modal\" style=\"display:none;\">\r\n        <div class=\"modal-close\"><span class=\"dashicons dashicons-no-alt\"><\/div>\r\n        <p>Your cancellation is pending approval as it's within 3 days of the session.<\/p>\r\n        <p style=\"font-size:16px;font-weight:normal;\">We will email you when it is approved.<\/p>\r\n        <div class=\"action-buttons\" style=\"margin-top:30px;\">\r\n            <button class=\"modal-btn-refresh action-button-grey\">Close<\/button>\r\n        <\/div>\r\n    <\/div>\r\n    \n\n\n\r\n    <div class=\"container volunteer-history\">\r\n        <div class=\"header\" style=\"margin-bottom:20px;\">\r\n            <h5>Volunteering History<\/h5>\r\n            <div id=\"volunteer-history-filter\">\r\n                <!-- Year filters injected here -->\r\n            <\/div>\r\n        <\/div>\r\n        <div id=\"volunteer-history-table-container\">\r\n            <table id=\"volunteer-history-table\" class=\"list-result hover row-border dataTable\">\r\n                <thead>\r\n                    <tr>\r\n                        <th>Activity<\/th>\r\n                        <th>Date<\/th>\r\n                        <th>Time<\/th>\r\n                        <th>Centre<\/th>\r\n                        <th>Duration<\/th>\r\n                    <\/tr>\r\n                <\/thead>\r\n                <tbody><tr><td colspan=\"5\"><div class=\"spinner\" style=\"display:none;\"><\/div><\/td><\/tr><\/tbody>\r\n            <\/table>\r\n            <div class=\"pagination\"><\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"templates\/volunteer.php","meta":{"footnotes":""},"class_list":["post-104","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/pages\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":3,"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/pages\/104\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/pages\/104\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/awwa.org.sg\/volunteer\/wp-json\/wp\/v2\/media?parent=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}