Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Commit

Permalink
Added 2 new themes. Updated to latest jQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Apr 1, 2012
1 parent 376bbdc commit b370339
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.mdown
Expand Up @@ -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
Expand All @@ -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
46 changes: 32 additions & 14 deletions index.php
Expand Up @@ -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
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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" />


Expand Down Expand Up @@ -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;";
Expand All @@ -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;";
Expand Down Expand Up @@ -605,6 +621,8 @@ function() { $(this).removeClass('ui-state-hover'); }
$colortweakbodybg = "#584527;";
break;
default:
//echo 'NEED TWEAK';
//exit;
$colortweakwrapbg = "#FFFFFF;";
$colortweakwrapcolor = "#FFFFFF;";
$colortweakmainbg = "#FFFFFF;";
Expand Down

0 comments on commit b370339

Please sign in to comment.