diff --git a/media/css/seahub.css b/media/css/seahub.css index 40f557b84f..f0377d193a 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -596,6 +596,7 @@ textarea:-moz-placeholder {/* for FF */ } .simple-input-popup .long-input { width:99%; + *width:252px; } /*ui-autocomplete*/ @@ -713,6 +714,9 @@ textarea:-moz-placeholder {/* for FF */ text-align:center; margin:0 1px 5px 1px; } +.mygroup { + *display:inline; /* for ie 6,7 */ +} .mygroup .name { display:inline-block; width:100%; @@ -1161,6 +1165,9 @@ textarea:-moz-placeholder {/* for FF */ width:315px; margin:0 17px 25px 0; } +.group-list .group { + *display:inline; /* for ie 6,7 */ +} .group .txt { color:#333; width:250px; @@ -1402,6 +1409,9 @@ textarea:-moz-placeholder {/* for FF */ #shared-link-text { border:0; } +#shared-link-text { + vertical-align:middle; /*for ie 7*/ +} .file-op { margin-top:0.8em; } diff --git a/templates/file_view.html b/templates/file_view.html index 0e072086d7..6cf9e11749 100644 --- a/templates/file_view.html +++ b/templates/file_view.html @@ -25,7 +25,7 @@
- + {% if is_starred %} diff --git a/templates/repo.html b/templates/repo.html index 3d954e91f3..9d78282946 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -19,7 +19,7 @@
{% if path != '/' %} - + {% endif %} @@ -267,7 +267,7 @@
{% csrf_token %}

{% trans "New Directory" %}

- +

@@ -280,13 +280,13 @@

{% trans "New File" %}

- +
- +

@@ -768,7 +768,7 @@ $('#add-new-file-form, #add-new-dir-form, #rename-form').submit(function() { var post_url = ''; var post_data = { 'repo_id': form.find('input[name="repo_id"]').val(), - 'parent_dir': form.find('input[name="parent_dir"]').val(), + 'parent_dir': form.find('input[name="parent_dir"]').val() }; if (form_id == 'add-new-file-form') { diff --git a/templates/snippets/shared_link_js.html b/templates/snippets/shared_link_js.html index 2d28bbcb9d..13df2d8209 100644 --- a/templates/snippets/shared_link_js.html +++ b/templates/snippets/shared_link_js.html @@ -10,14 +10,12 @@ function hideLink() { } function setLinkWidth() { var link = $('#shared-link'); - link.before('

' + link.val() + '

'); - link.css('width', link.prev().width() + 2); - link.prev().remove(); -} -if ($.trim($('#shared-link').val())) { - setLinkWidth(); + $('#main').append('

' + link.val() + '

'); + link.css('width', $('#linkcp').width() + 2); + $('#linkcp').remove(); } {% if fileshare.token %} +setLinkWidth(); showLink(); {% else %} hideLink();