--------------------------------------------------------------------------------
/Dist/bundle.js.LICENSE.txt:
--------------------------------------------------------------------------------
1 | /*!
2 | * Sizzle CSS Selector Engine v2.3.5
3 | * https://sizzlejs.com/
4 | *
5 | * Copyright JS Foundation and other contributors
6 | * Released under the MIT license
7 | * https://js.foundation/
8 | *
9 | * Date: 2020-03-14
10 | */
11 |
12 | /*!
13 | * Bootstrap v4.5.2 (https://getbootstrap.com/)
14 | * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
15 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
16 | */
17 |
18 | /*!
19 | * jQuery JavaScript Library v3.5.1
20 | * https://jquery.com/
21 | *
22 | * Includes Sizzle.js
23 | * https://sizzlejs.com/
24 | *
25 | * Copyright JS Foundation and other contributors
26 | * Released under the MIT license
27 | * https://jquery.org/license
28 | *
29 | * Date: 2020-05-04T22:49Z
30 | */
31 |
32 | /**!
33 | * @fileOverview Kickass library to create and place poppers near their reference elements.
34 | * @version 1.16.1
35 | * @license
36 | * Copyright (c) 2016 Federico Zivolo and contributors
37 | *
38 | * Permission is hereby granted, free of charge, to any person obtaining a copy
39 | * of this software and associated documentation files (the "Software"), to deal
40 | * in the Software without restriction, including without limitation the rights
41 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42 | * copies of the Software, and to permit persons to whom the Software is
43 | * furnished to do so, subject to the following conditions:
44 | *
45 | * The above copyright notice and this permission notice shall be included in all
46 | * copies or substantial portions of the Software.
47 | *
48 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54 | * SOFTWARE.
55 | */
56 |
--------------------------------------------------------------------------------
/Dist/index.html:
--------------------------------------------------------------------------------
1 | Sman 3 Mataram - Login
SELAMAT DATANG,
Ibu / Bapak Guru
--------------------------------------------------------------------------------
/Dist/webpack.common.dev.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var htmlWebpackPlugin = require("html-webpack-plugin");
4 |
5 | var path = require("path");
6 |
7 | module.exports = {
8 | entry: "./App/index.js",
9 | output: {
10 | path: path.resolve(__dirname, "Dist"),
11 | filename: "bundle.js"
12 | },
13 | module: {
14 | rules: [{
15 | test: /\.css$/,
16 | use: [{
17 | loader: "style-loader"
18 | }, {
19 | loader: "css-loader"
20 | }]
21 | }]
22 | },
23 | plugins: [new htmlWebpackPlugin({
24 | template: "./App/index.html",
25 | filename: "index.html"
26 | }), new htmlWebpackPlugin({
27 | template: "./App/absen.html",
28 | filename: "absen.html"
29 | })]
30 | };
--------------------------------------------------------------------------------
/Screenshot/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Azrilardian/Absen-Siswa/5ac28163414c4cf3739562dda6cd9716c91a16e1/Screenshot/1.png
--------------------------------------------------------------------------------
/Screenshot/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Azrilardian/Absen-Siswa/5ac28163414c4cf3739562dda6cd9716c91a16e1/Screenshot/2.png
--------------------------------------------------------------------------------
/Screenshot/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Azrilardian/Absen-Siswa/5ac28163414c4cf3739562dda6cd9716c91a16e1/Screenshot/3.png
--------------------------------------------------------------------------------
/debug.log:
--------------------------------------------------------------------------------
1 | [1031/223243.321:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
2 | [1101/110903.035:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
3 | [1101/151451.993:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
4 | [1101/170107.766:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
5 | [1102/000037.012:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
6 | [1103/103901.564:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
7 | [1103/143123.389:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
8 | [1103/222927.870:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
9 | [1104/124114.883:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
10 | [1104/130640.711:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
11 | [1105/100914.640:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
12 | [1105/134528.820:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
13 | [1106/110816.030:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
14 | [1106/130541.959:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
15 | [1106/134155.343:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
16 | [1106/170221.600:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
17 | [1106/232555.823:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
18 | [1107/224158.160:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
19 | [1108/010914.299:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
20 | [1108/121944.467:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
21 | [1108/162725.739:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
22 | [1108/182330.938:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
23 | [1108/194716.492:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
24 | [1108/215751.551:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
25 | [1109/005430.181:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
26 | [1109/172524.691:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
27 | [1110/120544.146:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
28 | [1110/192649.048:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
29 | [1111/005601.266:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
30 | [1111/015041.166:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
31 | [1111/083504.671:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
32 | [1111/150415.543:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
33 | [1111/152425.863:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
34 | [1112/143349.806:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
35 | [1112/163315.387:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
36 | [1112/221208.996:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
37 | [1113/004302.725:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
38 | [1113/152657.641:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
39 | [1113/232701.466:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
40 | [1115/020722.144:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
41 | [1115/110640.263:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
42 | [1116/000041.043:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
43 | [1116/120146.952:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
44 | [1119/122009.970:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
45 | [1119/134846.393:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
46 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "absen-siswa",
3 | "version": "1.0.0",
4 | "description": "Program absensi siswa",
5 | "main": "index.js",
6 | "scripts": {
7 | "build": "webpack --config webpack.prod.js",
8 | "live": "webpack-dev-server --config webpack.dev.js --open"
9 | },
10 | "keywords": [
11 | "absen"
12 | ],
13 | "author": "Azrilardian",
14 | "license": "ISC",
15 | "dependencies": {
16 | "bootstrap": "^4.5.2",
17 | "jquery": "^3.5.1",
18 | "popper.js": "^1.16.1",
19 | "sweetalert2": "^10.10.0"
20 | },
21 | "devDependencies": {
22 | "@babel/core": "^7.11.6",
23 | "@babel/preset-env": "^7.11.5",
24 | "babel-loader": "^8.1.0",
25 | "clean-webpack-plugin": "^3.0.0",
26 | "css-loader": "^4.3.0",
27 | "html-webpack-plugin": "^4.5.0",
28 | "optimize-css-assets-webpack-plugin": "^5.0.4",
29 | "style-loader": "^1.3.0",
30 | "terser-webpack-plugin": "^4.2.2",
31 | "uglifyjs-webpack-plugin": "^2.2.0",
32 | "webpac": "0.0.1-security",
33 | "webpack": "^4.44.2",
34 | "webpack-cli": "^3.3.12",
35 | "webpack-dev-server": "^3.11.0",
36 | "webpack-merge": "^5.2.0"
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | # Program Absensi Siswa
2 |
3 | ## Apa dan Tujuan
4 |
5 | _Project_ ini sebenarnya merupakan _project_ yang sudah lama ingin saya buat, namun, saat itu saya merasa sangat susah untuk merealisasikannya, karena ketika itu pengetahuan saya dalam dunia _programming_ terbilang masih terlalu minim, alhasil, _project_ ini saya tinggalkan lalu terbengkalai begitu saja.
6 |
7 | Ketika saya merasa ilmu yang saya miliki sudah cukup baik, terutama pada dasar - dasar bahasa Javascript, saya berkeinginan untuk menyelesaikan _project_ ini. Semua saya bangun kembali dari awal, mulai dari membuat tampilan program, merancang alur program, hingga membangunnya.
8 |
9 | Ini merupakan program absen siswa yang dapat memudahkan guru untuk melakukan absensi, karena kemudahannya yang dapat diakses melalui komputer / ponsel mereka. Bisa dibilang, ini adalah absensi siswa kekinian yang sangat bermanfaat, karena sekolah tidak perlu lagi mencetak lembaran absensi siswa setiap minggunya, atau bahkan bulan, cukup hanya memesan guru untuk membawa laptop pribadi / ponsel mereka pada saat pelajaran berlangsung.
10 |
11 | ## Teknologi yang digunakan
12 |
13 | - Html
14 | - Css
15 | - Bootstrap
16 | - Javascript
17 | - Sweetalert2
18 | - Webpack
19 |
20 | ## Fitur
21 |
22 | - _Login_ ( belum menggunakan _database_ )
23 | - Kehadiran siswa ( bolos, izin, sakit )
24 | - Hapus siswa, mengubah nama siswa
25 | - Otomatis mengelompokan siswa berdasarkan kelas
26 | - _Darkmode_
27 | - Responsif pada semua ukuran _device_
28 | - Menyimpan data ke _local storage_
29 |
30 | ## Catatan
31 |
32 | _Project_ ini merupakan versi **2.0**, silahkan cek ke riwayat _commit_ untuk melihat _project_ versi sebelumnya.
33 |
34 | Yang baru di versi **2.0** :
35 |
36 | - Fitur login
37 | - Tampilan lebih simpel
38 | - _Darkmode_
39 | - _Sidebar_
40 | - Tampilan _popup_ yang lebih baik
41 |
42 | Akun yang dapat digunakan untuk login :
43 |
44 | 1. **Sandhika Galih**
45 |
46 | - Username : Sandhika Galih
47 | - Password : wpunpas2020
48 |
49 | 2. **Azril ardian**
50 | - Username : Azril ardian
51 | - Password : 12345678
52 |
53 | ## Screenshot ( Versi 2 )
54 |
55 | 
56 |
57 | 
58 |
59 | 
60 |
--------------------------------------------------------------------------------
/webpack.common.js:
--------------------------------------------------------------------------------
1 | const htmlWebpackPlugin = require("html-webpack-plugin");
2 | const path = require("path");
3 |
4 | module.exports = {
5 | entry: "./App/index.js",
6 | output: {
7 | path: path.resolve(__dirname, "Dist"),
8 | filename: "bundle.js",
9 | },
10 | module: {
11 | rules: [
12 | {
13 | test: /\.css$/,
14 | use: [
15 | {
16 | loader: "style-loader",
17 | },
18 | {
19 | loader: "css-loader",
20 | },
21 | ],
22 | },
23 | ],
24 | },
25 | plugins: [
26 | new htmlWebpackPlugin({
27 | template: "./App/index.html",
28 | filename: "index.html",
29 | }),
30 | new htmlWebpackPlugin({
31 | template: "./App/absen.html",
32 | filename: "absen.html",
33 | }),
34 | ],
35 | };
36 |
--------------------------------------------------------------------------------
/webpack.dev.js:
--------------------------------------------------------------------------------
1 | const { merge } = require("webpack-merge");
2 | const common = require("./webpack.common");
3 |
4 | module.exports = merge(common, {
5 | mode: "development",
6 | });
7 |
--------------------------------------------------------------------------------
/webpack.prod.js:
--------------------------------------------------------------------------------
1 | const { merge } = require("webpack-merge");
2 | const common = require("./webpack.common");
3 |
4 | module.exports = merge(common, {
5 | mode: "production",
6 | module: {
7 | rules: [
8 | {
9 | test: /\.js$/,
10 | exclude: "/node_modules/",
11 | use: [
12 | {
13 | loader: "babel-loader",
14 | options: {
15 | presets: ["@babel/preset-env"],
16 | },
17 | },
18 | ],
19 | },
20 | ],
21 | },
22 | });
23 |
--------------------------------------------------------------------------------