Modernize Diffusion

Summary: Converts to ObjectList for display, pht's most everything, some responsive design when possible. Tables still are tables, but scroll on touch.

Test Plan: Use iOS simulator on Diffusion, Chrome

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5847
This commit is contained in:
Chad Little
2013-05-11 08:23:19 -07:00
parent da92d79d8d
commit 57ca8de61c
28 changed files with 324 additions and 303 deletions

View File

@@ -50,12 +50,12 @@ final class DiffusionLintDetailsController extends DiffusionController {
$table = id(new AphrontTableView($rows))
->setHeaders(array(
'Path',
'Line',
'Author',
'Severity',
'Name',
'Description',
pht('Path'),
pht('Line'),
pht('Author'),
pht('Severity'),
pht('Name'),
pht('Description'),
))
->setColumnClasses(array('', 'n'))
->setColumnVisibility(array($is_dir));
@@ -97,9 +97,13 @@ final class DiffusionLintDetailsController extends DiffusionController {
return $this->buildApplicationPage(
$nav,
array('title' => array(
'Lint',
$drequest->getRepository()->getCallsign(),
array(
'device' => true,
'dust' => true,
'title' =>
array(
pht('Lint'),
$drequest->getRepository()->getCallsign(),
)));
}