Skip to content

Commit

Permalink
required changes done
Browse files Browse the repository at this point in the history
  • Loading branch information
trinetra110 committed Oct 30, 2024
1 parent c648084 commit 7338c8a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
18 changes: 16 additions & 2 deletions public/add_topic.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,22 @@
<div class="form-container">
<h2>Submit Research Topic</h2>
<form id="researchForm">
<label for="studentName">Student Name <span class="required">*</span></label>
<input type="text" id="studentName" name="studentName" required>
<label for="department">Department <span class="required">*</span></label>
<select id="department" name="department" required>
<option value="">Select Department</option>
<option value="Artificial Intelligence and Machine Learning">Artificial Intelligence and Machine
Learning</option>
<option value="Quantum Computing">Quantum Computing</option>
<option value="Blockchain Technology">Blockchain Technology</option>
<option value="Cybersecurity and Privacy">Cybersecurity and Privacy</option>
<option value="Renewable Energy Systems">Renewable Energy Systems</option>
<option value="Bioinformatics and Computational Biology">Bioinformatics and Computational Biology
</option>
<option value="Internet of Things (IoT)">Internet of Things (IoT)</option>
<option value="5G and Wireless Technologies">5G and Wireless Technologies</option>
<option value="Human-Computer Interaction">Human-Computer Interaction</option>
<option value="Data Science and Big Data Analytics">Data Science and Big Data Analytics</option>
</select>

<label for="topic">Topic <span class="required">*</span></label>
<input type="text" id="topic" name="topic" required>
Expand Down
22 changes: 22 additions & 0 deletions public/css/add_topic.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,25 @@ textarea {
.notification.hidden {
display: none;
}

/* Design specifically for the Department dropdown */
select {
width: 100%;
padding: 10px;
margin-top: 5px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
background-color: #fafafa;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px top 50%;
cursor: pointer;
}

select:focus {
outline: none;
border-color: #007bff;
}

0 comments on commit 7338c8a

Please sign in to comment.