Skip to content

Commit

Permalink
Merge pull request #96 from widmogrod/feature/january-2024-4
Browse files Browse the repository at this point in the history
Pagination and filtering in my-app
  • Loading branch information
widmogrod authored Jan 6, 2024
2 parents c9c5ee2 + 1284d02 commit ff16437
Show file tree
Hide file tree
Showing 33 changed files with 1,478 additions and 838 deletions.
4 changes: 3 additions & 1 deletion example/my-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

```
npm start
go run server.go functions.go
export OPENAI_API_KEY=sk-
go generate ./...
go run *.go
```
32 changes: 30 additions & 2 deletions example/my-app/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ span.error {
span.await {
background-color: #52d2d2;
}
input {

input, select {
padding: 5px;
margin: 0 5px 0 0;
}

input, button {
input, button, select, textarea {
border: 1px solid #51887a;
border-radius: 0;
margin-top: 2px;
Expand Down Expand Up @@ -97,6 +98,18 @@ table > thead .option-row button {
margin-right: 5px;
}

table > thead .filter-rules {
float: right;
}

.filter-rules {

}

.filter-group, .filter-rule {
margin-left: 40px;
}

table > tbody > tr {
border-bottom: 1px solid #dddddd;
}
Expand All @@ -109,6 +122,21 @@ tbody tr:last-of-type {
border-bottom: 2px solid #009879;
}

tfoot tr {
background-color: #ffffff;
color: #ffffff;
text-align: left;
font-size: 1.2em;
}

button.next-page{
float: right;
}
button.prev-page{
float: left;
}


/* tables inside a table should be smaller */
table table {
font-size: 0.8em;
Expand Down
Loading

0 comments on commit ff16437

Please sign in to comment.