Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
2a203078
Commit
2a203078
authored
Sep 16, 2020
by
carlosribas
Browse files
Use table to show data
parent
39fc5b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
rnacentral/sequence_search/templates/dashboard.html
rnacentral/sequence_search/templates/dashboard.html
+30
-30
No files found.
rnacentral/sequence_search/templates/dashboard.html
View file @
2a203078
...
...
@@ -21,40 +21,40 @@ limitations under the License.
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<p
class=
"panel-title"
>
Number of searches and average time
</p>
</div>
<div
class=
"panel-body"
>
<div
class=
"col-md-6"
>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.all_searches }}
</span>
Total number of searches
</li>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.searches_last_24_hours }}
</span>
Number of searches in the last 24 hours
</li>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.searches_last_week }}
</span>
Number of searches in the last 7 days
</li>
</ul>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<p
class=
"panel-title"
>
Number of searches and average time
</p>
</div>
<div
class=
"col-md-6"
>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.average_all_searches }}
</span>
Average search time
</li>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.average_last_24_hours }}
</span>
Average search time in the last 24 hours
</li>
<li
class=
"list-group-item"
>
<span
class=
"badge"
>
{{ context.average_last_week }}
</span>
Average search time in the last 7 days
</li>
</ul>
<div
class=
"panel-body"
>
<table
class=
"table table-hover"
>
<thead>
<tr>
<th
scope=
"col"
>
#
</th>
<th
scope=
"col"
>
Number of searches
</th>
<th
scope=
"col"
>
Average search time
</th>
</tr>
</thead>
<tbody>
<tr>
<th
scope=
"row"
>
All searches
</th>
<td><span
class=
"badge"
>
{{ context.all_searches }}
</span></td>
<td><span
class=
"badge"
>
{{ context.average_all_searches }}
</span></td>
</tr>
<tr>
<th
scope=
"row"
>
Last 24 hours
</th>
<td><span
class=
"badge"
>
{{ context.searches_last_24_hours }}
</span></td>
<td><span
class=
"badge"
>
{{ context.average_last_24_hours }}
</span></td>
</tr>
<tr>
<th
scope=
"row"
>
Last 7 days
</th>
<td><span
class=
"badge"
>
{{ context.searches_last_week }}
</span></td>
<td><span
class=
"badge"
>
{{ context.average_last_week }}
</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% if context.expert_db_results %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment