aboutsummaryrefslogtreecommitdiff
path: root/ustayml/static
diff options
context:
space:
mode:
authorMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-10-29 18:47:23 -0500
committerMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-10-29 18:47:23 -0500
commit7550b896ce360a998da788beae4b4c6f734f473e (patch)
tree1f354a1d906c856282e471056ff37ba4b40c5b2d /ustayml/static
parent3b22586890425c8b8e555bce649649228b26c02b (diff)
Add filtering and pagination to bp.estudiantes
Diffstat (limited to 'ustayml/static')
-rw-r--r--ustayml/static/style.css73
1 files changed, 55 insertions, 18 deletions
diff --git a/ustayml/static/style.css b/ustayml/static/style.css
index 08b5e9f..9246706 100644
--- a/ustayml/static/style.css
+++ b/ustayml/static/style.css
@@ -91,21 +91,6 @@ header .action {
margin: 1rem 0 0.25rem 0;
}
-.content > .filters {
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-.content .filters-list {
- display: flex;
- flex-direction: row;
- align-items: flex-end;
- /* justify-content: center; */
-}
-
-.filters-list select {
- margin-right: 2em;
-}
.flash {
margin: 1em 0;
@@ -116,6 +101,8 @@ header .action {
/* students */
+/* table */
+
.students-table {
padding: 2em;
width: 100%;
@@ -135,6 +122,56 @@ header .action {
margin-top: 5em;
}
+.table-pagination {
+ display: flex;
+ flex-direction: row;
+ align-items: flex-end;
+}
+
+.table-pagination > .page-list {
+ display:none;
+ /* flex:auto; */
+ /* display: flex; */
+ /* flex-direction: column; */
+ /* align-items: flex-end; */
+ justify-content: flex-end;
+ margin-right: 1em;
+}
+
+.table-pagination > .page-list a {
+ margin-left: .2em
+}
+
+.filter-criteria {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.filter-criteria fieldset {
+ display: flex;
+ /* justify-content: space-between; */
+ border: 0;
+ padding: 0;
+ align-items: flex-end;
+ justify-content: left;
+}
+
+.filter-criteria label {
+ width: auto;
+ display: block;
+ font-size: small;
+}
+
+/* .filter-criteria input {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+} */
+
+.filters-list select {
+ margin-right: 2em;
+}
+
/* post */
.post > header {
@@ -171,12 +208,12 @@ header .action {
flex-direction: column;
}
-.content label {
+/* .content label {
font-weight: bold;
margin-bottom: 0.5em;
-}
+} */
-.content input,
+/* .content input, */
.content textarea {
margin-bottom: 1em;
}