Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
samthetechie committed Mar 7, 2012
0 parents commit 1f8c1c7
Show file tree
Hide file tree
Showing 36 changed files with 2,091 additions and 0 deletions.
139 changes: 139 additions & 0 deletions css/master.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
body {
/*background:#222 none repeat scroll 0 0;*/
background-image:url(../images/bg.png);
background-repeat:repeat;
font-family:Helvetica;
/*font-size:72%;
line-height:1.5em;*/
margin:0;
}

#menu{
padding: 10px 0 0 0;
}

#wrapper{
height: 100%;
}

#occupy{
background-image:url(../images/logo.png);
position: absolute;
top: 0px;
right: 0px;
width: 90px;
height: 96px;
}

#occupy:hover {
cursor: pointer;
}

#container{
background-image:url(../images/middle.png);
background-repeat:repeat-x;
/*height: 20%;*/
margin-top:1px;
padding:5px 0 0 0;
width: 100%;
height:78px;
}

#map{
position: absolute;
top: 100px;
right: 0px;
width: 100%;
height: 80%;
}

#ticker{
font-size:72%;
height:78px;
width:200px;
color: #000000;
/*white-space: nowrap;*/
overflow: hidden;
text-overflow: ellipsis;
}

#info > h4{
font-size:.95em;
margin:5px 0;
}

#stage.theme{
padding-top:3px;
}

/* Definition List */
#stage.theme > dl{
padding-top:10px;
clear:both;
margin:0;
list-style-type:none;
padding-left:10px;
overflow:auto;
}

#stage.theme > dl > dt{
font-weight:bold;
float:left;
margin-left:5px;
}

#stage.theme > dl > dd{
width:45px;
float:left;
color:#FFFFFF;
font-weight:bold;
}

/* Content Styling */
#stage.theme > h1, #stage.theme > h2, #stage.theme > p{
margin:1em 0 .5em 13px;
}

#stage.theme > h1{
color:#FFFFFF;
font-size:1.6em;
text-align:center;
margin:0;
margin-top:15px;
padding:0;
}

#stage.theme > h2{
clear:both;
margin:0;
padding:3px;
font-size:1em;
text-align:center;
}

/* Stage Buttons */
#stage.theme a.btn{
border: 1px solid #555;
-webkit-border-radius: 5px;
border-radius: 5px;
text-align:center;
display:block;
float:clear;
background:#444;
width:150px;
color:#9ab;
font-size:1.1em;
text-decoration:none;
padding:1.2em 0;
margin:3px 0px 3px 5px;
}
#stage.theme a.btn.large{
width:96%;
padding:1.2em 0;
}

#credits{
width:300px;
text-align:left;
}

Empty file added favicon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.ico
Binary file not shown.
Binary file added images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/food.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/home_inactive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lhs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/middle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/recycle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/rhs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/toilets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/wifi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
___ ___ _ _ _ _ _
| \/ | | | (_) (_) | | | |
| . . | __ _ _ __ | |_ ___ ___ ___ _ __ ___ | | _ __ ___ __ _ _ __ ___ ___ ___ _ _ _ __ _ _| |_____ __ ___ _ __ __ _
| |\/| |/ _` | '_ \| __| \ \ / / / __| '_ ` _ \ | | | '_ ` _ \ / _` | '_ \ / _ \ / __|/ __| | | | '_ \| | | | / __\ \/ / / _ \| '__/ _` |
| | | | (_| | |_) | |_| |\ V /| \__ \ | | | | | | | | | | | | | (_| | |_) |_| (_) | (__| (__| |_| | |_) | |_| | \__ \> < _| (_) | | | (_| |
\_| |_/\__,_| .__/ \__|_| \_/ |_|___/_| |_| |_| | | |_| |_| |_|\__,_| .__/(_)\___/ \___|\___|\__,_| .__/ \__, |_|___/_/\_(_)\___/|_| \__, |
| | | | | | | | __/ | __/ |
|_| |_| |_| |_| |___/ |___/
Cartography is Cool. Maps help you find what you need.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-script-type" content="text/javascript">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="js/jquery-1.4.4.js"></script>
<script type="text/javascript" src="js/ticker-1.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
getTickerRSS();
});
</script>
<title>Maptivism | Cartography is Cool.</title>
</head>
<body id="stage" class="theme">
<div id="container" align="left">
<div id="ticker"></div>
</div>
<div id="occupy" onclick="location.href='http://map.occupylsx.org/';"></div>
<div id="menu" align="center">
<a href="#" class="btn large" onclick="location.href='http://map.occupylsx.org/map';">Map</a>
<a href="#" class="btn large" onclick="location.href='http://map.occupylsx.org/update';">Update</a>
<a href="#" class="btn large" onclick="location.href='http://map.occupylsx.org/share';">Share</a>
</div>
<div align="center">
<p>Maptivism &#169;&#824; 2012.</p>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions js/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AddHandler application/x-httpd-php5 .js
32 changes: 32 additions & 0 deletions js/cookie.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
jQuery.cookie = function (key, value, options) {

// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);

if (value === null || value === undefined) {
options.expires = -1;
}

if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}

value = String(value);

return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}

// key and possibly options given, get cookie...
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
Loading

0 comments on commit 1f8c1c7

Please sign in to comment.