* code for task#1513.

This commit is contained in:
azhi
2013-07-18 09:53:58 +08:00
parent 4038b40e74
commit 9cb8bad9fb
4 changed files with 33 additions and 18 deletions
+1
View File
@@ -15,6 +15,7 @@ $lang->comma = ',';
$lang->dot = '.';
$lang->at = ' at ';
$lang->downArrow = '↓';
$lang->null = '空';
$lang->zentaoPMS = 'ZenTaoPMS';
$lang->welcome = "Welcome to『%s』{$lang->colon} {$lang->zentaoPMS}";
+1
View File
@@ -15,6 +15,7 @@ $lang->comma = ',';
$lang->dot = '。';
$lang->at = ' 于 ';
$lang->downArrow = '↓';
$lang->null = '空';
$lang->zentaoPMS = '禅道管理';
$lang->welcome = "欢迎使用『%s』{$lang->colon} {$lang->zentaoPMS}";
+26 -15
View File
@@ -57,7 +57,7 @@
display:inline-block;
}
.groupButton > input[type='button'], #allchecker, #reversechecker
.groupButton > input[type='button'], .groupButton > button, #allchecker, #reversechecker
{
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
@@ -68,43 +68,54 @@
background-repeat: repeat-x;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #B3B3B3;
border-image: none;
border-radius: 4px 4px 4px 4px;
border-radius: 0px;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
color: #333333;
cursor: pointer;
display: inline-block;
font-size: 14px;
line-height: 20px;
height: 30px;
margin-bottom: 0;
padding: 4px 12px;
margin-right:5px;
padding: 4px 8px;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
}
.groupButton > input[type='button']
{
border-radius: 0px;
}
.groupButton > input[type='button']:first-child
.groupButton > input[type='button']:first-child, .groupButton #allchecker
{
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
margin-right: 0;
}
.groupButton > input[type='button'] + input[type='button']
.groupButton > input[type='button'] + input[type='button'], .groupButton > input[type='button'] + button, .groupButton #reversechecker
{
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.125) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
padding-left: 8px;
padding-right: 8px;
margin-left:-1px;
margin-right:5px;
}
.groupButton > input[type='button'] + button
{
margin-left:-5px;
padding:10px 5px;
}
.groupButton button .caret
{
border-bottom: 4px solid #000000;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 0 none;
content: "";
display: inline-block;
height: 0;
width: 0;
vertical-align: top;
}
/* Disabled button and disabled link. */
+5 -3
View File
@@ -55,7 +55,9 @@
<?php
if(count($stories))
{
echo "<div class='groupButton'>";
echo html::selectAll() . html::selectReverse();
echo "</div>";
$canBatchEdit = common::hasPriv('story', 'batchEdit');
$disabled = $canBatchEdit ? '' : "disabled='disabled'";
@@ -63,7 +65,7 @@
echo "<div class='groupButton'>";
echo html::commonButton($lang->edit, "onclick=\"changeAction('$actionLink')\" $disabled");
echo html::commonButton($lang->more, "onclick=\"toggleSubMenu(this.id, 'top', 0)\" id='moreAction'");
echo "<button id='moreAction' type='button' onclick=\"toggleSubMenu(this.id, 'top', 0)\"><span class='caret'></span></button>";
echo "</div>";
}
@@ -143,7 +145,7 @@
<ul>
<?php
unset($plans['']);
$plans = array(0 => '&nbsp;') + $plans;
$plans = array(0 => $lang->null) + $plans;
foreach($plans as $planID => $plan)
{
$actionLink = $this->createLink('story', 'batchChangePlan', "planID=$planID");
@@ -156,7 +158,7 @@
<div id='stageItemMenu' class='hidden listMenu'>
<ul>
<?php
$lang->story->stageList[''] = '&nbsp;';
$lang->story->stageList[''] = $lang->null;
foreach($lang->story->stageList as $key => $stage)
{
$actionLink = $this->createLink('story', 'batchChangeStage', "stage=$key");