// different padding.
$('div.dialog_container div.dialog_window a').css('padding', '2px 10px 3px');
}
- if (iPhone){
- window.onload = function(){ setTimeout(function() { window.scrollTo(0,1); },500); };
- window.onorientationchange = function(){ setTimeout( function() { window.scrollTo(0,1); },100); };
- if(window.navigator.standalone)
- // Fix min height for iPhone when run in full screen mode from home screen
- // so the footer appears in the right place
- $('body div#torrent_container').css('min-height', '338px');
- }
+ if (iPhone){
+ window.onload = function(){ setTimeout(function() { window.scrollTo(0,1); },500); };
+ window.onorientationchange = function(){ setTimeout( function() { window.scrollTo(0,1); },100); };
+ if(window.navigator.standalone)
+ // Fix min height for iPhone when run in full screen mode from home screen
+ // so the footer appears in the right place
+ $('body div#torrent_container').css('min-height', '338px');
+ $("label[for=torrent_upload_url]").text("URL: ");
+ }
});
/*
$('.inspector_tab').bind('click', function(e){ tr.inspectorTabClicked(e, this); });
$('.file_wanted_control').live('click', function(e){ tr.fileWantedClicked(e, this); });
$('.file_priority_control').live('click', function(e){ tr.filePriorityClicked(e, this); });
+ $('#open_link').bind('click', function(e){ tr.openTorrentClicked(e); });
+ $('#upload_confirm_button').bind('click', function(e){ tr.confirmUploadClicked(e); return false;});
+ $('#upload_cancel_button').bind('click', function(e){ tr.cancelUploadClicked(e); return false; });
if (iPhone) {
$('#inspector_close').bind('click', function(e){ tr.hideInspector(); });
$('#preferences_link').bind('click', function(e){ tr.releaseClutchPreferencesButton(e); });
} else {
$(document).bind('keydown', function(e){ tr.keyDown(e); });
$('#torrent_container').bind('click', function(e){ tr.deselectAll( true ); });
- $('#open_link').bind('click', function(e){ tr.openTorrentClicked(e); });
$('#filter_toggle_link').bind('click', function(e){ tr.toggleFilterClicked(e); });
$('#inspector_link').bind('click', function(e){ tr.toggleInspectorClicked(e); });
- $('#upload_confirm_button').bind('click', function(e){ tr.confirmUploadClicked(e); return false;});
- $('#upload_cancel_button').bind('click', function(e){ tr.cancelUploadClicked(e); return false; });
this.setupSearchBox();
this.createContextMenu();
min-height: 143px;
}
-body.inspector_showing #torrent_filter_bar, body.inspector_showing #torrent_container, body.dialog_showing #torrent_filter_bar, body.dialog_showing #torrent_container, body.dialog_showing #torrent_inspector, body.dialog_showing #prefs_container, body.prefs_showing #torrent_inspector, body.prefs_showing #torrent_filter_bar, body.prefs_showing #torrent_container {
+body.inspector_showing #torrent_filter_bar, body.inspector_showing #torrent_container,
+body.dialog_showing #torrent_filter_bar, body.dialog_showing #torrent_container, body.dialog_showing #torrent_inspector, body.dialog_showing #prefs_container,
+body.prefs_showing #torrent_inspector, body.prefs_showing #torrent_filter_bar, body.prefs_showing #torrent_container,
+body.open_showing #torrent_filter_bar, body.open_showing #torrent_container {
display: none !important;
}
display: inline-block;
}
-li#remove {
+li#remove, li#open {
float: left;
}
opacity: 0.25;
}
-div.torrent_global_menu ul li#open {
- display: none;
-}
-
div.torrent_global_menu ul li div div.toolbar_image {
width: 32px;
height: 32px;
float: left;
}
-div.torrent_global_details div#torrent_global_upload,
+div.torrent_global_details div#torrent_global_upload,
div.torrent_global_details div#torrent_global_download {
float: right;
}
padding-bottom: 0;
}
+#torrent_upload_file, label[for="torrent_upload_file"]{
+ display:none;
+}
+
h2.dialog_heading {
text-align: center;
width: 300px;
background: #222;
text-decoration: none;
border: 2px solid white;
- margin: 0 0 0;
+ margin: 5px 5px 0;
font-weight: bold;
-webkit-border-radius: 16px;
- display: block;
+ display: inline-block;
width: 90px;
- position: absolute;
font-size: 12px;
text-align: center;
}