├── .browserslistrc ├── babel.config.js ├── .env.local ├── postcss.config.js ├── public ├── tux.png ├── favicon.ico ├── api │ ├── user.php │ ├── centers.php │ ├── computers.php │ ├── exemptions.php │ ├── exemption_check.php │ ├── settings.inc │ ├── includes │ │ └── jamf.inc │ └── issueexemption.php └── index.html ├── src ├── assets │ └── logo.png ├── router.js ├── main.js ├── App.vue ├── components │ ├── Footer.vue │ └── Header.vue └── views │ └── Home.vue ├── .env ├── vue.config.js ├── .gitignore ├── settings.local.inc ├── package.json ├── README.md └── Jamf Scripts ├── ExemptionRemoval.sh └── StartExemption.sh /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not ie <= 8 4 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/app' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /.env.local: -------------------------------------------------------------------------------- 1 | NODE_ENV=dev 2 | VUE_APP_API_SITE_URL=https://your.dev.server/pivexemption 3 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /public/tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therealmacjeezy/piv-exemption-portal/master/public/tux.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therealmacjeezy/piv-exemption-portal/master/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therealmacjeezy/piv-exemption-portal/master/src/assets/logo.png -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=production 2 | VUE_APP_API_SITE_URL=https://your.server/pivexemption 3 | BASE_URL=https://your.server/pivexemption 4 | -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | publicPath: process.env.NODE_ENV === 'production' 3 | ? 'https://your.server/pivexemption' 4 | : '/' 5 | } 6 | -------------------------------------------------------------------------------- /public/api/user.php: -------------------------------------------------------------------------------- 1 | $v) { 14 | $centers[] = array( 15 | "value" => $k, 16 | "text" => $v['label'] 17 | ); 18 | } 19 | 20 | #print($user); 21 | print(json_encode($centers)); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pivexemption", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve", 7 | "build": "vue-cli-service build" 8 | }, 9 | "dependencies": { 10 | "axios": "^0.18.0", 11 | "bootstrap-vue": "^2.0.0-rc.14", 12 | "jquery": "^1.9.1", 13 | "vue": "^2.6.6", 14 | "vue-router": "^3.0.1" 15 | }, 16 | "devDependencies": { 17 | "@vue/cli-plugin-babel": "^3.5.0", 18 | "@vue/cli-service": "^3.5.0", 19 | "vue-template-compiler": "^2.5.21" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /public/api/computers.php: -------------------------------------------------------------------------------- 1 | user->links->computers; 21 | print(json_encode($userComputers)); 22 | } 23 | } catch (Exception $e) { 24 | print[]; 25 | } 26 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |Logged In As: {{ this.userName }}
7 |To start, select the jamf server for the user.
Once the jamf server is selected, you will be able to enter a username and search for any computer that user is assigned to.
Checking Current PIV Exemption Status for
83 | {{ row.item.name }}
84 | Please wait..
85 | No Computers Found for {{ this.userSearch }}.
120 |