本文整理汇总了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