Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
5.2 kB
4
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Page Title</title>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

    <!-- Custom CSS -->
    <style>
        body {
            padding-top: 70px; /* Adjust according to your navbar height */
        }

        .vertical-navbar {
            width: 280px;
            background-color: #f8f9fa; /* Bootstrap background color */
            position: fixed;
            top: 70px; /* Adjust according to your navbar height */
            bottom: 0;
            left: 0;
            overflow-y: auto;
            padding-top: 20px;
        }

        .form-container {
            padding: 20px;
        }

        .form-container .form-group {
        margin-bottom: 15px; /* Adjust the value as needed to control the space between form groups */
        margin-left: 50px;

        }

        .form-control {
            width: 100%;
        }

        /* Add this CSS to change label color */
        .form-group label.control-label {
            color: #305575; /* Change to the color you prefer */
        }

    </style>
</head>
<body>

    <!-- Horizontal Navbar -->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">Your Brand</a>
            </div>
            <ul class="nav navbar-nav">
                <li><a href="#">Home</a></li>
                <li><a href="#">About</a></li>
                <!-- Add more navigation links as needed -->
            </ul>
        </div>
    </nav>

    <!-- Vertical Navbar -->
    <nav class="vertical-navbar">
        <ul class="nav nav-pills nav-stacked">
            <li><a href="#">Category 1</a></li>
            <li><a href="#">Category 2</a></li>
            <!-- Add more vertical navigation links as needed -->
        </ul>
    </nav>

    <!-- Form on the right side -->
    <div class="container form-container">
        <form action="#" method="post" class="form-horizontal">
            {% csrf_token %}

            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <label for="qualification_level" class="control-label">Qualification Level*</label>
                        <select name="qualification_level" id="qualification_level" class="form-control">
                            <option value="high_school">High School</option>
                            <option value="undergraduate">Undergraduate</option>
                            <option value="graduate">Graduate</option>
                            <!-- Add more options as needed -->
                        </select>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="form-group">
                        <label for="qualification_name" class="control-label">Qualification Name</label>
                        <input type="text" class="form-control" id="qualification_name" name="qualification_name">
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="form-group">
                        <label for="board_university" class="control-label">Board University</label>
                        <input type="text" class="form-control" id="board_university" name="board_university">
                    </div>
                </div>
            </div>

            <!-- Repeat similar grid structure for other form elements -->

            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <label for="qualification_level" class="control-label">Year of Passing*:</label>
                        <select name="qualification_level" id="qualification_level" class="form-control">
                            <option value="high_school">High School</option>
                            <option value="undergraduate">Undergraduate</option>
                            <option value="graduate">Graduate</option>
                            <!-- Add more options as needed -->
                        </select>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="form-group">
                        <label for="qualification_name" class="control-label">% Marks / CPGA*:</label>
                        <input type="text" class="form-control" id="qualification_name" name="qualification_name">
                    </div>
                </div>
            </div>

            <div class="form-group">
                <button type="submit" class="btn btn-primary">Submit</button>
            </div>
        </form>
    </div>

    <!-- Bootstrap JS (optional, for certain components) -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
Leave a Comment