-
-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
54 additions
and
36 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script setup> | ||
import {useLogViewerStore} from "../stores/logViewer"; | ||
const logViewerStore = useLogViewerStore(); | ||
</script> | ||
|
||
<template> | ||
<div class="text-sm text-gray-500 dark:text-gray-400"> | ||
<label for="log-sort-direction" class="sr-only">Sort direction</label> | ||
<select id="log-sort-direction" v-model="logViewerStore.direction" class="select mr-4"> | ||
<option value="desc">Newest first</option> | ||
<option value="asc">Oldest first</option> | ||
</select> | ||
<label for="items-per-page" class="sr-only">Items per page</label> | ||
<select id="items-per-page" v-model="logViewerStore.resultsPerPage" class="select"> | ||
<option value="10">10 items per page</option> | ||
<option value="25">25 items per page</option> | ||
<option value="50">50 items per page</option> | ||
<option value="100">100 items per page</option> | ||
<option value="250">250 items per page</option> | ||
<option value="500">500 items per page</option> | ||
</select> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters