{"id":3025,"date":"2023-11-16T08:13:17","date_gmt":"2023-11-16T14:13:17","guid":{"rendered":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/?page_id=3025"},"modified":"2025-08-25T12:28:16","modified_gmt":"2025-08-25T17:28:16","slug":"policies-and-procedures","status":"publish","type":"page","link":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/campus\/about\/policies-and-procedures\/","title":{"rendered":"Policies and Procedures"},"content":{"rendered":"\n\n\t<h2>Student Behavior<\/h2>\n<p>As part of the Texas Education Code (Sec. 37.0012), all schools in Texas shall designate a Campus Behavior Coordinator whose primary responsibility is to maintain student discipline for the campus and be a contact for parents or guardians concerning individual student disciplinary actions by the school. The person designated may be the principal of the campus or any other campus administrator selected by the principal.<\/p>\n<ul>\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1B8VpJ9MT8_7Ob_dXljK8e6QX5BXl0MQr\/preview\" target=\"_blank\" rel=\"noopener\">Overview of School Discipline in Texas For Parents (English)<\/a><\/li>\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1Y_G8a3F-7kNr328xx6wTEAmnDt2POUmt\/preview\" target=\"_blank\" rel=\"noopener\">Overview of School Discipline in Texas For Parents (Spanish)<\/a><\/li>\n<\/ul>\n<h3>Your Campus Behavior Coordinators<\/h3>\n<table class=\"google-sheet-integration responsive\" id=\"table-a34008dc91b\">\n\t\t<thead id=\"thead-a34008dc91b\"><tr><th><span class=\"screen-reader-text\"><\/span><\/th><\/tr><\/thead>\n    <tbody id=\"tbody-a34008dc91b\"><tr><td><span class=\"screen-reader-text\">Loading...<\/span><\/td><\/tr><\/tbody>\n  <\/table>\n\t<div class=\"responsive scroll-more\">Scroll for more >><\/div>\n<script>\n(function getSpreadsheet(delay){\n\n\t\/\/ delay = delay || 1000;\n\nvar url = \"https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1AqqY-Rf_lioKvO5DwwEPY8wpnUa9VAK9tbSVSFHPOGQ\/values\/Behavior\/?majorDimension=ROWS&key=AIzaSyAQeVAwmeL1ghHzI2hQ5w803pjJYkSTDJ8&valueRenderOption=FORMATTED_VALUE\";\n\n\t\/\/ console.log(url);\n\nvar promise = jQuery.getJSON( url, function( data, status, jqXHR){\n\t\t\tconsole.log(\"Server Code: \", jqXHR.status, \" getJSON request for a34008dc91b successful!\");\n\t\t});\npromise.done(function( data ){\n\n\tconsole.log(data);\n\n\tconst rows = data.values\n\n\t\/\/ Print Header Row\n\n\tconst headerRow = Object.values(rows[0]);\n\n\tlet thead = document.getElementById(\"thead-a34008dc91b\");\n\tthead.innerHTML = \"\";\n\tlet th = \"<tr>\";\n\n\tfor (i = 0; i < headerRow.length; i++) {\n\t\tconst headerValue = headerRow[i].toString();\n\t\tth += \"<th>\" + headerValue + \"<\/th>\";\n\t}\n\tth += \"<\/tr>\";\n\tthead.innerHTML += th;\n\n\t\/\/ Print Body Rows\n\n\tlet tbody = document.getElementById(\"tbody-a34008dc91b\");\n\ttbody.innerHTML = \"\";\n\n\tfor (const row of rows.slice(1)) {\n\t\t\tconst individualRow = Object.values(row)\n\n\t\t\tlet tr = \"<tr class=\\\"ws-dd-gs-table-row\\\" id=\\\"trow-a34008dc91b-\\\">\";\n\n\t\t\tfor (i = 0; i < individualRow.length; i++) { \/\/ Loop through Cells and Print\n\n\t\t\t\tvar bodyValue = individualRow[i].toString();\n\t\t\t\tconst websiteRegex = new RegExp(\"http\");\n\t\t\t\tconst emailRegex = new RegExp(\"@aisd.net\");\n\t\t\t\tconst phoneRegex = \/^\\(?([0-9]{3})\\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$\/;\n\t\t\t\tvar headerColumnCondition = \"no\";\n\n\t\t\t\t\tif (i == 0 && headerColumnCondition == \"yes\") { \/\/ Conditional Header Column based on Shortcode Attributes\n\t\t\t\t\t\tbodyValue = bodyValue.replace(\/(\\r\\n|\\r|\\n)\/g, \"<br>\");\n\t\t\t\t\t\ttr += \"<th>\" + bodyValue + \"<\/th>\";\n\t\t\t\t\t} else { \/\/ Conditional Email REGEX\n\t\t\t\t\t\tif (emailRegex.test(bodyValue) && \"\" != \"proclamation\" ) {\n\t\t\t\t\t\t\ttr += \"<td><a href=\\\"mailto:\" + bodyValue + \"\\\" style=\\\"white-space: nowrap\\\">\" + bodyValue + \"<\/a><\/td>\";\n\t\t\t\t\t} else if (websiteRegex.test(bodyValue) && \"\" != \"proclamation\" ) { \/\/ Conditional Website REGEX\n\t\t\t\t\t\ttr += \"<td><a href=\\\"\" + bodyValue + \"\\\" target=\\\"_blank\\\">View Site<\/a><\/td>\";\n\t\t\t\t\t} else if (phoneRegex.test(bodyValue)) {\n\t\t\t\t\t\ttr += \"<td style=\\\"white-space: nowrap\\\">\" + bodyValue + \"<\/td>\";\n\t\t\t\t\t} else { \/\/ All Other Cells\n\t\t\t\t\tbodyValue = bodyValue.replace(\/(\\r\\n|\\r|\\n)\/g, \"<br>\");\n\t\t\t\t\ttr += \"<td>\" + bodyValue + \"<\/td>\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (individualRow.length != headerRow.length) { \/\/ Print Empty Cells Based on # of Columns\n\t\t\t\tlet lengthDifference = headerRow.length - individualRow.length;\n\t\t\t\t\tfor (j = 0; j < lengthDifference; j++) {\n\t\t\t\t\ttr += \"<td class=\\\"empty-cell\\\"><\/td>\";\n\t\t\t\t\t}\n\t\t\t}\n\t\t\ttr += \"<\/tr>\";\n\t\ttbody.innerHTML += tr;\n\t}\n}).then( \n\t\/\/ Conditionally Load DataTables JS based on Shortcode Attributes\n\tjQuery(document).ready( function () {\n\t\tif (\"no\" == \"yes\") {\n\t\t\tjQuery(\"#table-a34008dc91b\").DataTable( {\n\t\t\t\tpaging: false,\n\t\t\t\tinfo: false,\n\t\t\t\tsearching: true,\n\t\t\t \tordering: true,\n\t\t\t \torder: []\n\t\t \t});\n\t\t\tjQuery('#resetsort').click( function() {\n\t\t\t\tvar table = jQuery(\"#table-a34008dc91b\").DataTable();\n\t\t\t\ttable.order.neutral().draw();\n\t\t\t});\n \t\t}\n\t\/\/ Remove certain columns not applicable based on Shortcode Attributes Usecase\t\n\t\tif (\"\" == \"staff-directory\") {\n\t\t\tjQuery(\"#table-a34008dc91b tr\").each(function() {\n\t\t\t\tjQuery(this).children(\"td:eq(2)\").remove();\n\t\t\t\tjQuery(this).children(\"th:eq(2)\").remove();\n\t\t\t\tjQuery(this).children(\"td:eq(4)\").remove();\n\t\t\t\tjQuery(this).children(\"th:eq(4)\").remove();\n\t\t\t});\n\t\t} \n\t} )\n).fail( \/\/ Failure Reporting and Retries based on XHR Code\n\tfunction(jqXHR, textStatus, errorThrown) {\n\tconsole.log(\"Server Code: \", jqXHR.status, \"getJSON request failed! Retrying AJAX Query for a34008dc91b\");\n\tvar placeholder = document.getElementById(\"tbody-a34008dc91b\");\n\tvar loadingPlaceholder = \"<tr><td><div style=\\\"font-size: 200%\\\">Retrieving Information. Please Wait...<\/div><\/td><\/tr>\";\n\tif (jqXHR.status == 429) {\n\t\tsetTimeout(() => {\n\t\t\tgetSpreadsheet()}, delay = function getRandomInt(min, max) { \/\/ Delay the refetching of JSON after failure by a random amount of seconds\n\t\t\t\t\t  min = Math.ceil(5000);\n\t\t\t\t\t  max = Math.floor(10000);\n\t\t\t\t\t  return Math.floor(Math.random() * (max - min) + min); \/\/The maximum is exclusive and the minimum is inclusive\n\t\t});\n\t}\n\tif (jqXHR.status == 400) {\n\t\tvar loadingPlaceholder = \"<tr><td><div><i>Something went wrong with retrieving this information! If you continue to see this issue, please email webservices@aisd.net and include this page's URL.<\/i><\/div><\/td><\/tr>\";\n\t}\t\t\n\tplaceholder.innerHTML = loadingPlaceholder;\n})\n})(3000);\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Student Behavior As part of the Texas Education Code (Sec. 37.0012), all schools in Texas shall designate a Campus Behavior Coordinator whose primary responsibility is to maintain student discipline for the campus and be a contact for parents or guardians concerning individual student disciplinary actions by the school. The person designated may be the principal&hellip;<\/p>\n","protected":false},"author":11818,"featured_media":0,"parent":46,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3025","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/pages\/3025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/users\/11818"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/comments?post=3025"}],"version-history":[{"count":"3","href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/pages\/3025\/revisions"}],"predecessor-version":[{"id":3929,"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/pages\/3025\/revisions\/3929"}],"up":[{"embeddable":true,"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/pages\/46"}],"wp:attachment":[{"href":"https:\/\/www.aisd.net\/center-for-visual-and-performing-arts\/wp-json\/wp\/v2\/media?parent=3025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}