mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
embed
This commit is contained in:
parent
46e7f0ad6a
commit
ac8bad60e3
61
htdocs/application/views/view/embed.php
Executable file
61
htdocs/application/views/view/embed.php
Executable file
@ -0,0 +1,61 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<?php
|
||||||
|
$page_title = '';
|
||||||
|
if(isset($title))
|
||||||
|
{
|
||||||
|
$page_title .= $title . ' - ';
|
||||||
|
}
|
||||||
|
$page_title .= $this->config->item('site_name');
|
||||||
|
?>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<title><?php echo $page_title; ?></title>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
//Carabiner
|
||||||
|
$this->carabiner->config(array(
|
||||||
|
'script_dir' => 'static/js/',
|
||||||
|
'style_dir' => 'static/styles/',
|
||||||
|
'cache_dir' => 'static/asset/',
|
||||||
|
'base_uri' => base_url(),
|
||||||
|
'combine' => true,
|
||||||
|
'dev' => !$this->config->item('combine_assets'),
|
||||||
|
));
|
||||||
|
|
||||||
|
// CSS
|
||||||
|
$this->carabiner->css('reset.css');
|
||||||
|
$this->carabiner->css('fonts.css');
|
||||||
|
$this->carabiner->css('main.css');
|
||||||
|
$this->carabiner->css('embed.css');
|
||||||
|
|
||||||
|
$this->carabiner->display('css');
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script type="text/javascript">
|
||||||
|
//<![CDATA[
|
||||||
|
var base_url = '<?php echo base_url(); ?>';
|
||||||
|
//]]>
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="paste">
|
||||||
|
<div class="text_formatted">
|
||||||
|
<div class="container">
|
||||||
|
<?php echo $paste; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
//stats
|
||||||
|
$this->load->view('defaults/stats');
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
htdocs/static/styles/embed.css
Normal file
11
htdocs/static/styles/embed.css
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
.paste {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paste .text_formatted {
|
||||||
|
width: 600px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user