* fixed style for ie8.
This commit is contained in:
@@ -253,7 +253,7 @@ class commonModel extends model
|
||||
echo "<li class='lang-option" . ($app->cookie->lang == $key ? " active" : '') . "'><a href='javascript:selectLang(\"$key\");' data-value='" . $key . "'>" . $value . "</a></li>";
|
||||
}
|
||||
echo '</ul></li>';
|
||||
|
||||
|
||||
echo '</ul></div>';
|
||||
|
||||
if($isGuest)
|
||||
@@ -569,7 +569,7 @@ class commonModel extends model
|
||||
$notifyFile = $app->getBasePath() . 'www/data/notify/notify.zip';
|
||||
|
||||
if(!file_exists($notifyFile)) return false;
|
||||
echo html::a(helper::createLink('misc', 'downNotify'), $lang->downNotify);
|
||||
html::a(helper::createLink('misc', 'downNotify'), "<i class='icon-bell'></i> " . $lang->downNotify) . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -32,14 +32,7 @@ function closeWindow()
|
||||
}
|
||||
function switchEncode(fileType)
|
||||
{
|
||||
if(fileType == 'csv')
|
||||
{
|
||||
$('#encode').removeAttr('class');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#encode').attr('class', 'hidden');
|
||||
}
|
||||
$('#encode').toggleClass('hidden', fileType != 'csv');
|
||||
}
|
||||
</script>
|
||||
<div id='titlebar'>
|
||||
@@ -61,7 +54,7 @@ function switchEncode(fileType)
|
||||
<?php echo html::select('fileType', $lang->exportFileTypeList, '', 'onchange=switchEncode(this.value) class="form-control"');?>
|
||||
</td>
|
||||
<td class='w-90px'>
|
||||
<?php echo html::select('encode', $config->charsets[$this->cookie->lang], 'utf-8', key($lang->exportFileTypeList) == 'csv' ? "class='form-control'" : "class='hidden'");?>
|
||||
<?php echo html::select('encode', $config->charsets[$this->cookie->lang], 'utf-8', key($lang->exportFileTypeList) == 'csv' ? "class='form-control'" : "class='form-control hidden'");?>
|
||||
</td>
|
||||
<td class='w-100px'>
|
||||
<?php echo html::select('exportType', $lang->exportTypeList, ($this->cookie->checkedItem) ? 'selected' : 'all', "class='form-control'");?>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
.input-group .datepicker-wrapper{width: 110px!important;}
|
||||
.input-group .datepicker-wrapper .form-control {max-width: 110px; line-height: 25px}
|
||||
|
||||
@@ -119,11 +119,12 @@
|
||||
if(common::hasPriv('todo', 'import2Today') and $importFuture)
|
||||
{
|
||||
$actionLink = $this->createLink('todo', 'import2Today');
|
||||
echo "<div class='input-group'><span class='input-group-btn'>";
|
||||
echo html::commonButton($lang->todo->import, "onclick=\"setFormAction('$actionLink')\"", '', 'signin');
|
||||
echo '</span>';
|
||||
echo "<div class='pull-left'><div class='input-group'>";
|
||||
echo "<div class='datepicker-wrapper datepicker-date'>" . html::input('date', date('Y-m-d'), "class='form-control form-date'") . '</div>';
|
||||
echo '</div>';
|
||||
echo "<span class='input-group-btn'>";
|
||||
echo html::commonButton($lang->todo->import, "onclick=\"setFormAction('$actionLink')\"");
|
||||
echo '</span>';
|
||||
echo '</div></div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -101,7 +101,6 @@ function setDateField(query, fieldNO)
|
||||
var target = $('#' + $period.data('target'));
|
||||
if(target.length)
|
||||
{
|
||||
console.log($(this).attr('href'));
|
||||
target.val($(this).attr('href').replace('#', '$'));
|
||||
$('#operator' + $period.data('fieldNO')).val('between');
|
||||
$period.hide();
|
||||
|
||||
@@ -23,7 +23,7 @@ $lang->todo->export = "导出";
|
||||
$lang->todo->delete = "删除待办";
|
||||
$lang->todo->browse = "浏览待办";
|
||||
$lang->todo->import2Today = "导入到今天";
|
||||
$lang->todo->import = "导入到";
|
||||
$lang->todo->import = "导入";
|
||||
$lang->todo->changeStatus = "更改";
|
||||
|
||||
$lang->todo->id = '编号';
|
||||
|
||||
@@ -79,7 +79,4 @@
|
||||
<?php include './footer.html.php';?>
|
||||
<script language='Javascript'>
|
||||
selectNext();
|
||||
$(function(){
|
||||
$('.date').dpSetStartDate(new Date());
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -11,9 +11,6 @@ function loadList(type, id)
|
||||
{
|
||||
divClass = '.nameBox';
|
||||
divID = '#nameBox';
|
||||
}
|
||||
console.log("divClass:"+divClass);
|
||||
console.log("divID:"+divID);
|
||||
customHtml = $(divID).html();
|
||||
|
||||
if(type == 'bug')
|
||||
@@ -39,7 +36,6 @@ function loadList(type, id)
|
||||
}
|
||||
}
|
||||
|
||||
console.log("link:"+link);
|
||||
if(type == 'bug' || type == 'task')
|
||||
{
|
||||
$(divClass).load(link);
|
||||
|
||||
+2
-2
@@ -982,7 +982,7 @@ function setModal()
|
||||
if(location == 'this') window.location.reload();
|
||||
else window.location = location;
|
||||
}
|
||||
callback();
|
||||
if(callback && $.isFunction(callback)) callback();
|
||||
});
|
||||
$ajaxModal.modal('hide');
|
||||
}});
|
||||
@@ -1087,7 +1087,7 @@ $(document).ready(function()
|
||||
|
||||
if(needPing) setTimeout('setPing()', 1000 * 60); // After 5 minutes, begin ping.
|
||||
|
||||
$('.export').bind('mousedown', function()
|
||||
$('.export').bind('click', function()
|
||||
{
|
||||
var checkeds = '';
|
||||
$(':checkbox').each(function()
|
||||
|
||||
Reference in New Issue
Block a user