diff options
author | Ugnich Anton | 2012-12-26 18:09:53 +0700 |
---|---|---|
committer | Ugnich Anton | 2012-12-26 18:09:53 +0700 |
commit | 831d62a90532967272ba63fb2b3dc74d262eb6a2 (patch) | |
tree | 1a63dd03a78c562a99f2f65bdb01b1e44ec16cf2 /web | |
parent | 9adb555fe41f6322310be1fea406d9d8d44acafe (diff) |
/places/
Diffstat (limited to 'web')
-rw-r--r-- | web/maps.js | 8 | ||||
-rw-r--r-- | web/style3.css | 5 |
2 files changed, 4 insertions, 9 deletions
diff --git a/web/maps.js b/web/maps.js index 39ac3d6f..2ae8cd8e 100644 --- a/web/maps.js +++ b/web/maps.js @@ -178,10 +178,6 @@ JuickControl.prototype.setButtonStyle_ = function(button) { var htmlAddPlace='<form><p style="width: 440px"><b>Name:</b><br/>\ <input type="text" name="description" maxlength="64" style="width: 400px"/><br/>\ -Impersonal description (max 255 symbols):<br/>\ -<textarea name="text" rows="5" style="width: 400px"></textarea><br/>\ -URL:<br/>\ -<input type="text" name="url" maxlength="128" style="width: 400px"/><br/>\ Tags (separated by space, 10 max):\ <input type="text" name="tags" maxlength="255" style="width: 400px"/></p>\ <p style="width: 400px; text-align: right; margin-bottom: 0"><input type="button" value=" Add " onclick="addPlace(this.form)"/></p>\ @@ -206,8 +202,6 @@ function addPlace(form) { alert('Enter place name.'); return; } - var text=form.text.value; - var url=form.url.value; var tags=form.tags.value; map.closeInfoWindow(); GDownloadUrl("/_mapxml",function(data) { @@ -224,5 +218,5 @@ function addPlace(form) { icon )); mc.addMarkers(markers); - },'lat='+placeLatLng.lat()+'&lon='+placeLatLng.lng()+'&description='+escape(description)+'&text='+escape(text)+'&url='+escape(url)+'&tags='+escape(tags)); + },'lat='+placeLatLng.lat()+'&lon='+placeLatLng.lng()+'&description='+escape(description)+'&tags='+escape(tags)); } diff --git a/web/style3.css b/web/style3.css index 13cdf987..23a6d124 100644 --- a/web/style3.css +++ b/web/style3.css @@ -35,7 +35,7 @@ hr { height: 1px; background: #CCC; } /********/ -#geomap { width: 570px; height: 360px; margin-top: 1em; overflow: hidden; } +#geomap { width: 600px; height: 300px; margin-top: 1em; overflow: hidden; } .msg { padding: 15px; margin: 8px 0 16px 0; width: 570px; border: 1px solid #EEE; background: #FFF; } .msgthread { margin-bottom: 0; border-bottom-color: #CCC; } @@ -46,7 +46,8 @@ hr { height: 1px; background: #CCC; } .msg-menu { margin: 0 0 0 6px; padding: 2px 0; } .msg-menu img { vertical-align: top; } .msg-header { margin-left: 58px; overflow: hidden; } -.msg-place { font-size: small; margin: 8px 0 8px 58px; color: #999; } +.msg-place { font-size: small; margin: 8px 0 8px 58px; } +.msg-place>a { color: #999; } .msg-txt { margin: 8px 0 8px 58px; overflow: hidden; } .msg-media { text-align: center; margin: 8px 0 0px 58px; } .msg-links { font-size: small; margin: 8px 0 0 68px; color: #999; } |