Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5433F98E6 for ; Wed, 20 Jun 2012 17:24:35 +0000 (UTC) Received: (qmail 39943 invoked by uid 500); 20 Jun 2012 17:24:35 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 39923 invoked by uid 500); 20 Jun 2012 17:24:35 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 39914 invoked by uid 99); 20 Jun 2012 17:24:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 17:24:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 17:24:33 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C21692388D01; Wed, 20 Jun 2012 17:24:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1352216 - in /incubator/bloodhound/trunk/bloodhound_dashboard: bhdashboard/templates/ bhdashboard/templates/bh_model_view.html bhdashboard/web_ui.py setup.py Date: Wed, 20 Jun 2012 17:24:13 -0000 To: bloodhound-commits@incubator.apache.org From: gjm@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120620172413.C21692388D01@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gjm Date: Wed Jun 20 17:24:13 2012 New Revision: 1352216 URL: http://svn.apache.org/viewvc?rev=1352216&view=rev Log: dashboard: adding a generic template for model views - towards #93 (from olemis) Added: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html (with props) Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui.py incubator/bloodhound/trunk/bloodhound_dashboard/setup.py Added: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html?rev=1352216&view=auto ============================================================================== --- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html (added) +++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html Wed Jun 20 17:24:13 2012 @@ -0,0 +1,49 @@ + +
+ + +
+ + +
+
+ $description + $buttons +
+
+
+ $widgets +
+
+
+ +
+
Propchange: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html ------------------------------------------------------------------------------ svn:mime-type = text/html Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui.py?rev=1352216&r1=1352215&r2=1352216&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui.py (original) +++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui.py Wed Jun 20 17:24:13 2012 @@ -128,7 +128,7 @@ class DashboardModule(Component): """ resource_filename = pkg_resources.resource_filename return [resource_filename('bhdashboard.layouts', 'templates'), - resource_filename('bhdashboard.web_ui', 'templates'), + resource_filename('bhdashboard', 'templates'), resource_filename('bhdashboard.widgets', 'templates')] # Temp vars Modified: incubator/bloodhound/trunk/bloodhound_dashboard/setup.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/setup.py?rev=1352216&r1=1352215&r2=1352216&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_dashboard/setup.py (original) +++ incubator/bloodhound/trunk/bloodhound_dashboard/setup.py Wed Jun 20 17:24:13 2012 @@ -93,7 +93,8 @@ PKG_INFO = {'bhdashboard' : ('bhdashboar ['../CHANGES', '../TODO', '../COPYRIGHT', '../NOTICE', '../README', '../TESTING_README', 'htdocs/*.*', 'htdocs/css/*.css', - 'htdocs/img/*.*', 'htdocs/js/*.js'], + 'htdocs/img/*.*', 'htdocs/js/*.js', + 'templates/*'], ), 'bhdashboard.widgets' : ('bhdashboard/widgets', # Package dir # Package data