Permalink
Browse files

Added 2 new themes. Updated to latest jQuery

  • Loading branch information...
1 parent 376bbdc commit b3703398583dbd6408b6118deb995dc81c51896f @dannagle committed Apr 1, 2012
Showing with 35 additions and 17 deletions.
  1. +1 −1 LICENSE
  2. +2 −2 README.mdown
  3. +32 −14 index.php
View
2 LICENSE
@@ -4,7 +4,7 @@ Ultrose is licensed under both MIT and GPLv3.
===========================MIT LICENSE================================================
-Copyright (c) 2011 Dan Nagle (http://dannagle.com)
+Copyright (c) 2012 Dan Nagle (http://dannagle.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
View
4 README.mdown
@@ -4,7 +4,7 @@
As a zero-install single file under 50 KB, you get:
-* 22 Custom themes to choose from (including "random")
+* 24 Custom themes to choose from (including "random")
* Emailer (with custom "From" address)
* Area for nav links
* Public File Browser
@@ -26,7 +26,7 @@ The first 150 lines of code is the best documenation. You can enable/disable log
##Credits
-Copyright (c) 2011 [Dan Nagle][personal_site]
+Copyright (c) 2012 [Dan Nagle][personal_site]
[ultrose_website]: http://ultrose.com
[personal_site]: http://dannagle.com
View
46 index.php
@@ -22,7 +22,7 @@
===========================MIT LICENSE================================================
-Copyright (c) 2011 Dan Nagle (http://dannagle.com)
+Copyright (c) 2012 Dan Nagle (http://dannagle.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
@@ -124,18 +124,21 @@
-//22 available Google-hosted themes. Comment them out to keep them out of rotation
-//$themes[] = "ui-lightness";
-$themes[] = "sunny";
+//24 available Google-hosted themes.
+//Comment them out to keep them out of rotation
+$themes[] = "ui-lightness";
$themes[] = "ui-darkness";
+$themes[] = "smoothness";
+$themes[] = "start";
$themes[] = "redmond";
+$themes[] = "sunny";
$themes[] = "overcast";
$themes[] = "le-frog";
$themes[] = "flick";
$themes[] = "pepper-grinder";
$themes[] = "eggplant";
-$themes[] = "cupertino";
$themes[] = "dark-hive";
+$themes[] = "cupertino";
$themes[] = "south-street";
$themes[] = "blitzer";
$themes[] = "humanity";
@@ -312,18 +315,15 @@
}
-?>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+?><!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo htmlspecialchars($title." | ".$slogan); ?></title>
<META NAME="DESCRIPTION" CONTENT="<?php echo $desciption; ?>">
-<META NAME="Generator" CONTENT="Ultrose 1.1">
+<META NAME="Generator" CONTENT="Ultrose 1.2">
-<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
-<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
+<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"
type="text/javascript"></script>
<script type="text/javascript">
@@ -430,7 +430,7 @@ function() { $(this).removeClass('ui-state-hover'); }
</script>
-<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/<?php echo
+<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/<?php echo
$theme;?>/jquery-ui.css" type="text/css" />
@@ -460,12 +460,16 @@ function() { $(this).removeClass('ui-state-hover'); }
{
width:950px;
margin:0 auto;
+ /*
+ color:#cfe1e4;
+ */
}
-
<?php
//My own personal tweaking...
+
+
$colortweakwrapbg = "#FFFFFF;";
$colortweakwrapcolor = "#FFFFFF;";
$colortweakmainbg = "#FFFFFF;";
@@ -484,6 +488,18 @@ function() { $(this).removeClass('ui-state-hover'); }
$colortweakmainbg = "#FFFFD1;";
$colortweakbodybg = "#1D1401;";
break;
+ case "smoothness":
+ $colortweakwrapbg = "#E2E2E2;";
+ $colortweakwrapcolor = "#333333;";
+ $colortweakmainbg = "#FFFFFF;";
+ $colortweakbodybg = "#242224;";
+ break;
+ case "start":
+ $colortweakwrapbg = "#E3EAEE;";
+ $colortweakwrapcolor = "#333333;";
+ $colortweakmainbg = "#FFFFFF;";
+ $colortweakbodybg = "#C7D3DC;";
+ break;
case "ui-darkness":
$colortweakwrapbg = "#252525;";
$colortweakwrapcolor = "#FFFFFF;";
@@ -605,6 +621,8 @@ function() { $(this).removeClass('ui-state-hover'); }
$colortweakbodybg = "#584527;";
break;
default:
+ //echo 'NEED TWEAK';
+ //exit;
$colortweakwrapbg = "#FFFFFF;";
$colortweakwrapcolor = "#FFFFFF;";
$colortweakmainbg = "#FFFFFF;";

0 comments on commit b370339

Please sign in to comment.