Convert your inputs into a beautiful and printable PDF format with ease. Designed with simplicity and user experience in mind. A project developed for the Federal University of São João del-Rei (UFSJ) to generate a PDF file with the contract of a substitute professor.
- 📋 Dynamic Dropdown Option Selection:
- Allow users to select a contract type and see it reflected in the content.
- 🖊️ Text Input:
- Input the Professor's name and see it dynamically added to the content.
- 🖨️ Print as PDF:
- One-click solution to convert your content to a PDF, you can print it in the default printer or use a PDF printer solution.
-
Clone the Repository: Begin by cloning the repository to your local machine:
git clone https://github.com/devfel/contrato-substituto.git
-
Navigate to the Directory:
cd contrato-substituto
-
Open with a Browser: Just double click on the
index.html
to open it in your default browser.
- 🖥️ Launch the
index.html
in your favorite browser. - 📝 Fill out the form by selecting a contract type and inputting the Professor's name.
- 🖨️ Click the "Generate PDF" button and use the browser's print functionality to save as a PDF.
To run the program, simply open the index.html
file in any modern web browser.
- 📜
index.html
: Main HTML file containing the structure of the web application. - 🎨
styles.css
: Contains all the required styles for the application. - 🖥️
script.js
: Contains scripts for interactivity and dynamics of the application.
Feel free to fork the project, and contribute, All contributions are welcome!
This project is open-source. Feel free to use, modify, and distribute it as you see fit.