{"id":105,"date":"2015-10-21T23:22:40","date_gmt":"2015-10-21T21:22:40","guid":{"rendered":"http:\/\/themes.loc\/workscout\/post-a-job\/"},"modified":"2024-05-07T19:46:10","modified_gmt":"2024-05-07T19:46:10","slug":"post-a-job","status":"publish","type":"page","link":"https:\/\/brogamedev.com\/en\/post-a-job\/","title":{"rendered":"Post a Job"},"content":{"rendered":"        <form method=\"post\" id=\"job_package_selection\">\n            <div class=\"job_listing_packages_title\">\n                <input type=\"submit\" name=\"continue\" class=\"button gd-button\" value=\"Listing Details &rarr;\"\/>\n                <input type=\"hidden\" name=\"job_id\" value=\"0\"\/>\n                <input type=\"hidden\" name=\"step\" value=\"0\"\/>\n                <input type=\"hidden\" name=\"job_manager_form\" value=\"submit-job\"\/>\n                <h2>Choose a package<\/h2>\n            <\/div>\n            <div class=\"job_listing_packages\">\n                    <ul class=\"job_packages\">\n                    <li style=\"color: #ff5454;\">\n                You have run out of available packages            <\/li>\n                            <li class=\"package-section purchase-package opened \">\n                Additional packages                <i class=\"fa fa-chevron-right\" id=\"chevron\" aria-hidden=\"true\"><\/i>\n            <\/li>\n            \n                        <\/ul>\n\n\n<style>\n    .purchase-package {\n        cursor: pointer;\n    }\n<\/style>\n\n<script>\n\n    function purchaseBlockToggle(opened) {\n        let display = (opened) ? '' : 'none';\n        document.querySelectorAll('.job-package').forEach(function (e) {\n            e.style.display = display\n        })\n    }\n\n    let opened = true    \n    purchaseBlockToggle(opened)\n\n    document.querySelector('.package-section.purchase-package')\n        .addEventListener('click', function (e) {\n            let $el = e.target.closest('.package-section.purchase-package');\n            if (!$el) return\n            $el.querySelector('#chevron').classList.toggle(\"fa-chevron-right\")\n            $el.querySelector('#chevron').classList.toggle(\"fa-chevron-down\");\n            $el.classList.toggle('opened')\n            purchaseBlockToggle($el.classList.contains('opened'))\n        })\n\n<\/script>            <\/div>\n        <\/form>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-dashboard.php","meta":{"footnotes":""},"class_list":["post-105","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/pages\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":3,"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/pages\/105\/revisions"}],"predecessor-version":[{"id":2333,"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/pages\/105\/revisions\/2333"}],"wp:attachment":[{"href":"https:\/\/brogamedev.com\/en\/wp-json\/wp\/v2\/media?parent=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}