"Failed to load resource: the server responded with a status of 404 (Not Found) bootstrap.min.css:1"
How can I fix this?
ALSO: Is there anything wrong with this view below? I am finding that it keeps displaying regardless of the URL in the browser. I have looked EVERYWHERE else in my code for the problem!
<!doctype html>
<html lang=""en">
<style>
.marquee {
width: 800px;
margin: 0 auto;
overflow: hidden;
box-sizing: border-box;
}
.marquee span {
display: inline-block;
width: max-content;
padding-left: 100%;
/* show the marquee just outside the paragraph */
will-change: transform;
animation: marquee 15s linear infinite;
}
.marquee span:hover {
animation-play-state: paused
}
@keyframes marquee {
0% { transform: translate(0, 0); }
100% { transform: translate(-100%, 0); }
}
/* Respect user preferences about animations */
@media (prefers-reduced-motion: reduce) {
.marquee span {
animation-iteration-count: 1;
animation-duration: 0.01;
/* instead of animation: none, so an animationend event is
* still available, if previously attached.
*/
width: auto;
padding-left: 0;
}
}
</style>
<head>
<meta charset="UTF-8">
<title>Research Study Online</title>
<link href="css/bootstrap.min.css" rel="stylesheet"
< meta name-"viewport" content="width=device-width, initial-scale=.5">
<link rel="shortcut icon" href="<?php echo base_url(); ?>assets/themes/default/images/favicon.ico" type="image/x-icon"/>
</head>
<div class=""row">
</div>
<?php
//MyReport.view.php
use \koolreport\amazing\Theme;
use \koolreport\widgets\koolphp\Table;
use \koolreport\amazing\SimpleCard;
use \koolreport\clients\Bootstrap;
use \koolreport\amazing\GaugeCard;
use \koolreport\widgets\google\PieChart;
use \koolreport\sparklines;
$campaign=$_SESSION['campaign'];
$email=$_SESSION['userid'];
/*
$danger=.25;
$warning=.5;
$primary=.75;
$sucess=1;
*/
?>
<html>
<br><br><br><br>
<body>
<a href="index.php/Configure/campaign_management_with_actions" text-align: right;">Enter </a> <br>
<a href="index.php/Configure/close_app" float: center;" > Logout </a> <br>
<a href="https://stonly.com/guide/en/three-step-guide-template-uVlYJiakQ0/Steps/" float: right;" target="_blank"> ProductTour </a>
</html>
</div>
<div class="report-content" style="padding:1px">
<div class="text-center">
<div class="text-center">
<p class="lead">
<script src="//web.webformscr.com/apps/fc3/build/loader.js" sp-form-id="611391db0513dea394781ac3c3d785b16e8a9ded74671b35b6c9588e0076bee9"></script>
<h6> DASHBOARD for
Company : <?php echo $campaign ?> </h6>
<?php
if ($campaign=='Apple') //Apple is the sample
echo "Apple is a sample. View the Product Tour to learn how to add your own Company.";
?></div>
</div>
</div>
<div class="report-content" style="padding:0px">
<div class="text-center">
<p class="lead">
</p>
</div>
<div class="row">
<div class="col-lg-3">
<?php
SimpleCard::create(array(
"href"=>"cost_center_management",
"title"=>"Cost Centers",
"value"=>$this->dataStore("cost_center")->get(0,"cost_center_count"),
"preset"=>"info",
"cssClass"=>array(
"icon"=>"fa fa-medkit",
"card"=>"p-3",
),
));
?>
. </div>
<div class="col-lg-3">
<?php
//#2 n/a
SimpleCard::create(array(
"href"=>"maintain_employees_management",
"title"=>"Employees",
"value"=>$this->dataStore("campaigns2")->get(0,"number_of_employees"),
"preset"=>"info",
"cssClass"=>array(
"icon"=>"fa fa-venus-mars",
"card"=>"p-3",
),
));
?>
</div>
<div class="col-lg-3">
<?php
//#3 completed BC/total BC
SimpleCard::create(array(
"href"=>"business_component_management",
"title"=>"Business Components",
"value"=>$this->dataStore("global_summary")->get(0,"num_buscomps"),
"preset"=>"info",
"cssClass"=>array(
"icon"=>"fa fa-microchip",
"card"=>"p-3",
),
));
?>
</div>
<div class="col-lg-3">
<?php
//#4
SimpleCard::create(array(
"href"=>"maintain_employees_management",
"title"=>"Wages",
"preset"=>"info",
"value"=>$this->dataStore("wages")->get(0,"total_wages"),
"cssClass"=>array(
"icon"=>"fa fa-dollar",
"card"=>"p-4",
),
"format"=>array(
"value"=>array(
"prefix"=>"$"
)
),
));
?>
</div>
</div>
<div class="reduceSize">
<div class="row">
<div class="col-lg-3">
<?php
/*
PieChart::create(array(
"title"=>"% of total $ by risk",
"dataSource"=>$this->dataStore("titles_pie2"),
"columns"=>array("risk","total_wages"),
"options"=>array("is3D"=>true),
"forceIFrame"=>true,
"clientEvents" => [
"select" => "function(e) {
console.log('piechart select', e);
business_component_management'
}",
]
)
);
*/
PieChart::create(array(
"title"=>"% of total wages by risk",
"dataSource"=>$this->dataStore("titles_pie2"),
"columns"=>array("risk","total_wages"),
"options"=>array("is3D"=>true),
"forceIFrame"=>true,
)
);
?>
</div>
<div class="col-lg-3">
<?php
PieChart::create(array(
"title"=>"% employee wages by title",
"dataSource"=>$this->dataStore("titles_pie"),
"columns"=>array("title","employee_count"),
"options"=>array("is3D"=>true),
"forceIFrame"=>true
)
);
?>
</div>
<div class="col-md-4">
<?php
\koolreport\amazing\GaugeCard::create(array(
"href"=>"view_population",
"title"=>"Surveys - % responses",
"value"=>$this->dataStore("campaigns2")->get(0,"percent_complete"),
"preset"=>"success",
"baseValue"=>100,
"format"=>array(
"value"=>array(
"prefix"=>""
)
),
));
?>
</div>
<div class="col-lg-2">
<?php
\koolreport\amazing\SimpleCard::create(array(
"href"=>"projects_management",
"title"=>"Projects",
"value"=>$this->dataStore("project")->get(0,"pr_count"),
"preset"=>"danger",
"baseValue"=>5000,
"format"=>array(
"value"=>array(
"prefix"=>""
)
),
"cssClass"=>array(
"positive"=>"text-danger",
),
));
?>
<?php
\koolreport\amazing\SimpleCard::create(array(
"href"=>"contracts_management",
"title"=>"Contract",
"value"=>$this->dataStore("contract_dollars")->get(0,"contract_dollars_total"),
"preset"=>"danger",
"baseValue"=>5000,
"format"=>array(
"value"=>array(
"prefix"=>"$"
)
),
"cssClass"=>array(
"positive"=>"text-danger",
),
));
\koolreport\amazing\SimpleCard::create(array(
"title"=>"TaxCredit",
"value"=>$this->dataStore("recovered")->get(0,"credit"),
"preset"=>"success",
"baseValue"=>5000,
"format"=>array(
"value"=>array(
"prefix"=>"$"
)
),
"cssClass"=>array(
"positive"=>"text-success",
),
));
?>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="accessToken"></div>
<p class="marquee">
<span >
<?php
// echo "<span style=' background-color: black; color: white; '>";
echo "As of ";
echo date('D M j Y');
echo (' total US tax credits documented by Research Study Online = ');
$total_credit_amount = $this->dataStore('total_credits')->sum("total_credit");
$formatted_total_credits = number_format( $total_credit_amount);
echo "$".$formatted_total_credits;
// echo "</span>";
?>
</span>
</p>
</body>
</html>