本文整理汇总了PHP中Skin::css方法的典型用法代码示例。如果您正苦于以下问题:PHP Skin::css方法的具体用法?PHP Skin::css怎么用?PHP Skin::css使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Skin
的用法示例。
在下文中一共展示了Skin::css方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$menu = 'client';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Client List</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('client/list');
?>
" />
<script type="text/javascript">
Page = {};
Page.add_url = "<?php
echo URL::site('client/add');
?>
";
Page.edit_url = "<?php
echo URL::site('client/edit/{ID}');
?>
";
Page.delete_url = "<?php
echo URL::site('client/delete/{ID}');
?>
示例2:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• <?php
echo $title;
?>
</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('client/edit');
?>
" />
<script type="text/javascript">
$(function() {
$('#CancelBtn').click(function() {
location.href = "<?php
echo $referrer;
?>
";
return false;
});
});
</script>
</head>
示例3:
<?php
include Kohana::find_file('views', 'templates/base/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('default');
?>
" />
示例4:
$menu = 'admin';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Company Profile</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('company/profile');
?>
" />
<script type="text/javascript">
$(function() {
$('#EditBtn').click(function() {
location.href = "<?php
echo URL::site("company/edit/{$id}");
?>
";
});
});
</script>
</head>
<body>
示例5:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Login</title>
<?php
include Kohana::find_file('views', 'templates/plain/meta');
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('session/login');
?>
" />
</head>
<body>
<?php
include Kohana::find_file('views', 'templates/plain/header');
?>
<?php
echo Form::open();
?>
<?php
echo Form::hidden('referrer', $referrer);
?>
示例6:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php
echo APP_NAME;
?>
• Dashboard</title>
<?php
include Kohana::find_file('views', 'templates/default/meta');
?>
<link type="text/css" rel="stylesheet" href="<?php
echo Skin::css('dashboard/index');
?>
" />
</head>
<body>
<?php
include Kohana::find_file('views', 'templates/default/header');
?>
<div id="TopBar">
<div class="left-panel">
<h1>Dashboard</h1>
</div>
</div><!--#TopBar-->
<div id="MidPanel" class="has-top">
<div class="section">