-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add edit option in projects and interships (#33)
* before-pdf-div-testing * add first edit button in project * add edit option in intership and project * remove color * fix edit button error --------- Co-authored-by: yuvraj-rathod-1202 <rathodyuvraj12022007>
- Loading branch information
1 parent
27a35cf
commit 053620c
Showing
3 changed files
with
257 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,9 +173,17 @@ <h3>Internships</h3> | |
class="form-control my-2" id="yearinternF"> | ||
</div> | ||
</div> | ||
<button onclick="addNewIntern()" class="btn btn-dark btn-lg" id="internaddbutton">Add | ||
<button onclick="addNewIntern()" class="btn btn-dark btn-lg hidden" id="internaddbutton">Add | ||
This</button> | ||
<button class="btn btn-dark btn-lg hidden" id="interneditbutton">Change | ||
</button> | ||
<div>You must click the button to add this to LaTeX code.</div><br> | ||
<div class="form-group hidden" id="interneditbuttonComment">If you want to edit an internship, then click on edit.</div> | ||
<div class="form-group" id="internsEdit"> | ||
|
||
|
||
</div> | ||
|
||
|
||
<div id="projects-container"> | ||
<h3>Projects</h3> | ||
|
@@ -196,10 +204,20 @@ <h3>Projects</h3> | |
class="form-control my-2" id="yearprojectF"> | ||
</div> | ||
</div> | ||
<button onclick="addNewProject()" class="btn btn-dark btn-lg" id="internaddbutton">Add | ||
<button onclick="addNewProject()" class="btn btn-dark btn-lg hidden" id="projectaddbutton">Add | ||
This</button> | ||
<button class="btn btn-dark btn-lg hidden" id="projecteditbutton">Change | ||
</button> | ||
<div>You must click the button to add this to LaTeX code.</div><br> | ||
|
||
<!-- edit icons for project start--> | ||
<div class="form-group hidden" id="projecteditbuttonComment">If you want to edit a project, then click on edit.</div> | ||
<div class="form-group" id="projectsEdit"> | ||
|
||
|
||
</div> | ||
<!-- edit icon fo project end--> | ||
|
||
<h3>Skills</h3> | ||
<div>(If you dont want to include this, leave it blank and delete this section from the | ||
LaTeX code generated.)</div> | ||
|
@@ -258,7 +276,7 @@ <h3>Achievements</h3> | |
|
||
<!-- cv template --> | ||
|
||
|
||
<div class="col-md-6"> | ||
<div class="cv-template" id="cv-template"> | ||
<!-- Your CV Template content --> | ||
|
@@ -529,6 +547,7 @@ <h5 class="text-center my-2">A rough preview. Differs from the LaTeX output. <br | |
</div> --> | ||
|
||
<!--Skill set listed here--> | ||
|
||
<div class="row my-0" style="background-color: lightgray;"> | ||
<p class="fw-bold my-0 p-0">SKILLS</p> | ||
</div> | ||
|
@@ -548,7 +567,7 @@ <h5 class="text-center my-2">A rough preview. Differs from the LaTeX output. <br | |
elit. Explicabo quia et excepturi beatae rerum deserunt quia</p> | ||
</div> | ||
</li> | ||
</ul> | ||
</ul> | ||
<!-- <div class="row"> | ||
<div class="col-8 p-0"> | ||
<p class="fw-bold my-0">Type of Skill</p> | ||
|
@@ -603,18 +622,19 @@ <h5 class="text-center my-2">A rough preview. Differs from the LaTeX output. <br | |
<div class="d-grid gap-2 col-6 mx-auto my-4"> | ||
<!-- <button type="button" class="btn btn-dark btn-lg" id="download">Download | ||
Resume</button> --> | ||
|
||
<button class="btn btn-dark btn-lg" onclick="copyToClipboard()">Copy LaTeX Code to | ||
Clipboard</button> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- Latex code begins --> | ||
<pre id="latexCode" style="display:none;"> | ||
\documentclass[a4paper,10pt]{article} | ||
|
@@ -764,7 +784,16 @@ <h2>IIT Gandhinagar</h2> | |
<script src="script.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html2canvas.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.js"></script> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.min.js"></script> | ||
|
||
|
||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script> | ||
|
||
|
||
|
||
</body> | ||
|
||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters