cs-project-assets / presentation /presentation_page2.html
shoaibrza9999's picture
Upload presentation/presentation_page2.html with huggingface_hub
c416c54 verified
Raw
History Blame Contribute Delete
6.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Presentation Page 2</title>
<style>
body {
margin: 0;
padding: 0;
min-height: 100vh;
background: radial-gradient(circle at 10% 10%, #1d3e75 0%, transparent 50%),
radial-gradient(circle at 90% 90%, #524f26 0%, transparent 50%),
#0d111a;
background-attachment: fixed;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
color: #e0e4e8;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.page-container {
width: 794px; /* A4 width */
height: 1123px; /* A4 height */
padding: 50px;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
}
h2 {
text-align: center;
color: #ffffff;
margin-bottom: 40px;
font-weight: 300;
letter-spacing: 3px;
font-size: 1.8em;
text-transform: uppercase;
}
.flowchart-container {
display: flex;
flex-direction: column;
align-items: center;
}
/* Base Shape Settings */
.shape {
display: flex;
align-items: center;
justify-content: center;
margin: 10px 0;
padding: 15px 20px;
width: 250px;
min-height: 45px;
font-weight: 500;
color: #fff;
text-align: center;
font-size: 0.9em;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
backdrop-filter: blur(5px);
}
/* Specific Flowchart Shapes */
.start-end {
border-radius: 50px;
background: rgba(229, 57, 53, 0.15);
border-color: rgba(229, 57, 53, 0.6);
}
.process {
border-radius: 6px;
background: rgba(30, 136, 229, 0.15);
border-color: rgba(30, 136, 229, 0.6);
}
.input-output {
transform: skew(-15deg);
background: rgba(251, 192, 45, 0.15);
border-color: rgba(251, 192, 45, 0.6);
}
.input-output span {
transform: skew(15deg);
display: block;
}
.decision-wrapper {
filter: drop-shadow(0 0 1px rgba(94, 53, 177, 0.8));
margin: 10px 0;
}
.decision {
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
width: 160px;
height: 160px;
padding: 10px;
background: rgba(94, 53, 177, 0.2);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 0.9em;
font-weight: 500;
color: #fff;
}
/* Arrows connecting the shapes */
.arrow {
font-size: 24px;
color: #d8c385;
margin: 5px 0;
line-height: 1;
}
/* Horizontal Layouts for branches */
.branch-container {
display: flex;
justify-content: center;
gap: 30px;
align-items: flex-start;
margin-top: 10px;
}
.branch {
display: flex;
flex-direction: column;
align-items: center;
}
.branch-label {
font-size: 13px;
font-weight: bold;
color: #d8c385;
background: rgba(13, 17, 26, 0.8);
padding: 4px 10px;
border: 1px solid rgba(216, 195, 133, 0.5);
border-radius: 12px;
margin-bottom: 5px;
z-index: 10;
}
</style>
</head>
<body>
<div class="page-container">
<h2>Admin Tasks (Generating Pay)</h2>
<div class="flowchart-container">
<div class="shape input-output"><span>Enter Worker's ID Number</span></div>
<div class="arrow">&#8595;</div>
<div class="decision-wrapper">
<div class="decision">Is worker paid Hourly?</div>
</div>
<div class="branch-container">
<div class="branch">
<div class="branch-label">Yes (Hourly)</div>
<div class="arrow">&#8595;</div>
<div class="shape input-output"><span>Enter hours worked</span></div>
<div class="arrow">&#8595;</div>
<div class="shape process">Calculate total pay minus taxes</div>
</div>
<div class="branch">
<div class="branch-label">No (Salary)</div>
<div class="arrow">&#8595;</div>
<div class="shape process" style="height: 62px;">Calculate base salary + allowances - deductions</div>
</div>
</div>
<div class="arrow" style="margin-top: 10px;">&#8595;</div>
<div class="shape process">Record final pay and stamp today's date</div>
<div class="arrow">&#8595;</div>
<div class="shape input-output"><span>Display Final Salary Slip</span></div>
</div>
</div>
</body>
</html>