Skip to content

Commit

Permalink
added faculty control
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatmaj-Zephyr committed Dec 12, 2023
1 parent 47c60f6 commit c95872f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
14 changes: 12 additions & 2 deletions id.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
src="https://www.somaiya.edu/assets/university/img/homepage/university-logo.svg"
/>
<div class="IDRedMat">
<div class="IDDarkRed"></div>
<div id="studentmat" class="IDDarkRed"></div>
<img id="image" src="https://avatars.githubusercontent.com/u/83284294?v=4" class="photoplaceHolder">
<div class="studentText">STUDENT</div>
<div id="studenttext" class="studentText">STUDENT</div>
</div>

<div class="IDtransparentframe">
Expand Down Expand Up @@ -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);


Expand Down
15 changes: 15 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@

transform: rotate(-90deg);
}

.IDtransparentframe {
/* Frame 1 */

Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit c95872f

Please sign in to comment.