Permalink
Browse files

Themes. Initial commit.

  • Loading branch information...
1 parent 5082e01 commit 678cc339435b23586c38c5da6ce83f415bf9bb38 @norv norv committed Feb 27, 2012
Showing with 3,055 additions and 0 deletions.
  1. +61 −0 themes/default/common.tox
  2. +2 −0 themes/default/css/index.php
  3. +521 −0 themes/default/css/jquery-ui.css
  4. 0 themes/default/css/mobile.css
  5. +1 −0 themes/default/css/pages.css
  6. +51 −0 themes/default/css/print.css
  7. +852 −0 themes/default/css/style.css
  8. +149 −0 themes/default/forms.tox
  9. +2 −0 themes/default/images/index.php
  10. BIN themes/default/images/jquery-ui/ui-bg_flat_100_aaaaaa_40x100.png
  11. BIN themes/default/images/jquery-ui/ui-bg_flat_100_d1e8f4_40x100.png
  12. BIN themes/default/images/jquery-ui/ui-bg_flat_100_e6e6e6_40x100.png
  13. BIN themes/default/images/jquery-ui/ui-bg_flat_100_edf8fc_40x100.png
  14. BIN themes/default/images/jquery-ui/ui-bg_flat_100_f0f0f0_40x100.png
  15. BIN themes/default/images/jquery-ui/ui-bg_flat_100_fbf9ee_40x100.png
  16. BIN themes/default/images/jquery-ui/ui-bg_flat_100_fef1ec_40x100.png
  17. BIN themes/default/images/jquery-ui/ui-bg_flat_100_ffffff_40x100.png
  18. BIN themes/default/images/jquery-ui/ui-icons_1d6081_256x240.png
  19. BIN themes/default/images/jquery-ui/ui-icons_222222_256x240.png
  20. BIN themes/default/images/jquery-ui/ui-icons_2e83ff_256x240.png
  21. BIN themes/default/images/jquery-ui/ui-icons_555555_256x240.png
  22. BIN themes/default/images/jquery-ui/ui-icons_cd0a0a_256x240.png
  23. +61 −0 themes/default/include.php
  24. +76 −0 themes/default/index.tox
  25. +182 −0 themes/default/scripts/hash.js
  26. +3 −0 themes/default/scripts/index.php
  27. +599 −0 themes/default/scripts/jquery-ui.js
  28. +18 −0 themes/default/scripts/jquery.js
  29. +477 −0 themes/default/scripts/script.js
View
@@ -0,0 +1,61 @@
+<tpl:container>
+ <tpl:template name="site:rounded"><tpl:if test="!isset({$header}) && !isset({$right})">
+ <div class="content no_header{tpl:if test="isset({$class})"} {$class}{/tpl:if}{tpl:if test="isset({$color})"} {$color}{/tpl:if}"{tpl:if test="isset({$id})"} id="{$id}"{/tpl:if}{tpl:if test="isset({$style})"} style="{$style}"{/tpl:if}><tpl:else />
+ <div class="content with_header{tpl:if test="isset({$class})"} {$class}{/tpl:if}{tpl:if test="isset({$color})"} {$color}{/tpl:if}"{tpl:if test="isset({$id})"} id="{$id}"{/tpl:if}{tpl:if test="isset({$style})"} style="{$style}"{/tpl:if}>
+ <div class="header">
+ <div><tpl:if test="isset({$right})">
+ <span class="floatright">{$right}</span></tpl:if>
+ <span><tpl:if test="isset({$header}) && !empty({$header})">{$header}<tpl:else />&nbsp;</tpl:if></span>
+ </div>
+ </div></tpl:if>
+ <div class="content_inner">
+ <tpl:content />
+ </div>
+ </div>
+ </tpl:template>
+
+ <tpl:template name="site:display_error">
+ <site:rounded color="red" style="width: 60%; margin: 0 auto;" header="{#error}">
+ {#an_error_occurred}<br />
+ <strong>&bull; {$context.error}</strong>
+ </site:rounded>
+ <br />
+
+ <div class="center">
+ <a class="button" href="javascript:history.go(-1);">&laquo; {#back}</a>
+ </div>
+ </tpl:template>
+
+ <tpl:template name="site:date" requires="id, name, timestamp">
+ </tpl:template>
+
+ <tpl:template name="site:time" requires="id, name, timestamp">
+ </tpl:template>
+
+ <tpl:template name="ui:user_picker" requires="id, users">
+ </tpl:template>
+
+ <tpl:template name="ui:slider" requires="prefix">
+ <div id="{$prefix}slider"></div>
+
+ <script type="text/javascript"><!--
+ $(function()
+ {
+ $("#{$prefix}slider").slider({ <tpl:if test="isset({$value})">
+ value: {$value},</tpl:if><tpl:if test="isset({$values})">
+ values: <tpl:json value="{$values}" as="raw" />,</tpl:if><tpl:if test="isset({$min})">
+ min: {$min},</tpl:if><tpl:if test="isset({$max})">
+ max: {$max},</tpl:if><tpl:if test="isset({$step})">
+ step: {$step},</tpl:if><tpl:if test="isset({$range})">
+ range: true|"min"|"max",</tpl:if><tpl:if test="isset({$vertical}) && {$vertical} !== 'false'">
+ orientation: "vertical",</tpl:if>
+ 0: 0
+ });
+ });
+ --></script>
+ </tpl:template>
+
+ <tpl:template name="ui:pagination" requires="url, items, per, page"><tpl:for init="{$i} = 0" while="({$i} * {$per}) < {$items}" modify="{$i}++">
+ <tpl:if test="{$i} > 0">&middot; </tpl:if><a href="{$url}<tpl:output value="{$i} + 1" />"<tpl:if test="{$i} + 1 == {$page}"> class="current"</tpl:if>><tpl:output value="{$i} + 1" /></a> </tpl:for>
+ </tpl:template>
+</tpl:container>
@@ -0,0 +1,2 @@
+<?php
+exit;

Large diffs are not rendered by default.

Oops, something went wrong.
No changes.
@@ -0,0 +1 @@
+/* This file contains css for specific pages, accessed through .area-sub */
@@ -0,0 +1,51 @@
+body {
+ padding: 0;
+ margin: 0;
+ font-size: smaller;
+ }
+
+* {
+ color: black !important;
+ background: none !important;
+ -moz-border-radius: 0;
+ -moz-box-shadow: none;
+ }
+
+#header, #body_header, #footer, #body_footer, .noprint {
+ display: none;
+ visibility: hidden;
+ }
+
+.printonly {
+ display: inherit;
+ visibility: visible;
+ }
+
+#body_content {
+ padding: 0;
+ border: none !important;
+ }
+
+.with_header, .no_header {
+ border: none !important;
+ }
+
+.header, .content {
+ border: none !important;
+ }
+
+table {
+ border-collapse: collapse;
+ }
+
+th, td {
+ border: 1px solid black;
+ }
+
+input[type=submit], input[type=button], a.button {
+ text-shadow: none;
+ }
+
+.breakafter {
+ page-break-after: always;
+ }
Oops, something went wrong.

0 comments on commit 678cc33

Please sign in to comment.