Start to improve the ui for tablets
This commit is contained in:
@@ -186,7 +186,7 @@ return array(
|
|||||||
'Page not found' => 'Page introuvable',
|
'Page not found' => 'Page introuvable',
|
||||||
'Complexity' => 'Complexité',
|
'Complexity' => 'Complexité',
|
||||||
'limit' => 'limite',
|
'limit' => 'limite',
|
||||||
'Task limit' => 'Nombre maximum de tâches',
|
'Task limit' => 'Tâches Max.',
|
||||||
'Task count' => 'Nombre de tâches',
|
'Task count' => 'Nombre de tâches',
|
||||||
'This value must be greater than %d' => 'Cette valeur doit être plus grande que %d',
|
'This value must be greater than %d' => 'Cette valeur doit être plus grande que %d',
|
||||||
'Edit project access list' => 'Modifier l\'accès au projet',
|
'Edit project access list' => 'Modifier l\'accès au projet',
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($columns as $column): ?>
|
<?php foreach ($columns as $column): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= Helper\form_label(t('Column %d', ++$i), 'title['.$column['id'].']', array('title="column_id='.$column['id'].'"')) ?></td>
|
<td><?= Helper\form_label(++$i, 'title['.$column['id'].']', array('title="column_id='.$column['id'].'"')) ?></td>
|
||||||
<td><?= Helper\form_text('title['.$column['id'].']', $values, $errors, array('required')) ?></td>
|
<td><?= Helper\form_text('title['.$column['id'].']', $values, $errors, array('required')) ?></td>
|
||||||
<td><?= Helper\form_number('task_limit['.$column['id'].']', $values, $errors, array('placeholder="'.t('limit').'"')) ?></td>
|
<td><?= Helper\form_number('task_limit['.$column['id'].']', $values, $errors, array('placeholder="'.t('limit').'"')) ?></td>
|
||||||
<td>
|
<td>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<input type="submit" value="<?= t('Update') ?>" class="btn btn-blue"/>
|
<input type="submit" value="<?= t('Update') ?>" class="btn btn-blue"/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<hr/>
|
||||||
<h3><?= t('Add a new column') ?></h3>
|
<h3><?= t('Add a new column') ?></h3>
|
||||||
<form method="post" action="<?= Helper\u('board', 'add', array('project_id' => $project['id'])) ?>" autocomplete="off">
|
<form method="post" action="<?= Helper\u('board', 'add', array('project_id' => $project['id'])) ?>" autocomplete="off">
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<li>
|
<li>
|
||||||
<?= Helper\a(t('Logout'), 'user', 'logout', array(), true) ?>
|
<?= Helper\a(t('Logout'), 'user', 'logout', array(), true) ?>
|
||||||
<span class="username">(<?= Helper\a(Helper\escape(Helper\get_username()), 'user', 'show', array('user_id' => Helper\get_user_id())) ?>)</span>
|
<span class="username hide-tablet">(<?= Helper\a(Helper\escape(Helper\get_username()), 'user', 'show', array('user_id' => Helper\get_user_id())) ?>)</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ body {
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
font-smoothing: antialiased;
|
font-smoothing: antialiased;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.no-bullet li {
|
ul.no-bullet li {
|
||||||
@@ -183,7 +184,6 @@ label {
|
|||||||
input[type="number"],
|
input[type="number"],
|
||||||
input[type="date"],
|
input[type="date"],
|
||||||
input[type="email"],
|
input[type="email"],
|
||||||
input[type="tel"],
|
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
color: #888;
|
color: #888;
|
||||||
@@ -202,7 +202,6 @@ input[type="text"] {
|
|||||||
input[type="number"]:focus,
|
input[type="number"]:focus,
|
||||||
input[type="date"]:focus,
|
input[type="date"]:focus,
|
||||||
input[type="email"]:focus,
|
input[type="email"]:focus,
|
||||||
input[type="tel"]:focus,
|
|
||||||
input[type="password"]:focus,
|
input[type="password"]:focus,
|
||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
@@ -1284,14 +1283,14 @@ tr td.task-orange,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-content {
|
.sidebar-content {
|
||||||
margin-left: 330px;
|
margin-left: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 250px;
|
max-width: 250px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
@@ -1315,6 +1314,10 @@ tr td.task-orange,
|
|||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar-content {
|
||||||
|
margin-left: 255px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-tab {
|
.form-tab {
|
||||||
max-width: 404px;
|
max-width: 404px;
|
||||||
}
|
}
|
||||||
@@ -1327,6 +1330,41 @@ tr td.task-orange,
|
|||||||
.form-inline-group input[type="submit"] {
|
.form-inline-group input[type="submit"] {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td > input[type="text"] {
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 0.7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
padding-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
max-width: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-content {
|
||||||
|
margin-left: 225px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.chosen-container {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="number"],
|
||||||
|
input[type="date"],
|
||||||
|
input[type="email"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="text"] {
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ body {
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
font-smoothing: antialiased;
|
font-smoothing: antialiased;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.no-bullet li {
|
ul.no-bullet li {
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ label {
|
|||||||
input[type="number"],
|
input[type="number"],
|
||||||
input[type="date"],
|
input[type="date"],
|
||||||
input[type="email"],
|
input[type="email"],
|
||||||
input[type="tel"],
|
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
color: #888;
|
color: #888;
|
||||||
@@ -31,7 +30,6 @@ input[type="text"] {
|
|||||||
input[type="number"]:focus,
|
input[type="number"]:focus,
|
||||||
input[type="date"]:focus,
|
input[type="date"]:focus,
|
||||||
input[type="email"]:focus,
|
input[type="email"]:focus,
|
||||||
input[type="tel"]:focus,
|
|
||||||
input[type="password"]:focus,
|
input[type="password"]:focus,
|
||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
|
|||||||
@@ -10,6 +10,10 @@
|
|||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar-content {
|
||||||
|
margin-left: 255px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-tab {
|
.form-tab {
|
||||||
max-width: 404px;
|
max-width: 404px;
|
||||||
}
|
}
|
||||||
@@ -22,4 +26,39 @@
|
|||||||
.form-inline-group input[type="submit"] {
|
.form-inline-group input[type="submit"] {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td > input[type="text"] {
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 1024px) and (orientation: landscape) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 0.7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
padding-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
max-width: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-content {
|
||||||
|
margin-left: 225px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.chosen-container {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="number"],
|
||||||
|
input[type="date"],
|
||||||
|
input[type="email"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="text"] {
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,14 +5,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-content {
|
.sidebar-content {
|
||||||
margin-left: 330px;
|
margin-left: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 250px;
|
max-width: 250px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
|||||||
Reference in New Issue
Block a user