x
x
x
x
...
ConfiForms Form Definition | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
HTML |
---|
<a href="#cf_messages" id="toggle-admin-table">Manage Announcements</a>
<script>
$( "#toggle-admin-table" ).click(function() {
if($('#announcementsTable').is(":visible")){
$('#announcementsTable').hide()
}
else{
$('#announcementsTable').show()
}
});
let adminPanel = document.getElementById('admin-panel')
let addAnouncement = $('button.aui-button.aui-button-primary.cf_dashboardannouncementspremium')[0]
adminPanel.insertAdjacentElement('afterbegin',addAnouncement)
</script> |
HTML |
---|
<!--
The following must be wrapped in a hidden & toggleable announcements-table div
--> |
Divbox | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
HTML |
---|
<!-- End Admin section --> |
...