Refactor admin templates to use bootstrap without AdminLTE theme

Use def with parentheses when there are parameters.