Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
[HOPSWORKS-589] Fix Admin UI height of DataTable (#938)
Browse files Browse the repository at this point in the history
[HOPSWORKS-589]  Make table columns resizable
  • Loading branch information
kouzant authored and tkakantousis committed Jun 15, 2018
1 parent ff1d2f9 commit 2c5c598
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hopsworks-admin/src/main/webapp/resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body {
}

.ui-widget-content {
height: auto !important;
height: fit-content !important;
}

.admin-main-layout::-webkit-scrollbar {
Expand Down Expand Up @@ -205,4 +205,4 @@ ui-panelgrid td {

.condaOutOfSync {
background-color: red;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
value="#{nodesBean.allNodes}"
editable="true"
style="table-layout: auto"
resizableColumns="true" liveResize="true"
rows="25"
paginator="true"
paginatorTemplate="{CurrentPageReport}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
emptyMessage="No notebook servers found with given criteria"
rowKey="#{notebookServer.port}"
style="table-layout: fixed"
resizableColumns="true" liveResize="true"
sortMode="multiple"
editable="true"
scrollable="false"
Expand Down Expand Up @@ -138,4 +139,4 @@
</p:layout>
</h:body>
</f:view>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<div class="content">
<h:form id="reqdataForm">
<p:dataTable id="userReqTable" var="req"
value="#{userAdministration.allRequests}"
value="#{userAdministration.allRequests}"
resizableColumns="true" liveResize="true"
widgetVar="reqsTable"
emptyMessage="No open user requests"
rowKey="#{req.email}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
rowKey="#{ProjectQuotas.name}"
emptyMessage="No projects found with given criteria"
style="table-layout: auto"
resizableColumns="true" liveResize="true"
sortMode="multiple"
editable="true"
scrollable="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
value="#{hopsworksVariablesBean.allVariables}"
editable="true"
style="table-layout: fixed"
resizableColumns="true" liveResize="true"
rows="25"
paginator="true"
paginatorTemplate="{CurrentPageReport}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<h:form id="spamReuests">
<p:dataTable id="spamUserReqTable" var="req"
value="#{userAdministration.spamUsers}"
widgetVar="spamReqsTable"
widgetVar="spamReqsTable"
resizableColumns="true" liveResize="true"
emptyMessage="No open user requests"
rowKey="#{req.email}"
selection="#{userAdministration.selectedUsers}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
widgetVar="usersTable"
emptyMessage="No users found with given criteria"
rowKey="#{muser.email}"
style="table-layout: fixed"
style="table-layout: fixed"
resizableColumns="true" liveResize="true"
scrollable="false"
rows="25"
paginator="true"
Expand Down

0 comments on commit 2c5c598

Please sign in to comment.