Skip to content

Commit

Permalink
Merge pull request #1 from JoshiMinh/AutomatedJS
Browse files Browse the repository at this point in the history
Generation Automation
  • Loading branch information
JoshiMinh authored Jun 7, 2024
2 parents 075acfb + a83e79a commit ac9f91a
Show file tree
Hide file tree
Showing 12 changed files with 517 additions and 618 deletions.
1 change: 1 addition & 0 deletions Login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<script src="theme.js"></script>
<style>
body {
font-family: "Sirin Stencil", sans-serif;
Expand Down
3 changes: 2 additions & 1 deletion Register.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -8,6 +8,7 @@

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<script src="theme.js"></script>
<style>
body {
font-family: "Sirin Stencil", sans-serif;
Expand Down
176 changes: 6 additions & 170 deletions ShowingMovies.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
<div class="offcanvas-body">
<ul class="navbar-nav flex-grow-1 pe-3">
<li class="nav-item">
<a class="nav-link mx-lg-2" href="UpcomingMovies.html">Phim Sắp Chiếu</a>
<a class="nav-link mx-lg-2" href="ShowingMovies.html">Phim Đang Chiếu</a>
</li>
<li class="nav-item">
<a class="nav-link mx-lg-2" href="ShowingMovies.html">Phim Đang Chiếu</a>
<a class="nav-link mx-lg-2" href="UpcomingMovies.html">Phim Sắp Chiếu</a>
</li>
<li class="nav-item align-self-center">
<div class="form-check form-switch">
Expand Down Expand Up @@ -72,175 +72,11 @@
<h2>Phim Đang Chiếu</h2>
</div>
</div>
<div class="row row2">
<!--Showing Movies-->
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Abigail.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Abigail</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/DUNE Phần Hai.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">DUNE Phần Hai</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Điềm Báo Của Quỷ.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Điềm Báo Của Quỷ</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Đền Mạng.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Đền Mạng</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Exhuma Quật Mộ Trùng Ma.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Exhuma Quật Mộ Trùng Ma</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Godzilla X Kong Đế Chế Mới.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Godzilla X Kong Đế Chế Mới</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Kung Fu Panda 4.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Kung Fu Panda 4</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Mai.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Mai</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Mobile Suit Gundam SEED FREEDOM.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Mobile Suit Gundam SEED FREEDOM</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Monkey Man.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Monkey Man</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Muôn Vị Nhân Gian.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Muôn Vị Nhân Gian</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Người Chết Trở Về.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Người Chết Trở Về</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Quỷ Thuật.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Quỷ Thuật</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Sáng Đèn.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Sáng Đèn</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesShowing/Thanh Xuân 18x2 Lữ Trình Hướng Về Em.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Thanh Xuân 18x2 Lữ Trình Hướng Về Em</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<!--Showing Movies-->

<div class="row row2" id="showing-movies-container">
</div>
<script src="fetchShowing.js"></script>

</div>
</div>
<footer class="text-center text-lg-start bg-primary-subtle">
Expand Down
149 changes: 9 additions & 140 deletions UpcomingMovies.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Phim Sắp Chiếu</title>
<title>Phim Đang Chiếu</title>
<link rel="icon" type="image/x-icon" href="WGLogo.ico" />

<link rel="stylesheet" href="style.css" />
Expand Down Expand Up @@ -41,10 +41,10 @@
<div class="offcanvas-body">
<ul class="navbar-nav flex-grow-1 pe-3">
<li class="nav-item">
<a class="nav-link mx-lg-2" href="UpcomingMovies.html">Phim Sắp Chiếu</a>
<a class="nav-link mx-lg-2" href="ShowingMovies.html">Phim Đang Chiếu</a>
</li>
<li class="nav-item">
<a class="nav-link mx-lg-2" href="ShowingMovies.html">Phim Đang Chiếu</a>
<a class="nav-link mx-lg-2" href="UpcomingMovies.html">Phim Sắp Chiếu</a>
</li>
<li class="nav-item align-self-center">
<div class="form-check form-switch">
Expand All @@ -66,148 +66,17 @@
</nav>
</div>
<div class="content" style="margin-top: 100px;">
<div class="content2 my-3 container">
<div class="content2 my-3 container" id="pills-sub">
<div class="row row1">
<div class="col mb-4">
<div class="col mb-3">
<h2>Phim Sắp Chiếu</h2>
</div>
</div>
<div class="row row2">
<!--Upcoming Movies-->
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Anh Hùng Bàn Phím.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Anh Hùng Bàn Phím</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/B4S – Trước Giờ “Yêu”.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">B4S – Trước Giờ “Yêu”</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Biệt Đội Săn Ma Kỷ Nguyên Băng Giá.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Biệt Đội Săn Ma Kỷ Nguyên Băng Giá</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Cái Giá Của Hạnh Phúc.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Cái Giá Của Hạnh Phúc</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Đóa Hoa Mong Manh.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Đóa Hoa Mong Manh</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Hòa Quang Đẫm Máu.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Hòa Quang Đẫm Máu</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Mùa Hè Của Luca.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Mùa Hè Của Luca</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Ngày Tàn Của Đế Quốc.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Ngày Tàn Của Đế Quốc</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Người Bạn Trong Tưởng Tượng.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Người Bạn Trong Tưởng Tượng</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Quỷ Cái.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Quỷ Cái</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/SUGA Agust D TOUR ‘D-DAY’ THE MOVIE.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">SUGA Agust D TOUR ‘D-DAY’ THE MOVIE</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card border-0" style="width: 15; margin: auto;">
<img src="MoviesUpcoming/Trò Chơi Chết Chóc.jpg" class="card-img-top" />
<div class="card-body">
<p class="card-text">Trò Chơi Chết Chóc</p>
<div>
<button class="btn btn-primary">Đặt vé</button>
</div>
</div>
</div>
</div>
<!--Upcoming Movies-->

<div class="row row2" id="showing-movies-container">
</div>
<script src="fetchUpcoming.js"></script>

</div>
</div>
<footer class="text-center text-lg-start bg-primary-subtle">
Expand Down
Loading

0 comments on commit ac9f91a

Please sign in to comment.