-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage1addcargo.html
More file actions
146 lines (137 loc) · 4.11 KB
/
Copy pathpage1addcargo.html
File metadata and controls
146 lines (137 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html><html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cargo Management System</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to bottom, #f4f4f4, #e0e0e0);
background-color: #f4f4f4;
background-position: center;
text-align: center;
}
.container {
width: 80%;
margin: auto;
padding: 20px;
background: white;
box-shadow: 0px 0px 10px gray;
border-radius: 5px;
margin-top: 20px;
}
h1 {
color: #333;
animation: bounce 2s infinite;
}
.form-group {
margin-bottom: 15px;
text-align: left;
}
label {
display: block;
font-weight: bold;
}
input, select {
width: 100%;
padding: 8px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background: #28a745;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
border-radius: 4px;
transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
button:hover {
transform: scale(1.1);
background-color: red;
}
.info {
margin-top: 20px;
padding: 15px;
background: #e7f3fe;
border-left: 5px solid #2196F3;
text-align: left;
}
.navbar {
background: whitesmoke;
color : black;
padding: 10px 0;
text-align: center;
position: sticky;
top: 0;
z-index: 1000;
}
.navbar a {
color: black;
text-decoration: none;
margin: 0 15px;
font-size: 18px;
}
.navbar a:hover {
text-decoration: underline;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
</style>
</head>
<body>
<div class="container">
<h1>Cargo Management System</h1>
<p>Manage your cargo shipments efficiently with our simple system.</p><div class="info">
<h2>About</h2>
<p>The Cargo Management System helps businesses track and manage cargo shipments. It provides an easy way to log cargo details and ensure smooth transportation.</p>
<p><strong>Key Features:</strong></p>
<ul>
<li>Easy cargo entry</li>
<li>Basic shipment tracking</li>
<li>User-friendly interface</li>
</ul>
</div>
<h2>Add Cargo</h2>
<form>
<div class="form-group">
<label for="cargoName">Cargo Name:</label>
<input type="text" id="cargoName" placeholder="Enter cargo name" required>
</div>
<div class="form-group">
<label for="weight">Weight (kg):</label>
<input type="number" id="weight" placeholder="Enter weight" required>
</div>
<div class="form-group">
<label for="destination">Destination:</label>
<input type="text" id="destination" placeholder="Enter destination" required>
</div>
<button onclick=myfunction()>Submit</button>
<script>
function myfunction() {
alert("Cargo details submitted successfully!");
}
</script>
<br>
<div class="navbar">
<br>
<a href="page1addcargo.html">Add Cargo</a>
<a href="page3about.html">About</a>
<a href="page4help.html">help</a>
<a href="#Track Shipment">Track Shipment</a>
</div>
</form>
</div>
</body>
</html>