Rename CSS class "listing" to "panel"
This commit is contained in:
parent
348f4491ff
commit
6bfafb6e82
|
|
@ -2,7 +2,7 @@
|
|||
<h2><?= t('Average Lead and Cycle time') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li><?= t('Average lead time: ').'<strong>'.$this->dt->duration($average['avg_lead_time']) ?></strong></li>
|
||||
<li><?= t('Average cycle time: ').'<strong>'.$this->dt->duration($average['avg_cycle_time']) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<h2><?= t('Estimated vs actual time') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li><?= t('Estimated hours: ').'<strong>'.$this->text->e($metrics['open']['time_estimated'] + $metrics['closed']['time_estimated']) ?></strong></li>
|
||||
<li><?= t('Actual hours: ').'<strong>'.$this->text->e($metrics['open']['time_spent'] + $metrics['closed']['time_spent']) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('About') ?></h2>
|
||||
</div>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('Official website:') ?>
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Configuration') ?></h2>
|
||||
</div>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('Application version:') ?>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Database') ?></h2>
|
||||
</div>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('Database size:') ?>
|
||||
|
|
@ -81,6 +81,6 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('License') ?></h2>
|
||||
</div>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<?= nl2br(file_get_contents(ROOT_DIR.DIRECTORY_SEPARATOR.'LICENSE')) ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('API') ?></h2>
|
||||
</div>
|
||||
<section class="listing">
|
||||
<section class="panel">
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('API token:') ?>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('Project calendar view') ?></h3>
|
||||
<?= $this->form->radios('calendar_project_tasks', array(
|
||||
'date_creation' => t('Show tasks based on the creation date'),
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
), $values) ?>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('User calendar view') ?></h3>
|
||||
<?= $this->form->radios('calendar_user_tasks', array(
|
||||
'date_creation' => t('Show tasks based on the creation date'),
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
), $values) ?>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('Subtasks time tracking') ?></h3>
|
||||
<?= $this->form->checkbox('calendar_user_subtasks_time_tracking', t('Show subtasks based on the time tracking'), 1, $values['calendar_user_subtasks_time_tracking'] == 1) ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<?= $this->hook->render('template:config:integrations', array('values' => $values)) ?>
|
||||
|
||||
<h3><img src="<?= $this->url->dir() ?>assets/img/gravatar-icon.png"/> <?= t('Gravatar') ?></h3>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<?= $this->form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Keyboard shortcuts') ?></h2>
|
||||
</div>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('Board/Calendar/List view') ?></h3>
|
||||
<ul>
|
||||
<li><?= t('Switch to the project overview') ?> = <strong>v o</strong></li>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Webhook token') ?></h2>
|
||||
</div>
|
||||
<section class="listing">
|
||||
<section class="panel">
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('Webhook token:') ?>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h3><a href="#" class="fa accordion-toggle"></a> <?= t('Information') ?></h3>
|
||||
</div>
|
||||
<div class="accordion-content">
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<?php if ($project['owner_id'] > 0): ?>
|
||||
<li><?= t('Project owner: ') ?><strong><?= $this->text->e($project['owner_name'] ?: $project['owner_username']) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if ($project['is_private'] == 0): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<form method="post" action="<?= $this->url->href('ProjectPermissionController', 'addGroup', array('project_id' => $project['id'])) ?>" autocomplete="off" class="form-inline">
|
||||
<?= $this->form->csrf() ?>
|
||||
<?= $this->form->hidden('project_id', array('project_id' => $project['id'])) ?>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if ($project['is_private'] == 0): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<form method="post" action="<?= $this->url->href('ProjectPermissionController', 'addUser', array('project_id' => $project['id'])) ?>" autocomplete="off" class="form-inline">
|
||||
<?= $this->form->csrf() ?>
|
||||
<?= $this->form->hidden('project_id', array('project_id' => $project['id'])) ?>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<?php if ($project['is_public']): ?>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul class="no-bullet">
|
||||
<li><strong><?= $this->url->icon('share-alt', t('Public link'), 'BoardViewController', 'readonly', array('token' => $project['token']), false, '', '', true) ?></strong></li>
|
||||
<li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'project', array('token' => $project['token']), false, '', '', true) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Summary') ?></h2>
|
||||
</div>
|
||||
<ul class="listing">
|
||||
<ul class="panel">
|
||||
<li><strong><?= $project['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
|
||||
|
||||
<?php if ($project['owner_id'] > 0): ?>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
|
||||
<?php if (empty($values['search'])): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('Advanced search') ?></h3>
|
||||
<p><?= t('Example of query: ') ?><strong>project:"My project" creator:me</strong></p>
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
|
||||
<?php if (empty($values['search'])): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<h3><?= t('Advanced search') ?></h3>
|
||||
<p><?= t('Example of query: ') ?><strong>project:"My project" assignee:me due:tomorrow</strong></p>
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<h2><?= t('Analytics') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li><?= t('Lead time: ').'<strong>'.$this->dt->duration($lead_time) ?></strong></li>
|
||||
<li><?= t('Cycle time: ').'<strong>'.$this->dt->duration($cycle_time) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php if ($task['time_estimated'] > 0 || $task['time_spent'] > 0): ?>
|
||||
<div class="page-header">
|
||||
<h2><?= t('Time tracking') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="page-header">
|
||||
<h2><?= t('Time tracking') ?></h2>
|
||||
</div>
|
||||
|
||||
<ul class="listing">
|
||||
<li><?= t('Estimate:') ?> <strong><?= $this->text->e($task['time_estimated']) ?></strong> <?= t('hours') ?></li>
|
||||
<li><?= t('Spent:') ?> <strong><?= $this->text->e($task['time_spent']) ?></strong> <?= t('hours') ?></li>
|
||||
<li><?= t('Remaining:') ?> <strong><?= $this->text->e($task['time_estimated'] - $task['time_spent']) ?></strong> <?= t('hours') ?></li>
|
||||
</ul>
|
||||
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li><?= t('Estimate:') ?> <strong><?= $this->text->e($task['time_estimated']) ?></strong> <?= t('hours') ?></li>
|
||||
<li><?= t('Spent:') ?> <strong><?= $this->text->e($task['time_spent']) ?></strong> <?= t('hours') ?></li>
|
||||
<li><?= t('Remaining:') ?> <strong><?= $this->text->e($task['time_estimated'] - $task['time_spent']) ?></strong> <?= t('hours') ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
</div>
|
||||
|
||||
<?php if ($task['recurrence_status'] != \Kanboard\Model\TaskModel::RECURRING_STATUS_NONE): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<?= $this->render('task_recurrence/info', array(
|
||||
'task' => $task,
|
||||
'recurrence_trigger_list' => $recurrence_trigger_list,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
</div>
|
||||
|
||||
<?php if (! empty($secret) || ! empty($qrcode_url) || ! empty($key_url)): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<?php if (! empty($secret)): ?>
|
||||
<p><?= t('Secret key: ') ?><strong><?= $this->text->e($secret) ?></strong></p>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
<section id="main">
|
||||
<br>
|
||||
<?= $this->avatar->render($user['id'], $user['username'], $user['name'], $user['email'], $user['avatar_path']) ?>
|
||||
<ul class="listing">
|
||||
<li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
|
||||
<li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
|
||||
</ul>
|
||||
<div class="panel">
|
||||
<ul>
|
||||
<li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
|
||||
<li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
</div>
|
||||
|
||||
<?php if (! empty($user['token'])): ?>
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul class="no-bullet">
|
||||
<li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
|
||||
<li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Summary') ?></h2>
|
||||
</div>
|
||||
<ul class="listing">
|
||||
<ul class="panel">
|
||||
<li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
|
||||
<li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Security') ?></h2>
|
||||
</div>
|
||||
<ul class="listing">
|
||||
<ul class="panel">
|
||||
<li><?= t('Role:') ?> <strong><?= $this->user->getRoleName($user['role']) ?></strong></li>
|
||||
<li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
|
||||
<li><?= $user['twofactor_activated'] == 1 ? t('Two factor authentication enabled') : t('Two factor authentication disabled') ?></li>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
<div class="page-header">
|
||||
<h2><?= t('Preferences') ?></h2>
|
||||
</div>
|
||||
<ul class="listing">
|
||||
<ul class="panel">
|
||||
<li><?= t('Timezone:') ?> <strong><?= $this->text->in($user['timezone'], $timezones) ?></strong></li>
|
||||
<li><?= t('Language:') ?> <strong><?= $this->text->in($user['language'], $languages) ?></strong></li>
|
||||
<li><?= t('Notifications:') ?> <strong><?= $user['notifications_enabled'] == 1 ? t('Enabled') : t('Disabled') ?></strong></li>
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
<h2><?= t('Public access') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="listing">
|
||||
<div class="panel">
|
||||
<ul class="no-bullet">
|
||||
<li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
|
||||
<li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,9 +1,10 @@
|
|||
@import variables
|
||||
|
||||
.listing
|
||||
.panel
|
||||
border-radius: 4px
|
||||
padding: 8px 35px 8px 14px
|
||||
margin-bottom: 20px
|
||||
padding: 8px 35px 8px 10px
|
||||
margin-top: 10px
|
||||
margin-bottom: 15px
|
||||
border: 1px solid #ddd
|
||||
color: color('primary')
|
||||
background-color: bg-color('light')
|
||||
|
|
@ -11,7 +12,4 @@
|
|||
li
|
||||
list-style-type: square
|
||||
margin-left: 20px
|
||||
margin-bottom: 3px
|
||||
ul
|
||||
margin-top: 15px
|
||||
margin-bottom: 15px
|
||||
line-height: 1.35em
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
@import markdown_editor
|
||||
@import markdown_rendering
|
||||
@import documentation
|
||||
@import listing
|
||||
@import panel
|
||||
@import activity_stream
|
||||
@import gantt_chart
|
||||
@import user_mentions
|
||||
|
|
|
|||
Loading…
Reference in New Issue