Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying table page #938

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions apps/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ nav li:not(.active):hover{
.bg-gray {
background-color: #eee;
}

@media (max-width: 640px) {
#dropNot {
top: 50px;
Expand All @@ -190,7 +191,46 @@ nav li:not(.active):hover{
.message {
font-size: 13px;
}
}
@media (max-width: 1200px) {
.btn-style-group{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: auto;
}
.custom-table {
display: flex;
justify-content: center;
align-items: center;
}

}
@media (max-width: 1087px) {

.custom-table {
width: 90%;
}

}
@media (max-width: 900px) {
.custom-table {
width: 75%;
}
}
@media (max-width: 1027px) {
.btn-style-group{
width: auto;
}
.custom-table {
overflow-x: auto;
width: 80%;
position: relative;
}

}

#dropNot {
top: 60px;
left: 0px;
Expand Down
10 changes: 5 additions & 5 deletions apps/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ <h1 class="h1">caMicroscope</h1>

<div class="bg-light">
<div class="p-2">
<div class="d-flex justify-content-between">
<div class="d-md-inline-flex m-2 w-100">
<div class="d-flex">
<div class="d-md-inline-flex m-2 w-75">
<div style="padding:0 1rem">
<div class="row">
<div class="row collection-btn">
<ul id = "collection-list" class="list-group">
<li class="list-group-item d-flex align-items-center justify-content-between active">
<i class="fas fa-archive"></i>
Expand Down Expand Up @@ -127,13 +127,13 @@ <h1 class="h1">caMicroscope</h1>
</div>
</div>
</div>
<div class="table-responsive ">
<div class="table-responsive custom-table ">
<table id='datatables' class="table table-striped"></table>
</div>
</div>
</div>

<div class="d-md-inline-flex" style="width:20%;">
<div class="d-md-inline-flex btn-style-group" style="width:20%;">
<div class="pl-md-2 pt-2">
<button type="button" data-bs-toggle="modal" data-bs-target="#dicom"
class="btn btn2 btn-success float-right w-md-100" style="background-color: cadetblue; padding: 7px;" onclick="setDicomParams();"> <i
Expand Down