From patchwork Tue Aug 30 04:51:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 3776 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 79B6F23F4D for ; Tue, 30 Aug 2011 04:51:22 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id D9530A187AE for ; Tue, 30 Aug 2011 04:51:14 +0000 (UTC) Received: by fxd18 with SMTP id 18so7545281fxd.11 for ; Mon, 29 Aug 2011 21:51:14 -0700 (PDT) Received: by 10.223.88.214 with SMTP id b22mr6589964fam.5.1314679874667; Mon, 29 Aug 2011 21:51:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.11.8 with SMTP id m8cs119845lab; Mon, 29 Aug 2011 21:51:14 -0700 (PDT) Received: by 10.227.38.133 with SMTP id b5mr4499928wbe.92.1314679873513; Mon, 29 Aug 2011 21:51:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id 1si11352429wbw.3.2011.08.29.21.51.13 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 21:51:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QyGI4-0002F1-UI for ; Tue, 30 Aug 2011 04:51:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id D4E48E0991 for ; Tue, 30 Aug 2011 04:51:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-scheduler X-Launchpad-Branch: ~linaro-validation/lava-scheduler/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 78 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-scheduler/trunk] Rev 78: better default sorts and sizes for the scheduler tables Message-Id: <20110830045112.32062.18141.launchpad@ackee.canonical.com> Date: Tue, 30 Aug 2011 04:51:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13794"; Instance="initZopeless config overlay" X-Launchpad-Hash: daca2e884967f72991b5e97edb60f142dc7c3925 ------------------------------------------------------------ revno: 78 fixes bug(s): https://launchpad.net/bugs/837061 committer: Michael-Doyle Hudson branch nick: trunk timestamp: Tue 2011-08-30 16:49:17 +1200 message: better default sorts and sizes for the scheduler tables modified: lava_scheduler_app/templates/lava_scheduler_app/alljobs.html lava_scheduler_app/templates/lava_scheduler_app/index.html --- lp:lava-scheduler https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk You are subscribed to branch lp:lava-scheduler. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription === modified file 'lava_scheduler_app/templates/lava_scheduler_app/alljobs.html' --- lava_scheduler_app/templates/lava_scheduler_app/alljobs.html 2011-08-22 05:20:36 +0000 +++ lava_scheduler_app/templates/lava_scheduler_app/alljobs.html 2011-08-30 04:49:17 +0000 @@ -39,7 +39,9 @@ "bJQueryUI": true, "aoColumnDefs": [ { "sType": "num-html", "aTargets": [ "id" ] } - ] + ], + "aaSorting": [[0, "desc"]], + "iDisplayLength": 25 }); } ); === modified file 'lava_scheduler_app/templates/lava_scheduler_app/index.html' --- lava_scheduler_app/templates/lava_scheduler_app/index.html 2011-08-22 05:20:36 +0000 +++ lava_scheduler_app/templates/lava_scheduler_app/index.html 2011-08-30 04:49:17 +0000 @@ -3,23 +3,23 @@ {% block content %}

Devices

- +
+ - {% for device in devices %} - + {% endfor %} @@ -28,7 +28,7 @@

Active Jobs

-
Hostname TypeHostname Status
{{ device.device_type }} {{ device.hostname }} {{ device.device_type }} {{ device.get_status_display }}
+
@@ -56,11 +56,16 @@
ID