本文整理匯總了PHP中grocery_CRUD::set_css方法的典型用法代碼示例。如果您正苦於以下問題:PHP grocery_CRUD::set_css方法的具體用法?PHP grocery_CRUD::set_css怎麽用?PHP grocery_CRUD::set_css使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類grocery_CRUD
的用法示例。
在下文中一共展示了grocery_CRUD::set_css方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: exit
<?php
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
grocery_CRUD::set_css('assets/grocery_crud/themes/flexigrid/css/flexigrid.css');
grocery_CRUD::set_js('assets/grocery_crud/themes/flexigrid/js/jquery.form.js');
grocery_CRUD::set_js('assets/grocery_crud/themes/flexigrid/js/flexigrid-add.js');
?>
<script type='text/javascript'>
var base_url = '<?php
echo base_url();
?>
';
</script>
<div class="flexigrid" style='width: 100%;'>
<div class="mDiv">
<div class="ftitle">
<div class='ftitle-left'>
Add <?php
echo $subject;
?>
</div>
<div class='ftitle-right'>
<a href='<?php
echo $list_url;
?>
' onclick='javascript: return goToList()' >Back to list</a>
</div>
<div class='clear'></div>
</div>
示例2: exit
<?php
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
grocery_CRUD::set_css('assets/grocery_crud/themes/datatables/css/demo_table_jui.css');
grocery_CRUD::set_css('assets/grocery_crud/themes/datatables/css/ui/simple/jquery-ui-1.8.10.custom.css');
grocery_CRUD::set_css('assets/grocery_crud/themes/datatables/css/datatables.css');
grocery_CRUD::set_js('assets/grocery_crud/themes/datatables/js/jquery-1.6.2.min.js');
grocery_CRUD::set_js('assets/grocery_crud/themes/datatables/js/jquery-ui-1.8.10.custom.min.js');
grocery_CRUD::set_js('assets/grocery_crud/themes/datatables/js/jquery.dataTables.min.js');
grocery_CRUD::set_js('assets/grocery_crud/themes/datatables/js/datatables.js');
?>
<script type='text/javascript'>
var base_url = '<?php
echo base_url();
?>
';
var subject = '<?php
echo $subject;
?>
';
</script>
<?php
if (!empty($actions)) {
?>
<style type="text/css">
<?php
foreach ($actions as $action_unique_id => $action) {
?>
<?php
示例3: exit
<?php
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
grocery_CRUD::set_css('assets/grocery_crud/themes/datatables/css/datatables.css');
grocery_CRUD::set_js('assets/grocery_crud/themes/flexigrid/js/jquery.form.js');
grocery_CRUD::set_js('assets/grocery_crud/themes/datatables/js/datatables-add.js');
grocery_CRUD::set_css('assets/grocery_crud/css/ui/simple/jquery-ui-1.8.10.custom.css');
grocery_CRUD::set_js('assets/grocery_crud/js/jquery_plugins/jquery-ui-1.8.10.custom.min.js');
?>
<script type='text/javascript'>
var base_url = '<?php
echo base_url();
?>
';
</script>
<div class='ui-widget-content ui-corner-all datatables'>
<h3 class="ui-accordion-header ui-helper-reset ui-state-default form-title">
<div class='floatL form-title-left'>
<a href="#">Add <?php
echo $subject;
?>
</a>
</div>
<div class='floatR'>
<a href='<?php
echo $list_url;
?>
' onclick='javascript: return goToList()' class='gotoListButton' >
Back to list