{"id":1003,"date":"2017-10-28T17:11:14","date_gmt":"2017-10-28T17:11:14","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/geninfo\/?page_id=1003"},"modified":"2025-04-21T16:41:37","modified_gmt":"2025-04-21T21:41:37","slug":"staff-directory","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/geninfo\/staff-directory\/","title":{"rendered":"Staff Directory"},"content":{"rendered":"<h2>Library Employee\/Staff Directory<\/h2>\n<div class=\"row\">\n<div class=\"col-xs-12 col-md-8\">All updates to information here can be made in <a href=\"https:\/\/libdirectory.library.illinois.edu\/\" target=\"_blank\" rel=\"noopener\">LibDirectory<\/a>.<br \/>\nClick on the column headers to sort by different categories. You can also use the search bar on the right to search all columns.<\/div>\n<div><a class=\"pull-right btn btn--medium-blue\" style=\"margin-right: 15px;\" href=\"http:\/\/wordpress.library.illinois.edu\/geninfo\/unit-directory\/\"> Unit Directory<\/a><a class=\"pull-right btn btn--medium-blue\" style=\"margin-bottom: 15px; margin-right: 15px;\" href=\"http:\/\/www.library.illinois.edu\/geninfo\/library-directory\/\"> Library Directory<\/a><\/div>\n<\/div>\n<p><label for=\"dropdown1\"> <strong> Click to filter by employee type: <\/strong> <\/label> <select id=\"dropdown1\" style=\"margin: 0; padding: 0;\"><option value=\"\">Show All<\/option><option value=\"Emeritus\">Emeritus<\/option><option value=\"Academic Professional\">Academic Professional<\/option><option value=\"Academic\/Graduate Hourly\">Academic\/Graduate Hourly<\/option><option value=\"Civil Service\">Civil Service<\/option><option value=\"Extra Help\">Extra Help<\/option><option value=\"Faculty\">Faculty<\/option><option value=\"Graduate Assistant\">Graduate Assistant<\/option><option value=\"Postdoctoral\">Postdoctoral<\/option><option value=\"Retired Academic Professional\">Retired Academic Professional<\/option><option value=\"Retired Civil Service\">Retired Civil Service<\/option><option value=\"Retired Faculty\">Retired Faculty<\/option><option value=\"Retiree\">Retiree<\/option><\/select><br \/>\n<script src=\"https:\/\/code.jquery.com\/jquery-3.2.1.min.js\" integrity=\"sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=\" crossorigin=\"anonymous\"><\/script>\r\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/cdn.datatables.net\/1.10.16\/css\/jquery.dataTables.min.css\">\r\n<script type=\"text\/javascript\" charset=\"utf8\" src=\"\/\/cdn.datatables.net\/1.10.16\/js\/jquery.dataTables.js\"><\/script>\r\n<script>\r\n   \/\/ run the code in the following function when the document loads\r\n  $(document).ready(function() {\r\n    var url = 'https:\/\/libdirectory.library.illinois.edu\/Api\/StaffDirectory2';\r\n    var table = $('#listOfStaff').DataTable({\r\n\r\n      \/\/This is to attach the nowrap class to the second column.\r\n      \/\/We have to use fnInitComplete to make sure it's attached after the AJAX request is completed. :) \r\n\r\n      \"fnInitComplete\": function() {\r\n        $('#listOfStaff tbody tr').each(function() {\r\n          $(this).find('td:eq(1)').attr('nowrap', 'nowrap');\r\n        });\r\n       $('#listOfStaff tbody tr').each(function() {\r\n          $(this).find('td:eq(0,1,2,3)').attr('vertical-align:top');\r\n        });\r\n       $('#dropdown1').on('change', function () {\r\n                    table.columns(4).search( this.value ).draw();\r\n       } );\r\n       \/\/Vertical align all rows to \"stick\" to top, rather than center of row\r\n       $(\"td\").parent().css({'vertical-align':'top'})\r\n      },\r\n      \/\/setting initial number of displayed records to 100\r\n      \"order\": [\r\n        [0, \"asc\"]\r\n      ],\r\n      \/\/ \"iDisplayLength\": 1000,\r\n      \"paging\": false,\r\n      \"ajax\": {\r\n        url: url,\r\n        dataType: \"jsonp\"\r\n      },\r\n      \"columnDefs\": [{\r\n        \/\/Sets the default column content to N\/A if no data is returned\r\n        \/\/This is for people who do not have a unit\/title\/whatever in LibDirectory\r\n        \"defaultContent\": \"N\/A\",\r\n        \"targets\": \"_all\",\r\n      }],\r\n      \"columns\": [{\r\n        \"data\": \"last\",\r\n    \/\/    \"width\": \"3%\",\r\n        title: \"Last Name\",\r\n        className: \"nowrap\",\r\n      }, {\r\n        \"data\": \"first\",\r\n    \/\/    \"width\": \"3%\",\r\n        title: \"First Name\",\r\n        className: \"nowrap\",\r\n      }, {\r\n        \"data\": \"units\",\r\n         title: \"Units\",\r\n        \"width\": \"30%\"\r\n      }, {\r\n        \"data\": \"titles\",\r\n         title: \"Titles\",\r\n        \"width\": \"24%\"\r\n      },\r\n      {\r\n        \"data\": \"employee_type\",\r\n        \"width\": \"20%\",\r\n        title: \"\",\r\n       \"visible\": false,\r\n      }, {\r\n        \"data\": \"address\",\r\n        title: \"Contact Info\",\r\n        \"mRender\": function(data, type, row) {\r\n           data = '<li>' + data + '<\/li>';\r\n          \/\/ Check if these rows are empty. If not, throw a FA icon before and a comma after \r\n          if (row.email != \"\") {\r\n            row.email = '<li>' + '<a href=\"mailto:' + row.email + '\">' + row.email + '<\/a><\/li>';\r\n          }\r\n          if (row.phone != \"\") {\r\n            row.phone = '<li>' + row.phone + '<\/li>';\r\n          }\r\n\r\n          \/\/Creating link to bio page with FA icon\r\n          var bio = '<li><a aria-label=\"' + row.first + ' ' + row.last + ' Biography\" href = \"' + row.library_bio + '\">More Info<\/a><\/li>';\r\n\r\n          return '<ul class = \"no-margin\">' + data + row.email + row.phone + bio  + '<\/ul>';\r\n         \r\n        },\r\n        \"width\": \"40%\",\r\n      }]\r\n    });\r\n\/\/ Add horizontal scroll styles to DataTable wrapper\r\n$('#listOfStaff_wrapper').css ({\r\n    'overflow-x': 'scroll',\r\n    });\r\n  }); \/\/ end document on ready\r\n\r\n\r\n<\/script><\/p>\n<table id=\"listOfStaff\" class=\"display order-column\"><\/table>\n<style>\n.no-margin li {<br \/>margin-bottom: 0em !important;<br \/>}<br \/>#listOfStaff td ul {<br \/>margin-bottom: 0em !important;<br \/>}<\/p>\n<p>#listOfStaff {<br \/>line-height: 80%;<br \/>background-color: red;<br \/>}<\/p>\n<p>table.dataTable tbody td {<br \/>  vertical-align: top;<br \/>}<br \/><\/style>\n","protected":false},"excerpt":{"rendered":"<p>Library Employee\/Staff Directory All updates to information here can be made in LibDirectory. Click on the column headers to sort by different categories. You can also use the search bar on the right to search all columns. Unit Directory Library Directory Click to filter by employee type: Show AllEmeritusAcademic ProfessionalAcademic\/Graduate HourlyCivil ServiceExtra HelpFacultyGraduate AssistantPostdoctoralRetired Academic [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"top-single.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1003","page","type-page","status-publish","hentry"],"acf":[],"ACF":{"breadcrumb_alias":""},"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/pages\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/comments?post=1003"}],"version-history":[{"count":21,"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/pages\/1003\/revisions"}],"predecessor-version":[{"id":7396,"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/pages\/1003\/revisions\/7396"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/geninfo\/wp-json\/wp\/v2\/media?parent=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}