Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
microintel authored Jul 4, 2024
1 parent efafdaa commit 614977d
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 0 deletions.
122 changes: 122 additions & 0 deletions dipmarkcard/dsmcgen.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
body {
font-family: Times New Roman;
margin: 2px;
border: 2px solid black;
}
.head {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: black;
color: white;
font-weight: bold;
padding: 10px;
}
.head img {
width: 100px;
}
.head h1, .head h2, .head h3 {
margin: 3px;
}
table {
width: 90%;
border-collapse: collapse;
margin-top:2px;
margin-left: auto;
margin-right: auto;
}
th, td {
border: 1px solid black;
padding: 2px;
text-align: center;
}
th {
background-color:black;
color: white;
}
tr:nth-child(even) {
background-color:#f2f2f2;
}
tr:hover {
background-color: #ddd;
}
.footer {
margin-top: 2px;
display: flex;
justify-content: space-between;
}
.footer div {
text-align: center;
}
#cont {
padding: 3px;
}
#tdd {
color: red;
border: none;
}
p {
font-weight: bold;
}
.he {
margin:1px;

display: flex;
flex-direction: row;
justify-content: space-around;
}
hr {
background-color: black;
height: 1.5px;
}
tr td:first-child {
border-left: none;
}
tr td:last-child {
border-right: none;
}
tr:last-child {
border-bottom: none;
}
table:last-child {
border-bottom: none;
}
.lc {
border-bottom: none;
}
.fck {
border-bottom: none;
}
red{
color:red;
}
.y {
border-bottom: 2px solid black;
}
@media print {
th {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.head {
margin: 0;
padding: 10px;
background-color: white;
color: black;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
tr:nth-child(even) {
background-color:#f2f2f2 !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}

hr {
background-color: black;
height: 1.5px;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}


99 changes: 99 additions & 0 deletions dipmarkcard/dsmcgen.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<html>
<head>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
<title>Marks Card</title>
<link rel="stylesheet" href="dsmcgen.css">
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script><script src="maximux.js"></script><script src="dsmcgen.js"></script><script src="https://microassest.github.io/MicroIntelAssest/script.js"></script><script src="https://microintel.github.io/Result/dipmarkcard/dcetDATAinLIST.js"></script>
<div id="cont">
<div class="head">
<div>
<img src="https://microintel.github.io/Resources/images/karnataka_govt_logo.png" width="130px" height="130px">
</div>
<div><center>
<h2>GOVERNMENT OF KARNATAKA</h2>
<h3>DEPARTMENT OF TECHNICAL EDUCATION, BANGALURU</h3>
<h3 style="margin:7px;">GOVT PLOYTECHNIC, CHAMARAJANAGAR-571313</h3>
<p>DIPLOMA MARKS CARD<br>
</center></div>
<div>
<img src="https://microintel.github.io/Resources/images/mistamp.png" width="130px" height="130px">
</div>
</div>
<hr>
<div class="he"><h4>Name : <span id="d1"></span></h4><h4>Reg No : <span id="d2"></span></h4></div>
<center>
<table border="1">
<tr class="fc"><th>#</th><th>Sem</th><th>Subjects</th> <th> See</th> <th>CIE </th><th>Total</th><th>grand</th><th>% Conver</th><th>Annual % Conver</th> </tr>

<tr> <td> 1. </td><td> 1</td><td> Maths </td> <td id="mex"> </td> <td id="mia"> </td> <td id="msum"> </td> <td rowspan="5" id="sem1peG"></td><td id="sem1peP" rowspan="5"></td> <td id="y1" rowspan="11"></td> </tr>

<tr> <td> 2.</td> <td>1 </td> <td> Foc </td> <td id="fex"> </td><td id="fia"> </td> <td id="focsum"> </td></tr>

<tr class="last"><td> 3. </td> <td>1 </td> <td> Feee </td> <td id="feex"> </td> <td id="feia"> </td> <td id="feesum"> </td></tr>

<tr> <td> 4. </td> <td>1 </td> <td> It Sk </td> <td id="itex"> </td> <td id="itia"> </td> <td id="itsum"> </td></tr>

<tr class="s"><td > 4.1 </td> <td>1 </td> <td> EVS </td> <td>--</td> <td id="evsia"> </td> <td id="evssum"> </td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

<tr><td> 5. </td> <td> 2</td> <td> Pms </td> <td id="pex"> </td> <td id="pia"> </td> <td id="pmssum"> </td> <td rowspan="6" id="sem2peG"></td><td id="sem2peP" rowspan="6"></td></tr>

<tr><td> 6. </td> <td>2 </td> <td> S & A </td> <td id="sex"> </td> <td id="sia"> </td> <td id="sasum"> </td></tr>

<tr> <td> 7. </td> <td>2 </td> <td> Communication </td> <td id="cex"> </td> <td id="cia"> </td> <td id="csum"> </td> </tr>

<tr><td> 8.</td> <td>2 </td><td> CAEG </td> <td id="caex"> </td> <td id="caia"> </td> <td id="caegsum"> </td> </tr>

<tr><td>9. </td> <td> 2</td> <td> multi media</td> <td id="mmex"> </td> <td id="mmia"> </td> <td id="mmsum"> </td></tr>

<tr class="y"><td> 9.1 </td> <td>2 </td> <td> Kannada-1 </td> <td> --</td> <td id="kan2ia"> </td> <td id="kan1sum"> </td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

<tr> <td> 10. </td> <td> 3</td> <td> python </td> <td id="pyex"> </td> <td id="pyia"> </td> <td id="pysum"> </td> <td rowspan="5" id="sem3peG"></td><td id="sem3peP" rowspan="5"></td> <td id="y2" rowspan="10"></td></tr>

<tr><td> 11.</td> <td> 3 </td> <td> CHMA </td> <td id="chex"> </td> <td id="chia"> </td> <td id="chmasum"> </td></tr>

<tr> <td> 12.</td> <td> 3</td> <td> C Network </td> <td id="cnex"> </td> <td id="cnia"> </td> <td id="cnsum"> </td> </tr>

<tr> <td> 13. </td> <td>3 </td> <td> DBMS </td> <td id="dex"> </td> <td id="dia"> </td> <td id="dsum"> </td> </tr>

<tr> <td> 13.1 </td> <td>3 </td> <td> Kannada-2</td> <td> -- </td> <td id="kan3ia"> </td> <td id="kan2sum"> </td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

<tr><td> 14. </td> <td>4 </td> <td> DS Python</td> <td id="dsex"> </td> <td id="dsia"> </td> <td id="dssum"> </td> <td rowspan="5" id="sem4peG"></td><td id="sem4peP" rowspan="5"></td></tr>

<tr><td> 15. </td> <td> 4</td> <td> OS & A </td> <td id="oex"> </td><td id="oia"> </td> <td id="osum"> </td></tr>

<tr> <td> 16. </td> <td>4 </td> <td> Java </td><td id="jex"> </td> <td id="jia"> </td> <td id="jsum"> </td></tr>

<tr> <td> 17. </td> <td> 4</td> <td> Sepp </td> <td id="seex"> </td> <td id="seia"> </td> <td id="sesum"> </td></tr>

<tr class="y"> <td> 17.1</td> <td>4 </td> <td> IC </td> <td> -- </td> <td id="icia"> </td> <td id="icsum"> </td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

<tr><td> 18. </td> <td>5 </td> <td> Cyber</td> <td id="cyex"> </td> <td id="cyia"> </td> <td id="cysum"> </td> <td rowspan="1" id="sem5peG"></td><td id="sem5peP" rowspan="1"></td> <td id="y3" class="fck" rowspan="2"></td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

<tr><td class="fck"> 19. </td> <td class="fck">6 </td> <td class="fck">Intership</td> <td class="fck" id="inex"> </td> <td class="fck" id="inia"> </td> <td class="fck" id="insum"> </td> <td class="fck" rowspan="1" id="sem6peG"></td><td class="fck" id="sem6peP" rowspan="1"></td></tr>

<!-----------------------------------------------------------------------------------------+---_---++-------+--&--------- -->

</Table>
</center>
<hr>
<div class="he">
<h3 style="margin:0px;margin-top:5px;" id="tp"></h3>
<h3 style="margin:0px;margin-top:5px;" id="tpp"></h3>
</div>
</p>
<button style="padding:10px;border-radius:15px;background-color:white;color:black;" id="bt" onclick="pri()">Print</button>
</div>
</body>
</html>
Loading

0 comments on commit 614977d

Please sign in to comment.