"CPM_Prescreeening"
Bootstrap 4.1.1 Snippet by Daniel3007

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Prescreening CPM SLR</legend> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Is it an observational study?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Yes</button> <button id="button2id" name="button2id" class="btn btn-danger">No</button> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Is it a randomized controlled trial?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Yes</button> <button id="button2id" name="button2id" class="btn btn-danger">No</button> </div> </div> </fieldset> </form> <form class="form-horizontal"> <fieldset> <!-- Select Basic --> <div class="form-group"> <label class="col-md-4 control-label" for="selectbasic">Which species is used?</label> <div class="col-md-4"> <select id="selectbasic" name="selectbasic" class="form-control"> <option value="1">Rat</option> <option value="2">Mice</option> <option value="">Pig</option> </select> </div> </div> <!-- Multiple Checkboxes --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">What sex are the animals?</label> <div class="col-md-4"> <div class="checkbox"> <label for="checkboxes-0"> <input type="checkbox" name="checkboxes" id="checkboxes-0" value="1"> Male </label> </div> <div class="checkbox"> <label for="checkboxes-1"> <input type="checkbox" name="checkboxes" id="checkboxes-1" value="2"> Female </label> </div> <div class="checkbox"> <label for="checkboxes-2"> <input type="checkbox" name="checkboxes" id="checkboxes-2" value=""> Both </label> </div> <div class="checkbox"> <label for="checkboxes-3"> <input type="checkbox" name="checkboxes" id="checkboxes-3" value=""> Not reported </label> </div> </div> </div> <!-- Prepended text--> <div class="form-group"> <label class="col-md-4 control-label" for="prependedtext">What is the age of the animals (in weeks)?</label> <div class="col-md-4"> <div class="input-group"> <span class="input-group-addon">prepend</span> <input id="prependedtext" name="prependedtext" class="form-control" placeholder=" " type="text"> </div> <p class="help-block">leave blank if not reported</p> </div> </div> <!-- Appended Input--> <div class="form-group"> <label class="col-md-4 control-label" for="appendedtext">How was the temperature (in °C)?</label> <div class="col-md-4"> <div class="input-group"> <input id="appendedtext" name="appendedtext" class="form-control" placeholder=" " type="text"> <span class="input-group-addon">°C</span> </div> <p class="help-block">leave blank if not reported</p> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Was animal age reported?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Yes</button> <button id="button2id" name="button2id" class="btn btn-danger">No</button> </div> </div> <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2> Cool Buttons With Labels</h2> <div class="col-md-12"> <button type="button" class="btn btn-labeled btn-success"> <span class="btn-label"><i class="glyphicon glyphicon-ok"></i></span>Yes</button> <button type="button" class="btn btn-labeled btn-danger"> <span class="btn-label"><i class="glyphicon glyphicon-remove"></i></span>No</button> <br /> </div> </div> </div>

Related: See More


Questions / Comments:

Daniel3007 () - 3 years ago - Reply 0