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

Add line numbers in SQL input textarea #54

Open
wants to merge 3 commits into
base: main
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
4 changes: 2 additions & 2 deletions helm-quarry/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
web:
repository: 'quay.io/wikimedia-quarry/quarry'
tag: pr-68 # web tag managed by github actions
tag: pr-54 # web tag managed by github actions

worker:
repository: 'quay.io/wikimedia-quarry/quarry'
tag: pr-68 # worker tag managed by github actions
tag: pr-54 # worker tag managed by github actions
4 changes: 4 additions & 0 deletions quarry/web/static/css/query/view.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ table#query-results-sampled {
min-height: 144px;
}

.cm-s-monokai .CodeMirror-linenumber {
color: #858484;
}

#code {
font-family: Monaco, Consolas, "Ubuntu Mono", monospace;
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion quarry/web/static/js/query/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ $( function () {
mode: 'text/x-mariadb',
theme: 'monokai',
readOnly: !vars.can_edit,
matchBrackets: true
matchBrackets: true,
lineNumbers: true
} );
}

Expand Down
Loading