From c95872f059120753377c741c9d80c4d70e1c9e58 Mon Sep 17 00:00:00 2001 From: Aatmaj Date: Tue, 12 Dec 2023 18:22:55 +0530 Subject: [PATCH] added faculty control --- id.html | 14 ++++++++++++-- styles.css | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/id.html b/id.html index 8da24ae..3816aa8 100644 --- a/id.html +++ b/id.html @@ -23,9 +23,9 @@ src="https://www.somaiya.edu/assets/university/img/homepage/university-logo.svg" />
-
+
-
STUDENT
+
STUDENT
@@ -126,6 +126,16 @@ document.getElementById("telephone").innerHTML="Enrollment Date:"+phone; + if(program === null){ + //faculty + document.getElementById("program").innerHTML=""; + document.getElementById("telephone").innerHTML=""; + document.getElementById("studenttext").innerHTML="FACULTY" + document.getElementById("studentmat").className="facultymat" + console.log("is faculty") + + + } var qrcode = new QRCode("qrcode", ""+id); diff --git a/styles.css b/styles.css index f0b4e91..f4a0367 100644 --- a/styles.css +++ b/styles.css @@ -177,6 +177,7 @@ transform: rotate(-90deg); } + .IDtransparentframe { /* Frame 1 */ @@ -233,6 +234,20 @@ background: #ca0303; } + +.facultymat { + /* KJSCE dark red */ + + position: relative; + height: 100%; + width: 80%; + left: 20%; + right: 0%; + top: 0%; + + background: #00932f; +} + .photoplaceHolder { /* Rectangle 1 */