From ac8bad60e3c0b6493bb07e7a44357bb9a936033f Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 May 2012 17:51:57 +0200 Subject: [PATCH] embed --- htdocs/application/views/view/embed.php | 61 +++++++++++++++++++++++++ htdocs/static/styles/embed.css | 11 +++++ 2 files changed, 72 insertions(+) create mode 100755 htdocs/application/views/view/embed.php create mode 100644 htdocs/static/styles/embed.css diff --git a/htdocs/application/views/view/embed.php b/htdocs/application/views/view/embed.php new file mode 100755 index 0000000..92f3b51 --- /dev/null +++ b/htdocs/application/views/view/embed.php @@ -0,0 +1,61 @@ + +config->item('site_name'); +?> + + + + <?php echo $page_title; ?> +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'); + +?> + + + + +
+
+
+ +
+
+
+ +load->view('defaults/stats'); + +?> + + + diff --git a/htdocs/static/styles/embed.css b/htdocs/static/styles/embed.css new file mode 100644 index 0000000..41d8c3e --- /dev/null +++ b/htdocs/static/styles/embed.css @@ -0,0 +1,11 @@ + +.paste { + margin: 0 auto; + width: auto; +} + +.paste .text_formatted { + width: 600px; + margin: 0; +} +