Browse Source

[hive] Display each history row on one line

Romain Rigaux 10 years ago
parent
commit
74fa6f8

+ 2 - 2
apps/beeswax/src/beeswax/templates/list_history.mako

@@ -111,9 +111,9 @@ ${ layout.menubar(section='history') }
             <table class="table table-striped table-condensed datatables" style="padding-left: 0;">
             <thead>
               <tr>
-                <th width="10%">${_('Time')}</th>
+                <th width="15%">${_('Time')}</th>
                 <th width="15%">${_('Name')}</th>
-                <th width="45%">${_('Query')}</th>
+                <th width="40%">${_('Query')}</th>
                 <th width="10%">${_('User')}</th>
                 <th width="5%">${_('State')}</th>
                 <th width="5%">${_('Result')}</th>

+ 2 - 2
desktop/libs/notebook/src/notebook/api.py

@@ -23,12 +23,12 @@ from django.utils.translation import ugettext as _
 from django.views.decorators.http import require_GET, require_POST
 
 from desktop.decorators import check_document_access_permission
-from desktop.lib.django_util import JsonResponse, HttpResponse
+from desktop.lib.django_util import JsonResponse
 from desktop.models import Document2, Document
 
 from notebook.connectors.base import get_api, Notebook, QueryExpired
 from notebook.decorators import api_error_handler, check_document_modify_permission
-from notebook.github import GithubClient, GithubClientException
+from notebook.github import GithubClient
 from notebook.models import escape_rows