aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2018-11-13 16:51:41 +0000
committerzsloan2018-11-13 16:51:41 +0000
commitc9af6d0f32843b8e2c9f3c9d472ae02846582f1a (patch)
tree5fa09daf91d3ff1527abffc374d5b6ece2bd0417 /wqflask
parent3379fd0f0f829643651b89315e1a2e98cecf1652 (diff)
downloadgenenetwork2-c9af6d0f32843b8e2c9f3c9d472ae02846582f1a.tar.gz
Changed trait sample table appearance to be more compact
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/css/show_trait.css9
-rw-r--r--wqflask/wqflask/templates/show_trait_edit_data.html2
2 files changed, 10 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/css/show_trait.css b/wqflask/wqflask/static/new/css/show_trait.css
index 69c4418a..aa47d13f 100644
--- a/wqflask/wqflask/static/new/css/show_trait.css
+++ b/wqflask/wqflask/static/new/css/show_trait.css
@@ -29,4 +29,13 @@ table.dataTable thead .sorting_desc {
table.dataTable tbody td {
padding: 3px 20px 1px 10px;
+}
+
+table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
+ border-top: 1px solid #ccc;
+ border-right: 1px solid #ccc;
+}
+table.dataTable.cell-border tbody tr th:first-child,
+table.dataTable.cell-border tbody tr td:first-child {
+ border-left: 1px solid #ccc;
} \ No newline at end of file
diff --git a/wqflask/wqflask/templates/show_trait_edit_data.html b/wqflask/wqflask/templates/show_trait_edit_data.html
index 7ac4b2c0..cfcf2ce5 100644
--- a/wqflask/wqflask/templates/show_trait_edit_data.html
+++ b/wqflask/wqflask/templates/show_trait_edit_data.html
@@ -114,7 +114,7 @@
<tbody>
{% for sample in sample_type.sample_list %}
<tr class="{{ sample.class_outlier }} value_se" id="{{ sample.this_id }}">
- <td align="center" style="padding-right: 0px;" class="column_name-"><input type="checkbox" name="selectCheck" class="checkbox edit_sample_checkbox" value="{{ sample.name }}" checked="checked">
+ <td align="center" style="padding-left: 0px; padding-right: 0px;" class="column_name-"><input type="checkbox" name="selectCheck" class="checkbox edit_sample_checkbox" value="{{ sample.name }}" checked="checked">
</td>
<td class="column_name-Index" align="right">{{ loop.index }}</td>
<td class="column_name-Sample">