|
| 1 | +<!DOCTYPE HTML> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | +<title>Election Platform : Add Candidates</title> |
| 5 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 7 | +<meta name="keywords" content="Shoppy Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, |
| 8 | +Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> |
| 9 | +<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> |
| 10 | +<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> |
| 11 | +<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all"> |
| 12 | +<!-- Custom Theme files --> |
| 13 | +<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> |
| 14 | +<!--js--> |
| 15 | +<script src="js/jquery-2.1.1.min.js"></script> |
| 16 | +<!--icons-css--> |
| 17 | +<link href="css/font-awesome.css" rel="stylesheet"> |
| 18 | +<!--Google Fonts--> |
| 19 | +<link href='//fonts.googleapis.com/css?family=Carrois+Gothic' rel='stylesheet' type='text/css'> |
| 20 | +<link href='//fonts.googleapis.com/css?family=Work+Sans:400,500,600' rel='stylesheet' type='text/css'> |
| 21 | +<!--//skycons-icons--> |
| 22 | +</head> |
| 23 | +<body> |
| 24 | +<div class="page-container"> |
| 25 | + <div class="left-content"> |
| 26 | + <div class="mother-grid-inner"> |
| 27 | + <!--header start here--> |
| 28 | + <div class="header-main"> |
| 29 | + <div class="header-left"> |
| 30 | + <div class="logo-name"> |
| 31 | + <a href="index.html"> <h1>INEC Board</h1> |
| 32 | + <!--<img id="logo" src="" alt="Logo"/>--> |
| 33 | + </a> |
| 34 | + </div> |
| 35 | + <div class="clearfix"> </div> |
| 36 | + </div> |
| 37 | + <div class="header-right"> |
| 38 | + <!--notification menu end --> |
| 39 | + <div class="profile_details"> |
| 40 | + <ul> |
| 41 | + <li class="dropdown profile_details_drop"> |
| 42 | + <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> |
| 43 | + <div class="profile_img"> |
| 44 | + <span class="prfil-img"><img src="images/p1.png" alt=""> </span> |
| 45 | + <div class="user-name"> |
| 46 | + <p>INEC Admin</p> |
| 47 | + <span>Admin001</span> |
| 48 | + </div> |
| 49 | + <i class="fa fa-angle-down lnr"></i> |
| 50 | + <i class="fa fa-angle-up lnr"></i> |
| 51 | + <div class="clearfix"></div> |
| 52 | + </div> |
| 53 | + </a> |
| 54 | + </li> |
| 55 | + </ul> |
| 56 | + </div> |
| 57 | + <div class="clearfix"> </div> |
| 58 | + </div> |
| 59 | + <div class="clearfix"> </div> |
| 60 | + </div> |
| 61 | +<!--heder end here--> |
| 62 | +<!-- script-for sticky-nav --> |
| 63 | + <script> |
| 64 | + $(document).ready(function() { |
| 65 | + var navoffeset=$(".header-main").offset().top; |
| 66 | + $(window).scroll(function(){ |
| 67 | + var scrollpos=$(window).scrollTop(); |
| 68 | + if(scrollpos >=navoffeset){ |
| 69 | + $(".header-main").addClass("fixed"); |
| 70 | + }else{ |
| 71 | + $(".header-main").removeClass("fixed"); |
| 72 | + } |
| 73 | + }); |
| 74 | + |
| 75 | + }); |
| 76 | + </script> |
| 77 | + <!-- /script-for sticky-nav --> |
| 78 | +<!--inner block start here--> |
| 79 | +<div class="inner-block"> |
| 80 | + <div class="blank"> |
| 81 | + <h2>Add Election</h2> |
| 82 | + <div class="blankpage-main"> |
| 83 | + <form id="add_candidate"> |
| 84 | + <div id="error_handler" class="hide" style=" color: #fff; padding: 5px; text-align: center;"> |
| 85 | + <p>Message</p> |
| 86 | + </div> |
| 87 | + <div class="form-group"> |
| 88 | + <label for="exampleInputEmail1">Election Type:</label> |
| 89 | + <select class="form-control" name="candidate_election" id="candidate_election" onchange="cSelect(this.value)"> |
| 90 | + <option value="empty" disabled="" selected="">Select an election</option> |
| 91 | + <option value="Presidential">Presidential</option> |
| 92 | + <option value="State">State</option> |
| 93 | + <option value="Senate">Senate</option> |
| 94 | + <option value="Local Government">Local Government</option> |
| 95 | + </select> |
| 96 | + </div> |
| 97 | + <div class="form-group hide" id="stateselected"> |
| 98 | + <label for="">Select State:</label> |
| 99 | + <select class="form-control" name="candidate_election_state" id="candidate_election_state"> |
| 100 | + <option value="empty" disabled="" selected="">Select an election</option> |
| 101 | + <option value="Lagos">Lagos</option> |
| 102 | + <option value="Edo">Edo</option> |
| 103 | + <option value="Delta">Delta</option> |
| 104 | + <option value="Kogi">Kogi</option> |
| 105 | + <option value="Cross-river">Cross-river</option> |
| 106 | + <option value="Rivers">Delta</option> |
| 107 | + <option value="Ondo">Ondo</option> |
| 108 | + <option value="Oyo">Oyo</option> |
| 109 | + </select> |
| 110 | + </div> |
| 111 | + <div class="form-group"> |
| 112 | + <label for="">Candidate Name:</label> |
| 113 | + <input type="text" class="form-control" id="name" name="candidate_name"> |
| 114 | + </div> |
| 115 | + <div class="form-group"> |
| 116 | + <label for="">Date Of Birth:</label> |
| 117 | + <input type="date" class="form-control" id="date" name="candidate_dob"> |
| 118 | + </div> |
| 119 | + <div class="form-group"> |
| 120 | + <label for="">Candidate Party:</label> |
| 121 | + <input type="text" class="form-control" id="party" name="candidate_party"> |
| 122 | + </div> |
| 123 | + <div class="form-group"> |
| 124 | + <label for="">Candidate Tenure:</label> |
| 125 | + <select class="form-control" name="candidate_tenure" id="candidate_tenure"> |
| 126 | + <option value="1st Tenure">1st Tenure</option> |
| 127 | + <option value="2nd Tenure">2nd Tenure</option> |
| 128 | + </select> |
| 129 | + </div> |
| 130 | + <button type="submit" id="add_candidatex" class="btn btn-primary">Submit</button> |
| 131 | + </form> |
| 132 | + </div> |
| 133 | + </div> |
| 134 | +</div> |
| 135 | +<!--inner block end here--> |
| 136 | +<!--copy rights start here--> |
| 137 | +<div class="copyrights"> |
| 138 | + <p>© 2019 INEC Board. All Rights Reserved | Developed by <a href="" target="_blank">Alphex</a> </p> |
| 139 | +</div> |
| 140 | +<!--COPY rights end here--> |
| 141 | +</div> |
| 142 | +</div> |
| 143 | +<!--slider menu--> |
| 144 | + <div class="sidebar-menu"> |
| 145 | + <div class="logo"> <a href="#" class="sidebar-icon"> <span class="fa fa-bars"></span> </a> <a href="#"> <span id="logo" ></span> |
| 146 | + <!--<img id="logo" src="" alt="Logo"/>--> |
| 147 | + </a> </div> |
| 148 | + <div class="menu"> |
| 149 | + <ul id="menu" > |
| 150 | + <li id="menu-home" ><a href="index.html"><i class="fa fa-tachometer"></i><span>Dashboard</span></a></li> |
| 151 | + <li><a href="#"><i class="fa fa-cogs"></i><span>Elections</span><span class="fa fa-angle-right" style="float: right"></span></a> |
| 152 | + <ul> |
| 153 | + <li><a href="set_election.html">Create an Election</a></li> |
| 154 | + <li><a href="add_election.html">Add Candidates</a></li> |
| 155 | + <li><a href="presidential.html">Presidential</a></li> |
| 156 | + <li><a href="state.html">State</a></li> |
| 157 | + <li><a href="senate.html">Senate</a></li> |
| 158 | + <li><a href="local.html">Local Government</a></li> |
| 159 | + </ul> |
| 160 | + </li> |
| 161 | + <li><a href="#"><i class="fa fa-cog"></i><span>Logout</span></li> |
| 162 | + </ul> |
| 163 | + </div> |
| 164 | + </div> |
| 165 | + <div class="clearfix"> </div> |
| 166 | +</div> |
| 167 | +<!--slide bar menu end here--> |
| 168 | +<script> |
| 169 | +var toggle = true; |
| 170 | + |
| 171 | +$(".sidebar-icon").click(function() { |
| 172 | + if (toggle) |
| 173 | + { |
| 174 | + $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back"); |
| 175 | + $("#menu span").css({"position":"absolute"}); |
| 176 | + } |
| 177 | + else |
| 178 | + { |
| 179 | + $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back"); |
| 180 | + setTimeout(function() { |
| 181 | + $("#menu span").css({"position":"relative"}); |
| 182 | + }, 400); |
| 183 | + } |
| 184 | + toggle = !toggle; |
| 185 | + }); |
| 186 | +</script> |
| 187 | +<!--scrolling js--> |
| 188 | + <script src="js/jquery.nicescroll.js"></script> |
| 189 | + <script src="js/scripts.js"></script> |
| 190 | + <!--//scrolling js--> |
| 191 | +<script src="js/bootstrap.js"> </script> |
| 192 | +<script src="js/custom.js"> </script> |
| 193 | +<!-- mother grid end here--> |
| 194 | +</body> |
| 195 | +</html> |
| 196 | + |
| 197 | + |
0 commit comments