Skip to content

Commit 9f678d6

Browse files
authored
docs(examples): Dashboard improvements (#34007)
1 parent 83bcc3c commit 9f678d6

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

site/content/docs/5.0/examples/dashboard-rtl/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(function () {
44
'use strict'
55

6-
feather.replace()
6+
feather.replace({ 'aria-hidden': 'true' })
77

88
// Graphs
99
var ctx = document.getElementById('myChart')

site/content/docs/5.0/examples/dashboard-rtl/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
<span class="navbar-toggler-icon"></span>
1919
</button>
2020
<input class="form-control form-control-dark w-100" type="text" placeholder="بحث" aria-label="بحث">
21-
<ul class="navbar-nav px-3">
22-
<li class="nav-item text-nowrap">
23-
<a class="nav-link" href="#">تسجيل الخروج</a>
24-
</li>
25-
</ul>
21+
<div class="navbar-nav">
22+
<div class="nav-item text-nowrap">
23+
<a class="nav-link px-3" href="#">تسجيل الخروج</a>
24+
</div>
25+
</div>
2626
</header>
2727

2828
<div class="container-fluid">
@@ -125,11 +125,11 @@ <h2>عنوان القسم</h2>
125125
<table class="table table-striped table-sm">
126126
<thead>
127127
<tr>
128-
<th>#</th>
129-
<th>عنوان</th>
130-
<th>عنوان</th>
131-
<th>عنوان</th>
132-
<th>عنوان</th>
128+
<th scope="col">#</th>
129+
<th scope="col">عنوان</th>
130+
<th scope="col">عنوان</th>
131+
<th scope="col">عنوان</th>
132+
<th scope="col">عنوان</th>
133133
</tr>
134134
</thead>
135135
<tbody>

site/content/docs/5.0/examples/dashboard/dashboard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ body {
5252
}
5353

5454
.sidebar .nav-link.active {
55-
color: #007bff;
55+
color: #2470dc;
5656
}
5757

5858
.sidebar .nav-link:hover .feather,

site/content/docs/5.0/examples/dashboard/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(function () {
44
'use strict'
55

6-
feather.replace()
6+
feather.replace({ 'aria-hidden': 'true' })
77

88
// Graphs
99
var ctx = document.getElementById('myChart')

site/content/docs/5.0/examples/dashboard/dashboard.rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body {
4848
}
4949

5050
.sidebar .nav-link.active {
51-
color: #007bff;
51+
color: #2470dc;
5252
}
5353

5454
.sidebar .nav-link:hover .feather,

site/content/docs/5.0/examples/dashboard/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<span class="navbar-toggler-icon"></span>
1818
</button>
1919
<input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
20-
<ul class="navbar-nav px-3">
21-
<li class="nav-item text-nowrap">
22-
<a class="nav-link" href="#">Sign out</a>
23-
</li>
24-
</ul>
20+
<div class="navbar-nav">
21+
<div class="nav-item text-nowrap">
22+
<a class="nav-link px-3" href="#">Sign out</a>
23+
</div>
24+
</div>
2525
</header>
2626

2727
<div class="container-fluid">
@@ -124,11 +124,11 @@ <h2>Section title</h2>
124124
<table class="table table-striped table-sm">
125125
<thead>
126126
<tr>
127-
<th>#</th>
128-
<th>Header</th>
129-
<th>Header</th>
130-
<th>Header</th>
131-
<th>Header</th>
127+
<th scope="col">#</th>
128+
<th scope="col">Header</th>
129+
<th scope="col">Header</th>
130+
<th scope="col">Header</th>
131+
<th scope="col">Header</th>
132132
</tr>
133133
</thead>
134134
<tbody>

0 commit comments

Comments
 (0)