Profile Functions

~ Updated ~
- css: mod on navbar ar specific for navbar
- route: admin-function action add-new
- no filter on get_users()
- set faculty_code as NULL for admin on new/update
- admin controller: functional edit & reset (w/ proper redirect)
- user model: function update (edit)
- user model: reset&delete returns true
- change hidden attribute to style="display:none;
- auto check Admin/Faculty user type
- reset/update alert on profile view
- added preview (PDF) on accom

~ New ~
- admin/profile2 (backup - sort side)
- profile in datatable
- DataTables: bootstrap-datatables.css, bootstrap-datatables.js,
jquery-datatables.min.js, img/sort*

~ Rename ~
- assets/pic => assets/img
- jquery-1.11.0 => jquery
- datepicker.css => bootstrap-datepicker.css
Add (except pub), view, delete accom from draft

~ Updated ~
- get_once reset & delete
- admin-user: add/edit birthday shows if available only
- admin-user: simple add/edit code using ternaries
- show own profile
- show change password
- add/link accom (updated db)
- delete/unlink accom
- show linked accom in draft
- simple draft code using ternaries and modified h1,h2,h3
- functional submit
- “no messages” alert with normal padding
- bootstrap (whole thing)

~ Renamed ~
- session(‘emp_code’) to session(‘employee_code’)
- accom/edit to accom/update
- accom/preview to accom/draft
- accomspec/delete to accomspec/remove
- accom/_evaluate to accom/evaluate

~ New ~
- action_check on accom
- modals (add form) match db column names
- accom: update & delete returns boolean
- db: accom_oth with new columns
- error page

~ Deleted ~
- no edit/upload on users