rejig urls, switch support image, add default map image

This commit is contained in:
Connor Turland 2014-10-23 19:54:39 -04:00
parent e61a32ebaa
commit 189f04780c
7 changed files with 5 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -1587,9 +1587,7 @@ Metamaps.Util = {
*/
Metamaps.Realtime = {
stringForLocalhost: 'http://localhost:5001',
stringForMetamaps: 'http://metamaps.cc:5001',
stringForTVW: 'http://tvw.mooo.com:5001',
stringForHeroku: 'http://gentle-savannah-1303.herokuapp.com',
stringForTVW: 'http://metamaps.thevalueweb.org:5001',
socket: null,
isOpen: false,
changing: false,
@ -3722,6 +3720,7 @@ Metamaps.Map.CheatSheet = {
init: function () {
// tab the cheatsheet
$('#cheatSheet').tabs();
$('#cheatSheet').tabs("disable", 1); // TODO re-enable once the tutorials are in
$('#quickReference').tabs().addClass("ui-tabs-vertical ui-helper-clearfix");
$("#quickReference .ui-tabs-nav li").removeClass("ui-corner-top").addClass("ui-corner-left");

View file

@ -2,8 +2,7 @@
--------------------------------------------------------*/
div.uv-icon.uv-bottom-left {
background-image:url(feedback_sprite.png);
background-color:#222222;
background-image:url(support_tab_sprite.png);
color:#FFFFFF;
cursor:pointer;
height:108px;

View file

@ -17,7 +17,7 @@
<% if Rails.env.production? %>
<!-- for metamaps.thevalueweb.com -->
<!-- for metamaps.thevalueweb.org -->
<script src="//use.typekit.net/jcy0yfj.js"></script>
<% elsif Rails.env.development? %>
<!-- for localhost development -->

View file

@ -9,7 +9,7 @@ if (args.length <= 1) {
//configurable variables - CHANGE ME
var mapID = args[1];
var environment = args[2];
var address = environment === 'development' ? 'http://localhost:3000' : 'http://tvw.mooo.com';
var address = environment === 'development' ? 'http://localhost:3000' : 'http://metamaps.thevalueweb.org';
var url = address + '/maps/' + mapID;
var width = 940;
var height = 630;