Improve css for tablets and fix minor bug
This commit is contained in:
@@ -27,7 +27,7 @@ class ClassProvider implements ServiceProviderInterface
|
|||||||
'Notification',
|
'Notification',
|
||||||
'Project',
|
'Project',
|
||||||
'ProjectActivity',
|
'ProjectActivity',
|
||||||
'ProjectAnalytics',
|
'ProjectAnalytic',
|
||||||
'ProjectDailySummary',
|
'ProjectDailySummary',
|
||||||
'ProjectPaginator',
|
'ProjectPaginator',
|
||||||
'ProjectPermission',
|
'ProjectPermission',
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
<table class="subtasks-table">
|
<table class="subtasks-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="40%"><?= t('Title') ?></th>
|
<th class="column-40"><?= t('Title') ?></th>
|
||||||
<th><?= t('Status') ?></th>
|
<th class="column-15"><?= t('Status') ?></th>
|
||||||
<th><?= t('Assignee') ?></th>
|
<th><?= t('Assignee') ?></th>
|
||||||
<th><?= t('Time tracking') ?></th>
|
<th><?= t('Time tracking') ?></th>
|
||||||
<?php if (! isset($not_editable)): ?>
|
<?php if (! isset($not_editable)): ?>
|
||||||
@@ -42,9 +42,14 @@
|
|||||||
</td>
|
</td>
|
||||||
<?php if (! isset($not_editable)): ?>
|
<?php if (! isset($not_editable)): ?>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->a(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
|
<ul>
|
||||||
<?= t('or') ?>
|
<li>
|
||||||
<?= $this->a(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
|
<?= $this->a(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<?= $this->a(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<?php if (! isset($hide_position)): ?>
|
<?php if (! isset($hide_position)): ?>
|
||||||
<th><?= t('Position') ?></th>
|
<th><?= t('Position') ?></th>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<th class="column-70"><?= t('Name') ?></th>
|
<th class="column-60"><?= t('Name') ?></th>
|
||||||
<th><?= t('Actions') ?></th>
|
<th class="column-35"><?= t('Actions') ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($swimlanes as $swimlane): ?>
|
<?php foreach ($swimlanes as $swimlane): ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -156,6 +156,10 @@ th a:hover {
|
|||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.column-35 {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
|
||||||
.column-40 {
|
.column-40 {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
@@ -1153,6 +1157,7 @@ tr td.task-orange,
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listing li {
|
.listing li {
|
||||||
@@ -1345,6 +1350,15 @@ tr td.task-orange,
|
|||||||
td > input[type="text"] {
|
td > input[type="text"] {
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.task-time-form label {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-time-form input[type="submit"] {
|
||||||
|
margin-top: 10px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listing li {
|
.listing li {
|
||||||
|
|||||||
@@ -30,6 +30,15 @@
|
|||||||
td > input[type="text"] {
|
td > input[type="text"] {
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.task-time-form label {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-time-form input[type="submit"] {
|
||||||
|
margin-top: 10px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
||||||
|
|||||||
@@ -82,6 +82,10 @@ th a:hover {
|
|||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.column-35 {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
|
||||||
.column-40 {
|
.column-40 {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user