8000 charts cosmetic change by simagix · Pull Request #32 · simagix/hatchet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

charts cosmetic change #32

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

Merged
merged 1 commit into from
Sep 30, 2023
Merged
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
8000
Diff view
2 changes: 1 addition & 1 deletion charts_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func GetChartTemplate(chartType string) (*template.Template, error) {
<input type='datetime-local' id='end' value='{{.End}}'></input>
<button return false;" class="button">Refresh</button>
</div>
<div id='hatchetChart' style="width: 100%; clear: left;"></div>
<div id='hatchetChart' class='chart' style="clear: left;"></div>

</body></html>`

Expand Down
2 changes: 1 addition & 1 deletion logv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func isAppDriver(client *RemoteClient) bool {
driver := client.Driver
version := client.Version

if driver == "NetworkInterfaceTL" || driver == "MongoDB Internal Client" {
if strings.HasPrefix(driver, "NetworkInterfaceTL") || driver == "MongoDB Internal Client" {
return false
} else if driver == "mongo-go-driver" && strings.HasSuffix(version, "-cloud") {
return false
Expand Down
7 changes: 7 additions & 0 deletions template.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ const headers = `<!DOCTYPE html>
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.chart {
background-color: var(--row-color);;
border: solid;
padding: 10px 10px;
margin: 10px 10px;
border-radius: .5em;
}
</style>
<script>
function loadData(url) {
Expand Down
0