source: src/main/resources/templates/user_subscription/user_subscription.html@ 5ea00d7

Last change on this file since 5ea00d7 was 5ea00d7, checked in by Malek Alavi <malekalavi7@…>, 2 days ago

Initial project upload

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<!DOCTYPE html>
2<html xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <title>Subscription Plans</title>
6 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
7</head>
8<body>
9<div class="container mt-5">
10 <h2 class="mb-4">Available Subscription Plans</h2>
11
12 <div class="mb-3">
13 <a href="/" class="btn btn-secondary">Back to Home</a>
14 </div>
15
16 <div th:if="${alreadySubscribed}" class="alert alert-success">
17 You are already subscribed!
18 </div>
19
20 <div class="row" th:if="${!alreadySubscribed}">
21 <div class="col-md-4 mb-3" th:each="plan : ${plans}">
22 <div class="card h-100">
23 <div class="card-body">
24 <h5 class="card-title" th:text="${plan.name}">Plan Name</h5>
25 <p class="card-text" th:text="'Price: $' + ${plan.price}">Price</p>
26 <p class="card-text" th:text="'Duration: ' + ${plan.durationMonths} + ' months'">Price</p>
27 <a th:href="@{'/user-subscription-payment/' + ${plan.planId}}" class="btn btn-primary">Subscribe</a>
28 </div>
29 </div>
30 </div>
31 </div>
32</div>
33</body>
34</html>
Note: See TracBrowser for help on using the repository browser.