-
Notifications
You must be signed in to change notification settings - Fork 3
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
Gitea
committed
Mar 30, 2024
1 parent
ea5d3c8
commit 2c8e65a
Showing
7 changed files
with
261 additions
and
33 deletions.
There are no files selected for viewing
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,25 @@ | ||
<div class="container project-container py-3" id="traffic" data-x-account="{{user.id}}" data-x-project="{{project.id}}"> | ||
<div class="border rounded p-4 mb-4"> | ||
<div> | ||
<p class="text-body-tertiary text-uppercase mb-2">Request counts</p> | ||
<p class="fw-bold mb-1" id="requests-total"></p> | ||
<div id="requests-loading-spinner" class="spinner-grow spinner-grow-sm" role="status"> | ||
<span class="visually-hidden">Loading...</span> | ||
</div> | ||
</div> | ||
<div id="requests-chart" style="height: 200px;"></div> | ||
</div> | ||
<div class="border rounded p-4 mb-4"> | ||
<div> | ||
<p class="text-body-tertiary text-uppercase mb-2">Transferred Bytes</p> | ||
<p class="fw-bold mb-1" id="flows-total"></p> | ||
<div id="flows-loading-spinner" class="spinner-grow spinner-grow-sm" role="status"> | ||
<span class="visually-hidden">Loading...</span> | ||
</div> | ||
</div> | ||
<div id="flows-chart" style="height: 200px;"></div> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js" | ||
integrity="sha256-QvgynZibb2U53SsVu98NggJXYqwRL7tg3FeyfXvPOUY=" crossorigin="anonymous"></script> | ||
<script src="/static/js/traffic.js"></script> |
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 |
---|---|---|
|
@@ -16,7 +16,18 @@ | |
<div id="requests-chart" style="height: 200px;"></div> | ||
</div> | ||
</div> | ||
<div class="col-6">222</div> | ||
<div class="col-6"> | ||
<div class="border rounded p-4"> | ||
<div> | ||
<p class="text-body-tertiary text-uppercase mb-2">Transferred Bytes</p> | ||
<p class="fw-bold mb-1" id="flows-total"></p> | ||
<div id="flows-loading-spinner" class="spinner-grow spinner-grow-sm" role="status"> | ||
<span class="visually-hidden">Loading...</span> | ||
</div> | ||
</div> | ||
<div id="flows-chart" style="height: 200px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js" | ||
|
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
Oops, something went wrong.