Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
4604c8b
Update index.jsp
devopsbyraham Jul 29, 2023
453a027
Update index.jsp
devopsbyraham Jul 29, 2023
5bd0d3d
Update index.jsp
devopsbyraham Jul 29, 2023
13132b5
Update index.jsp
devopsbyraham Jul 29, 2023
326d55e
Update index.jsp
devopsbyraham Jul 29, 2023
b8b0cd5
Added Jenkinsfile
devopsbyraham Aug 3, 2023
6e3a255
Update index.jsp
devopsbyraham Aug 7, 2023
2ff0a30
Update index.jsp
devopsbyraham Aug 7, 2023
f76972f
Update index.jsp
devopsbyraham Aug 7, 2023
e46b159
Update index.jsp
devopsbyraham Aug 7, 2023
cca1dd2
Update Calculator.java
devopsbyraham Aug 7, 2023
0b8bb6b
Update Calculator.java
devopsbyraham Aug 7, 2023
598978d
Update index.jsp
devopsbyraham Aug 11, 2023
e0f58a9
Update index.jsp
devopsbyraham Aug 21, 2023
e6c9ea8
Update index.jsp
devopsbyraham Aug 21, 2023
dcaadcb
Update index.jsp
devopsbyraham Aug 24, 2023
08dd88f
Update index.jsp
devopsbyraham Aug 24, 2023
f6490a0
Update index.jsp
devopsbyraham Aug 24, 2023
e7d03df
Update index.jsp
devopsbyraham Aug 24, 2023
5f72efc
Update index.jsp
devopsbyraham Aug 24, 2023
d95e1b3
Update index.jsp
devopsbyraham Aug 27, 2023
ec57842
Update index.jsp
devopsbyraham Aug 27, 2023
6ab8197
Create style.css
devopsbyraham Aug 27, 2023
15f2293
Update index.jsp
devopsbyraham Aug 27, 2023
f1420bd
Update pom.xml
devopsbyraham Aug 27, 2023
e7044d3
Update pom.xml
devopsbyraham Aug 27, 2023
0399891
Update index.jsp
devopsbyraham Aug 29, 2023
f232e37
Update index.jsp
devopsbyraham Aug 29, 2023
8203262
Update index.jsp
devopsbyraham Sep 6, 2023
0c8abe7
Update index.jsp
devopsbyraham Sep 6, 2023
32f113d
Update index.jsp
devopsbyraham Sep 7, 2023
3731771
Update index.jsp
devopsbyraham Sep 7, 2023
a79912d
Update index.jsp
devopsbyraham Sep 8, 2023
fdf13b0
Update index.jsp
devopsbyraham Sep 8, 2023
d7f2062
Update index.jsp
devopsbyraham Sep 8, 2023
4f75b7d
Update index.jsp
devopsbyraham Sep 8, 2023
20941d6
Update index.jsp
devopsbyraham Sep 8, 2023
5a89fca
Update index.jsp
devopsbyraham Sep 8, 2023
4d3659e
Update index.jsp
devopsbyraham Sep 8, 2023
8010496
Update index.jsp
devopsbyraham Sep 8, 2023
d1da6b1
Update index.jsp
devopsbyraham Sep 8, 2023
c46a42a
Update index.jsp
devopsbyraham Sep 13, 2023
3122e31
Update index.jsp
devopsbyraham Sep 13, 2023
f2e86aa
Update index.jsp
devopsbyraham Sep 13, 2023
8e8c824
Update index.jsp
devopsbyraham Sep 15, 2023
08f34b4
Update index.jsp
devopsbyraham Sep 16, 2023
a13d431
Update index.jsp
devopsbyraham Sep 16, 2023
e67f924
Update index.jsp
devopsbyraham Sep 19, 2023
ee40924
Update index.jsp
devopsbyraham Sep 19, 2023
b2485a6
Update index.jsp
devopsbyraham Sep 20, 2023
f8a71e8
Update index.jsp
devopsbyraham Sep 20, 2023
1ff9e83
Update index.jsp
devopsbyraham Sep 20, 2023
6efd20b
Update index.jsp
devopsbyraham Sep 20, 2023
c696c22
Update index.jsp
devopsbyraham Sep 20, 2023
5faf5c7
Update index.jsp
devopsbyraham Sep 20, 2023
91771f4
Update index.jsp
devopsbyraham Sep 21, 2023
9f97b94
Update index.jsp
devopsbyraham Sep 21, 2023
35a4e67
Update index.jsp
devopsbyraham Sep 21, 2023
7baa84d
Update index.jsp
devopsbyraham Sep 21, 2023
470afbc
Update index.jsp
devopsbyraham Sep 25, 2023
d7146d0
Update index.jsp
devopsbyraham Sep 25, 2023
2924531
Update CalculatorTest.java
devopsbyraham Sep 25, 2023
385b9b0
Update CalculatorTest.java
devopsbyraham Sep 25, 2023
cc1c279
Update index.jsp
devopsbyraham Sep 27, 2023
6d5b1fe
Update index.jsp
devopsbyraham Sep 27, 2023
0a251ac
Update index.jsp
devopsbyraham Oct 30, 2023
04a03b0
Update index.jsp
devopsbyraham Nov 15, 2023
8ce6242
Update index.jsp
devopsbyraham Nov 17, 2023
0c6ca63
Update index.jsp
devopsbyraham Nov 17, 2023
1d51029
Update index.jsp
devopsbyraham Nov 17, 2023
e4a48ab
Update index.jsp
devopsbyraham Nov 17, 2023
4f2eca7
Update index.jsp
devopsbyraham Nov 17, 2023
9530887
Update index.jsp
devopsbyraham Nov 17, 2023
e75322b
Update index.jsp
devopsbyraham Nov 17, 2023
dc6e9df
Update index.jsp
devopsbyraham Nov 17, 2023
091cc91
Update index.jsp
devopsbyraham Nov 17, 2023
e7b7f1c
Update index.jsp
devopsbyraham Nov 17, 2023
6a6fb85
Update index.jsp
devopsbyraham Nov 23, 2023
8bccf5f
Update index.jsp
devopsbyraham Dec 8, 2023
fd372d3
Update index.jsp
devopsbyraham Dec 8, 2023
01210d9
Update index.jsp
devopsbyraham Dec 8, 2023
702473c
Update index.jsp
devopsbyraham Dec 8, 2023
a8ca2d3
Update index.jsp
devopsbyraham Dec 12, 2023
8dd2a83
Update index.jsp
devopsbyraham Dec 13, 2023
dca993c
Update index.jsp
devopsbyraham Dec 13, 2023
e92819d
Update index.jsp
devopsbyraham Dec 13, 2023
0104866
Update index.jsp
devopsbyraham Dec 13, 2023
0151a45
Update index.jsp
devopsbyraham Dec 13, 2023
dc52785
Update index.jsp
devopsbyraham Dec 13, 2023
71a5834
Update index.jsp
devopsbyraham Dec 15, 2023
298509c
Update index.jsp
devopsbyraham Dec 15, 2023
11527f2
Update index.jsp
devopsbyraham Dec 15, 2023
319f18c
Update index.jsp
devopsbyraham Dec 15, 2023
143b871
Update index.jsp
devopsbyraham Dec 15, 2023
af7f5ad
Update index.jsp
devopsbyraham Dec 15, 2023
58130b7
Update index.jsp
devopsbyraham Dec 22, 2023
c3c61ea
Update index.jsp
devopsbyraham Dec 22, 2023
527bd9a
Update index.jsp
devopsbyraham Dec 22, 2023
b611b3d
Update Calculator.java
devopsbyraham Dec 22, 2023
c13000e
Update Calculator.java
devopsbyraham Dec 22, 2023
80f1897
Update index.jsp
devopsbyraham Dec 27, 2023
ef26bc5
Update index.jsp
devopsbyraham Dec 27, 2023
b587400
Update index.jsp
devopsbyraham Dec 29, 2023
1b66f10
Update index.jsp
devopsbyraham Dec 29, 2023
4153dc5
Update index.jsp
devopsbyraham Dec 29, 2023
fc2fceb
Update index.jsp
devopsbyraham Dec 29, 2023
9f723bd
Update index.jsp
devopsbyraham Dec 29, 2023
3012294
Update index.jsp
devopsbyraham Dec 29, 2023
f0c9634
Update index.jsp
devopsbyraham Jan 4, 2024
7347d9d
Update index.jsp
devopsbyraham Jan 4, 2024
19c9652
Delete Jenkinsfile
devopsbyraham Jan 8, 2024
fec3933
Update index.jsp
devopsbyraham Jan 9, 2024
8920fb7
Update index.jsp
devopsbyraham Jan 9, 2024
2953958
Update index.jsp
devopsbyraham Jan 10, 2024
a31d92d
Update index.jsp
devopsbyraham Jan 10, 2024
88a1e99
Update index.jsp
devopsbyraham Jan 12, 2024
358f6d8
Update index.jsp
devopsbyraham Jan 12, 2024
5d22eed
Update index.jsp
devopsbyraham Jan 12, 2024
51f0d23
Update index.jsp
devopsbyraham Jan 12, 2024
8e8f371
Update index.jsp
devopsbyraham Jan 22, 2024
598ffd8
Update index.jsp
devopsbyraham Jan 24, 2024
3c956b2
Update Calculator.java
devopsbyraham Jan 24, 2024
c289b1a
Update Calculator.java
devopsbyraham Jan 24, 2024
9ddaf58
Update index.jsp
devopsbyraham Jan 31, 2024
0ca98bb
Update index.jsp
devopsbyraham Jan 31, 2024
c39bb68
Update index.jsp
devopsbyraham Jan 31, 2024
ce6ad75
Update index.jsp
devopsbyraham Feb 2, 2024
a54a2a1
Update index.jsp
devopsbyraham Feb 2, 2024
6e1bfa8
Update index.jsp
devopsbyraham Feb 5, 2024
5879167
Update index.jsp
devopsbyraham Feb 5, 2024
8d52507
Update index.jsp
devopsbyraham Feb 5, 2024
b575c91
Update index.jsp
devopsbyraham Feb 5, 2024
5e6287d
Update index.jsp
devopsbyraham Feb 5, 2024
6f6bf8d
Update index.jsp
devopsbyraham Feb 13, 2024
aaa911f
Update index.jsp
devopsbyraham Feb 21, 2024
7d28b3f
Update index.jsp
devopsbyraham Feb 21, 2024
796ce09
Update index.jsp
devopsbyraham Mar 13, 2024
258d55c
Update index.jsp
devopsbyraham Mar 13, 2024
76dbf6e
Update index.jsp
devopsbyraham Mar 15, 2024
4da45ff
Update index.jsp
devopsbyraham Mar 15, 2024
a114410
Update index.jsp
devopsbyraham Mar 15, 2024
f7a3c20
Update index.jsp
devopsbyraham Mar 15, 2024
3c7b3c9
Update index.jsp
devopsbyraham Mar 15, 2024
7d56a42
Update index.jsp
Rp35543 May 23, 2024
5bb206b
Update index.jsp
Rp35543 May 23, 2024
08f99a1
Update index.jsp
Rp35543 May 28, 2024
22ea6c1
Update index.jsp
Rp35543 May 28, 2024
3b91bf0
Update index.jsp
Rp35543 May 28, 2024
ade8fdb
Update index.jsp
Rp35543 May 28, 2024
609f607
Update index.jsp
Rp35543 Jun 24, 2024
3365e9b
Update index.jsp
Rp35543 Jun 24, 2024
0c28ca9
Update index.jsp
Rp35543 Jun 24, 2024
4b53910
netflix version changed
Rp35543 Aug 6, 2024
73570a2
docker file added
Rp35543 Aug 6, 2024
2cf577e
Dockerfile modified
Rp35543 Aug 6, 2024
2ad154f
pom.xml updated
Rp35543 Aug 19, 2024
1daae97
Update index.jsp
Rp35543 Aug 19, 2024
0e03937
Update index.jsp
Rp35543 Aug 19, 2024
6e8a5d6
Update index.jsp
Rp35543 Aug 19, 2024
8f90ce7
Update index.jsp
Rp35543 Aug 19, 2024
a8bd645
Update index.jsp
Rp35543 Aug 19, 2024
b13cc08
new version updated
Rp35543 Aug 26, 2024
face2b7
Update pom.xml
Rp35543 Aug 27, 2024
5b02bd5
Update index.jsp
Rp35543 Sep 12, 2024
9154c18
Update index.jsp
Rp35543 Sep 12, 2024
012ad0a
Update index.jsp
Rp35543 Sep 12, 2024
0655386
Update index.jsp
Rp35543 Sep 12, 2024
4e28522
Update index.jsp
Rp35543 Oct 17, 2024
572efda
Update index.jsp
Rp35543 Oct 17, 2024
6b11ca0
version is changed to lasest
Rp35543 Nov 29, 2024
d6ef33d
version changed to latest
Rp35543 Dec 6, 2024
b09f5f3
version chnaged
Rp35543 Dec 6, 2024
5e0bc9c
Update index.jsp
Rp35543 Dec 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Use an official Tomcat runtime as a parent image
FROM tomcat:9.0

# Remove the default ROOT web application
RUN rm -rf /usr/local/tomcat/webapps/ROOT

# Copy the WAR file to the webapps directory of Tomcat
COPY target/*.war /usr/local/tomcat/webapps/ROOT.war

# Expose the port Tomcat runs on
EXPOSE 8080

# Start Tomcat
CMD ["catalina.sh", "run"]

109 changes: 61 additions & 48 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,51 +1,64 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>in.javahome</groupId>
<artifactId>myweb</artifactId>
<packaging>war</packaging>
<version>8.3.2-SNAPSHOT</version>
<name>Java Home myweb</name>
<url>http://maven.apache.org</url>

<properties>
<docker.image.prefix>kammana</docker.image.prefix>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle.bedrock</groupId>
<artifactId>bedrock-runtime-maven</artifactId>
<version>5.1.2</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

</dependencies>

<distributionManagement>
<snapshotRepository>
<id>nexusRepo</id>
<url>http://13.233.230.166:8081/repository/maven-snapshots/</url>
</snapshotRepository>

<repository>
<id>nexusRepo</id>
<url>http://13.233.230.166:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>

<pluginRepositories>
<pluginRepository>
<id>maven1</id>
<name>Maven.org</name>
<url>http://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<groupId>com.oracle.bedrock</groupId>
<artifactId>bedrock-runtime-maven</artifactId>
<version>5.1.2</version>
<packaging>war</packaging>


<dependencies>
<!-- Remove the self-referencing dependency -->
<!--
<dependency>
<groupId>com.oracle.bedrock</groupId>
<artifactId>bedrock-runtime-maven</artifactId>
<version>5.1.2</version>
</dependency>
-->

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<distributionManagement>
<snapshotRepository>
<id>nexusRepo</id>
<url>http://13.233.230.166:8081/repository/maven-snapshots/</url>
</snapshotRepository>

<repository>
<id>nexusRepo</id>
<url>http://13.233.230.166:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<!-- Add configurations if necessary -->
</configuration>
</plugin>
</plugins>
</build>
</project>
46 changes: 39 additions & 7 deletions src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
<DOCTYPE html>
<html>
<!DOCTYPE html>
<!-- Coding By CodingNepal - www.codingnepalweb.com -->
<html lang="en">
<head>

<h1>THIS IS MY SWIGGY V.3.0</h1>

</body
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Netflix Login Page | CodingNepal</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<a href="#"><img src="images/logo.svg" alt="logo"></a>
</nav>
<div class="form-wrapper">
<h2>NETFLIX SIGN IN V-20.0</h2>
<form action="#">
<div class="form-control">
<input type="text" required>
<label>Mobile number</label>
</div>
<div class="form-control">
<input type="password" required>
<label>SECRET</label>
</div>
<button type="submit">WELCOME TO NETFLIX V-4</button>
<div class="form-help">
<div class="remember-me">
<input type="checkbox" id="remember-me">
<label for="remember-me">Remember me</label>
</div>
<a href="#">Need help?</a>
</div>
</form>
<p>New to Netflix? <a href="#">Lets join up now</a></p>
<small>
This page is protected by Google reCAPTCHA to ensure you're not a bot.
<a href="#">Learn more.</a>
</small>
</div>
</body>
</html>

179 changes: 179 additions & 0 deletions src/main/webapp/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}

body {
background: #000;
}

body::before {
content: "";
position: absolute;
left: 0;
top: 0;
opacity: 0.5;
width: 100%;
height: 100%;
background: url("images/hero-img.jpg");
background-position: center;
}

nav {
position: fixed;
padding: 25px 60px;
z-index: 1;
}

nav a img {
width: 167px;
}

.form-wrapper {
position: absolute;
left: 50%;
top: 50%;
border-radius: 4px;
padding: 70px;
width: 450px;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0, .75);
}

.form-wrapper h2 {
color: #fff;
font-size: 2rem;
}

.form-wrapper form {
margin: 25px 0 65px;
}

form .form-control {
height: 50px;
position: relative;
margin-bottom: 16px;
}

.form-control input {
height: 100%;
width: 100%;
background: #333;
border: none;
outline: none;
border-radius: 4px;
color: #fff;
font-size: 1rem;
padding: 0 20px;
}

.form-control input:is(:focus, :valid) {
background: #444;
padding: 16px 20px 0;
}

.form-control label {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 1rem;
pointer-events: none;
color: #8c8c8c;
transition: all 0.1s ease;
}

.form-control input:is(:focus, :valid)~label {
font-size: 0.75rem;
transform: translateY(-130%);
}

form button {
width: 100%;
padding: 16px 0;
font-size: 1rem;
background: #e50914;
color: #fff;
font-weight: 500;
border-radius: 4px;
border: none;
outline: none;
margin: 25px 0 10px;
cursor: pointer;
transition: 0.1s ease;
}

form button:hover {
background: #c40812;
}

.form-wrapper a {
text-decoration: none;
}

.form-wrapper a:hover {
text-decoration: underline;
}

.form-wrapper :where(label, p, small, a) {
color: #b3b3b3;
}

form .form-help {
display: flex;
justify-content: space-between;
}

form .remember-me {
display: flex;
}

form .remember-me input {
margin-right: 5px;
accent-color: #b3b3b3;
}

form .form-help :where(label, a) {
font-size: 0.9rem;
}

.form-wrapper p a {
color: #fff;
}

.form-wrapper small {
display: block;
margin-top: 15px;
color: #b3b3b3;
}

.form-wrapper small a {
color: #0071eb;
}

@media (max-width: 740px) {
body::before {
display: none;
}

nav, .form-wrapper {
padding: 20px;
}

nav a img {
width: 140px;
}

.form-wrapper {
width: 100%;
top: 43%;
}

.form-wrapper form {
margin: 25px 0 40px;
}
}
Binary file added target/bedrock-runtime-maven-5.1.2.war
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions target/bedrock-runtime-maven-5.1.2/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >

<web-app>
<display-name>Archetype Created Web Application</display-name>
</web-app>
Loading