Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
13 kB
4
Indexable
Never
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                    <div className="card">
                      <div className="card-header">
                      <div className="card-title">
                        <span>
                          <b>BSIT</b>
                        </span>
                      </div>
                      </div>
                      <div className="card-body">
                            <table className="table table-bordered">
                                <thead>
                                    <tr>
                                        <th>Subject Code</th>
                                        <th>Subject Description</th>
                                        <th>Subject Semester</th>
                                        <th>Subject Term</th>
                                        <th>Subject Schedule</th>
                                        <th style={{paddingLeft: '50px', paddingRight: '70px'}}>Subject Time</th>
                                        <th className="actions">Actions</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {subjects.length === 0 ? (
                                        <tr>
                                            <td colSpan="7" className="no-data">No data</td>
                                        </tr>
                                    ) : (
                                        subjects.map((subject) => (
                                            <tr key={subject.key} id="td">
                                                <td>{subject.SubjectCode}</td>
                                                <td>{subject.SubjectDescription}</td>
                                                <td>{subject.SubjectSemester}</td>
                                                <td>{subject.SubjectTerm}</td>
                                                <td>{subject.SubjectSchedule}</td>
                                                <td>{subject.SubjectTime}</td>
                                                <td className="button">
                                                    <button className="btn btn-success text-light mx-3" onClick={() => { Instructor(subject) }}>Assign</button>
                                                    <button className="btn btn-primary" onClick={() => { ViewInstructors(subject) }}>View</button>
                                                    <button className="btn btn-danger mx-3" onClick={() => { ConfirmationModal(subject) }}>Delete</button>
                                                </td>
                                            </tr>
                                        ))
                                    )}
                                </tbody>
                            </table>
                        </div>
                      <div className="card-footer">
                        <button className="btn btn-primary" onClick={BSIT}>
                          New
                        </button>
                      </div>
                    </div>
                    </div>
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                      <div className="card">
                        <div className="card-header">
                          <div className="card-title">
                            <span>
                              <b>BSHM/HRM</b>
                              </span>
                              </div>
                        </div>
                        <div className="card-body">
                          <table className="table table-bordered">
                            <thead>
                              <tr>
                                <th scope="col">Subject Code</th>
                                <th scope="col">Subject Description</th>
                                <th scope="col">Subject Semester</th>
                                <th scope="col">Subject Term</th>
                                <th scope="col">Actions</th>
                              </tr>
                            </thead>
                            <tbody>
                              <tr>
                                <td>HM101</td>
                                <td>Limpyo Lamesa</td>
                                <td>1st Semester</td>
                                <td>1st Term</td>
                                <td>
                                  <button className="btn btn-success mx-3">Assign</button>
                                  <button className="btn btn-primary">View</button>
                                  <button className="btn btn-danger mx-3">Delete</button>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                        <div className="card-footer">
                          <button className="btn btn-primary">New</button>
                        </div>
                      </div>
                    </div>
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                      <div className="card">
                        <div className="card-header">
                          <div className="card-title">
                            <span>
                              <b>BTVTED</b>
                              </span>
                              </div>
                        </div>
                        <div className="card-body">
                          <table className="table table-bordered">
                            <thead>
                              <tr>
                                <th scope="col">Subject Code</th>
                                <th scope="col">Subject Description</th>
                                <th scope="col">Subject Semester</th>
                                <th scope="col">Subject Term</th>
                                <th scope="col">Actions</th>
                              </tr>
                            </thead>
                            <tbody>
                              <tr>
                                <td>HM101</td>
                                <td>Limpyo Lamesa</td>
                                <td>1st Semester</td>
                                <td>1st Term</td>
                                <td>
                                  <button className="btn btn-success mx-3">Assign</button>
                                  <button className="btn btn-primary">View</button>
                                  <button className="btn btn-danger mx-3">Delete</button>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                        <div className="card-footer">
                          <button className="btn btn-primary">New</button>
                        </div>
                      </div>
                    </div>
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                      <div className="card">
                        <div className="card-header">
                          <div className="card-title">
                            <span>
                              <b>BSBA</b>
                              </span>
                              </div>
                        </div>
                        <div className="card-body">
                          <table className="table table-bordered">
                            <thead>
                              <tr>
                                <th scope="col">Subject Code</th>
                                <th scope="col">Subject Description</th>
                                <th scope="col">Subject Semester</th>
                                <th scope="col">Subject Term</th>
                                <th scope="col">Actions</th>
                              </tr>
                            </thead>
                            <tbody>
                              <tr>
                                <td>HM101</td>
                                <td>Limpyo Lamesa</td>
                                <td>1st Semester</td>
                                <td>1st Term</td>
                                <td>
                                  <button className="btn btn-success mx-3">Assign</button>
                                  <button className="btn btn-primary">View</button>
                                  <button className="btn btn-danger mx-3">Delete</button>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                        <div className="card-footer">
                          <button className="btn btn-primary">New</button>
                        </div>
                      </div>
                    </div>
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                      <div className="card">
                        <div className="card-header">
                          <div className="card-title">
                            <span>
                              <b>Crim</b>
                              </span>
                              </div>
                        </div>
                        <div className="card-body">
                          <table className="table table-bordered">
                            <thead>
                              <tr>
                                <th scope="col">Subject Code</th>
                                <th scope="col">Subject Description</th>
                                <th scope="col">Subject Semester</th>
                                <th scope="col">Subject Term</th>
                                <th scope="col">Actions</th>
                              </tr>
                            </thead>
                            <tbody>
                              <tr>
                                <td>HM101</td>
                                <td>Limpyo Lamesa</td>
                                <td>1st Semester</td>
                                <td>1st Term</td>
                                <td>
                                  <button className="btn btn-success mx-3">Assign</button>
                                  <button className="btn btn-primary">View</button>
                                  <button className="btn btn-danger mx-3">Delete</button>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                        <div className="card-footer">
                          <button className="btn btn-primary">New</button>
                        </div>
                      </div>
                    </div>
                    <div className="col-md-10 col-xl-6 col-lg-6 g-5">
                      <div className="card">
                        <div className="card-header">
                          <div className="card-title">
                            <span>
                              <b>Senior High</b>
                              </span>
                              </div>
                        </div>
                        <div className="card-body">
                          <table className="table table-bordered">
                            <thead>
                              <tr>
                                <th scope="col">Subject Code</th>
                                <th scope="col">Subject Description</th>
                                <th scope="col">Subject Semester</th>
                                <th scope="col">Subject Term</th>
                                <th scope="col">Actions</th>
                              </tr>
                            </thead>
                            <tbody>
                              <tr>
                                <td>HM101</td>
                                <td>Limpyo Lamesa</td>
                                <td>1st Semester</td>
                                <td>1st Term</td>
                                <td>
                                  <button className="btn btn-success mx-3">Assign</button>
                                  <button className="btn btn-primary">View</button>
                                  <button className="btn btn-danger mx-3">Delete</button>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                        <div className="card-footer">
                          <button className="btn btn-primary">New</button>
                        </div>
                      </div>
                    </div>
Leave a Comment