Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Online Bootstrap Editor

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
    <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
    <style> 
       .search-form .form-group {
          float: right !important;
          transition: all 0.35s, border-radius 0s;
          width: 32px;
          height: 32px;
          background-color: #fff;
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
          border-radius: 25px;
          border: 1px solid #ccc;
        }
        .search-form .form-group input.form-control {
          padding-right: 20px;
          border: 0 none;
          background: transparent;
          box-shadow: none;
          display:block;
        }
        .search-form .form-group input.form-control::-webkit-input-placeholder {
          display: none;
        }
        .search-form .form-group input.form-control:-moz-placeholder {
          /* Firefox 18- */
          display: none;
        }
        .search-form .form-group input.form-control::-moz-placeholder {
          /* Firefox 19+ */
          display: none;
        }
        .search-form .form-group input.form-control:-ms-input-placeholder {
          display: none;
        }
        .search-form .form-group:hover,
        .search-form .form-group.hover {
          width: 100%;
          border-radius: 4px 25px 25px 4px;
        }
        .search-form .form-group span.form-control-feedback {
          position: absolute;
          top: -1px;
          right: -2px;
          z-index: 2;
          display: block;
          width: 34px;
          height: 34px;
          line-height: 34px;
          text-align: center;
          color: #3596e0;
          left: initial;
          font-size: 14px;
        }
    </style>
  </head>
  <body>
    <div class="row">
        <div class="col-md-12">
            <div class="col-md-6">
               <form action="" class="search-form">
                <div class="form-group has-feedback">
            		<label for="search" class="sr-only">Search</label>
            		<input type="text" class="form-control" name="search" id="search" placeholder="search">
              		<span class="glyphicon glyphicon-search form-control-feedback"></span>
            	</div>
            </form>
                <table class="table table-striped table-hover table-bordered">
                    <thead>
                        <tr>
                            <th>No</th>
                            <th>Perihal</th>
                            <th>PIC / Unit</th>
                            <th>Kategori</th>
                            <th>Start Date</th>
                            <th>End Date</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>1.</td>
                            <td>Training Ms. Access 365</td>
                            <td>Stefen / Accounting</td>
                            <td>Training</td>
                            <td>01/11/2018</td>
                            <td>30/11/2018</td>
                            <td>
                                <a href="<?php echo site_url('controller/function/uri') ?>"><i class="fa fa-edit"></i></a>
                                <a href="<?= site_url('controller/function'); ?>"><i class="fa fa-trash"></i></a>
                                <a href="<?php echo base_url() ?>directory_name/filename.php"><i class="fa fa-info-circle"></i></a>
                            </td>
                        </tr>
                         <tr>
                            <td>2.</td>
                            <td>Training Ms. Access 365</td>
                            <td>Stefen / Accounting</td>
                            <td>Training</td>
                            <td>01/11/2018</td>
                            <td>30/11/2018</td>
                            <td>
                                <a href="<?php echo site_url('controller/function/uri') ?>"><i class="fa fa-edit"></i></a>
                                <a href="<?= site_url('controller/function'); ?>"><i class="fa fa-trash"></i></a>
                                <a href="<?php echo base_url() ?>directory_name/filename.php"><i class="fa fa-info-circle"></i></a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="col-md-6">
                <p style="font-family:Segoe UI; color: orange;">Total Approval Training</p>
                <div id="chartContainer" style="height: 300px; width: 100%;"></div>
                <p style="font-family:Segoe UI; color: orange;">Total Approval Documentation</p>
                <div id="chartContainerDoc" style="height: 300px; width: 100%;"></div>
            </div>
        </div>
</div>








    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
        <script type="text/javascript">
window.onload = function () {
	var chart = new CanvasJS.Chart("chartContainer",
	{
		title:{
			text: "Total Approval Training in 2018"
		},
		legend: {
			maxWidth: 350,
			itemWidth: 120
		},
		data: [
		{
			type: "pie",
			showInLegend: true,
			toolTipContent: "#percent %",
			legendText: "{indexLabel}",
			dataPoints: [
				{ y: 70, indexLabel: "Approval" },
				{ y: 30, indexLabel: "No Approval" }
			
			]
		}
		]
	});

	
	var chart2 = new CanvasJS.Chart("chartContainerDoc",
	{
		title:{
			text: "Total Approval Documentation in 2018"
		},
		legend: {
			maxWidth: 350,
			itemWidth: 120
		},
		data: [
		{
			type: "pie",
			showInLegend: true,
			toolTipContent: "#percent %",
			legendText: "{indexLabel}",
			dataPoints: [
				{ y: 70, indexLabel: "Approval" },
				{ y: 30, indexLabel: "No Approval" }
			
			]
		}
		]
	});
	chart.render();
	chart2.render();

}
</script>
<script type="text/javascript" src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
  </body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.