mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +00:00
add 'top tip' for IE
This commit is contained in:
@@ -3592,3 +3592,16 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
#download-link-operations dt {
|
#download-link-operations dt {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
#top-browser-tip {
|
||||||
|
padding:7px 4px;
|
||||||
|
background:#fff1a8;
|
||||||
|
text-align:center;
|
||||||
|
border-bottom:1px solid #ccc;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
#top-browser-tip .close {
|
||||||
|
display:inline-block;
|
||||||
|
margin-left:10px;
|
||||||
|
cursor:pointer;
|
||||||
|
color:#15c;
|
||||||
|
}
|
||||||
|
@@ -25,6 +25,9 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="wrapper" class="{{ LANGUAGE_CODE }}">
|
<div id="wrapper" class="{{ LANGUAGE_CODE }}">
|
||||||
|
<!--[if lt IE 10]>
|
||||||
|
<p id="top-browser-tip">{% trans "We no longer support this version of IE. Please upgrade it to version 10 or above." %} <span class="close">{% trans "Close" %}</span></p>
|
||||||
|
<![endif]-->
|
||||||
{% block info_bar_message %}
|
{% block info_bar_message %}
|
||||||
{% if request.user.is_authenticated and request.cur_note %}
|
{% if request.user.is_authenticated and request.cur_note %}
|
||||||
<div id="info-bar">
|
<div id="info-bar">
|
||||||
|
@@ -50,6 +50,9 @@ define([
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#info-bar .close').click(Common.closeTopNoticeBar);
|
$('#info-bar .close').click(Common.closeTopNoticeBar);
|
||||||
|
$('#top-browser-tip .close').click(function () {
|
||||||
|
$('#top-browser-tip').addClass('hide');
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
switchCurrentView: function(newView) {
|
switchCurrentView: function(newView) {
|
||||||
|
Reference in New Issue
Block a user