Skip to content

Commit 52f4472

Browse files
feat(dev): add service buttons (#170)
1 parent cb39701 commit 52f4472

File tree

2 files changed

+67
-14
lines changed

2 files changed

+67
-14
lines changed

dist/dev.html

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,76 @@
4545
<!-- Navigation-->
4646
<nav id="nav-container"></nav>
4747

48-
<!-- Projects section-->
49-
<section class="py-5 offset-anchor" id="Projects">
50-
<div class="container my-5">
48+
<!-- Hero section-->
49+
<section class="py-5 offset-anchor" id="Hero">
50+
<div class="container my-3">
5151
<div class="row gx-5 justify-content-center">
5252
<div class="col-lg-8 col-xl-6">
5353
<div class="text-center text-white">
54-
<h2 class="fw-bolder pb-4">Projects</h2>
54+
<h1 class="fw-bolder">Developer Dashboard</h1>
55+
</div>
56+
57+
<div>
58+
<!-- Cloudsmith button -->
59+
<a class="btn btn-warning mx-1 my-2" href="https://cloudsmith.io/~lizardbyte/repos" target="_blank" rel="noopener noreferrer">
60+
<span class="fa-stack fa-xs">
61+
<i class="fas fa-diamond fa-stack-2x"></i>
62+
<i class="fas fa-circle fa-stack-1x" style="color:orange"></i>
63+
</span>
64+
Cloudsmith
65+
</a>
66+
67+
<!-- CodeCov button -->
68+
<a class="btn btn-info mx-1 my-2" href="https://app.codecov.io/gh/LizardByte" target="_blank" rel="noopener noreferrer">
69+
<i class="fas fa-umbrella me-2"></i>CodeCov
70+
</a>
71+
72+
<!-- Crowdin buttons -->
73+
<a class="btn btn-info mx-1 my-2" href="https://crowdin.com/project/lizardbyte" target="_blank" rel="noopener noreferrer">
74+
<i class="fas fa-globe me-2"></i>Crowdin (projects)
75+
</a>
76+
<a class="btn btn-info mx-1 my-2" href="https://crowdin.com/project/lizardbyte-docs" target="_blank" rel="noopener noreferrer">
77+
<i class="fas fa-globe me-2"></i>Crowdin (docs)
78+
</a>
79+
80+
<!-- GitHub Caches button -->
81+
<a class="btn btn-info mx-1 my-2" href="https://github.com/organizations/LizardByte/settings/actions/caches" target="_blank" rel="noopener noreferrer">
82+
<i class="fas fa-database me-2"></i>GitHub Caches
83+
</a>
84+
85+
<!-- GitHub Hosted Runners button -->
86+
<a class="btn btn-info mx-1 my-2" href="https://github.com/organizations/LizardByte/settings/actions/hosted-runners" target="_blank" rel="noopener noreferrer">
87+
<i class="fab fa-github me-2"></i>GitHub Hosted Runners
88+
</a>
89+
90+
<!-- PyPI button -->
91+
<a class="btn btn-info mx-1 my-2" href="https://pypi.org/user/LizardByte/" target="_blank" rel="noopener noreferrer">
92+
<i class="fab fa-python me-2"></i>PyPI
93+
</a>
94+
95+
<!-- ReadTheDocs button -->
96+
<a class="btn btn-info mx-1 my-2" href="https://readthedocs.org/dashboard/lizardbyte/subprojects/" target="_blank" rel="noopener noreferrer">
97+
<i class="fas fa-book me-2"></i>ReadTheDocs
98+
</a>
99+
100+
<!-- YouTrack button -->
101+
<a class="btn btn-warning mx-1 my-2" href="https://lizardbyte.youtrack.cloud" target="_blank" rel="noopener noreferrer">
102+
<i class="fas fa-bug me-2"></i>YouTrack
103+
</a>
104+
</div>
105+
106+
</div>
107+
</div>
108+
</div>
109+
</section>
110+
111+
<!-- Repos section-->
112+
<section class="py-5 offset-anchor" id="Repos">
113+
<div class="container my-3">
114+
<div class="row gx-5 justify-content-center">
115+
<div class="col-lg-8 col-xl-6">
116+
<div class="text-center text-white">
117+
<h2 class="fw-bolder pb-4">Repos</h2>
55118
</div>
56119
</div>
57120
</div>

dist/js/dev_dashboard.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ $(document).ready(function(){
6666
"Stars",
6767
"Forks",
6868
"Open Issues & Pulls",
69-
"Master Default",
7069
"Languages",
7170
"License",
7271
"Docs",
@@ -164,14 +163,6 @@ $(document).ready(function(){
164163
table_data_image_src.alt = ""
165164
table_data_image.append(table_data_image_src)
166165

167-
// default branch is master
168-
let default_branch_data = document.createElement("i")
169-
if (sorted[repo]['default_branch'] === "master") {
170-
default_branch_data.className = "fa-fw fa-solid fa-check-circle text-success"
171-
} else {
172-
default_branch_data.className = "fa-fw fa-solid fa-times-circle text-danger"
173-
}
174-
175166
// get license data
176167
// if blank use font awesome red X circle icon
177168
let license_data = document.createElement("i")
@@ -204,7 +195,6 @@ $(document).ready(function(){
204195
"stargazers_count": sorted[repo]['stargazers_count'],
205196
"forks": sorted[repo]['forks'],
206197
"open_issues": sorted[repo]['open_issues'],
207-
"default_branch": default_branch_data,
208198
"language": language_data,
209199
"license": license_data,
210200
"readthedocs": docs_link,

0 commit comments

Comments
 (0)