Skip to content

Commit

Permalink
Merge pull request #44 from kkirara/icon
Browse files Browse the repository at this point in the history
icon
  • Loading branch information
kkirara authored Feb 9, 2023
2 parents f5433bd + 837cf00 commit 5ac18c9
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
Binary file added KubeLinksScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ KubeLinks provides a convenient web page with links to all urls presented in ing


* Install
* [KubeLinks install on Kubernetes](https://kkirara.github.io/KubeLinks/)
* [KubeLinks install on Kubernetes](https://kkirara.github.io/KubeLinks/)

![Screen](KubeLinksScreen.png)
12 changes: 6 additions & 6 deletions kubelinks_app/home/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
KubeLinks
{% endblock %}
{% block content %}
<div class="container">
<h2>Kubernetes links</h2>
<p>Ingress and Istio urls</p>
<div id="table" class="container w-100 p-3 mb-5 shadow rounded-2">
<table class="table table-striped table-hover bg-body ">

<!-- <h2>Kubernetes links</h2> -->
<h2>Ingress and Istio urls</h2>
<p></p>
<div id="table" class="container p-1 w-100 mb-5 shadow rounded-2">
<table class="table table-striped table-hover bg-body ">
<thead>
<tr>
<th scope="col">Url</th>
Expand Down Expand Up @@ -42,5 +43,4 @@ <h2>Kubernetes links</h2>
</tbody>
</table>
</div>
</div>
{% endblock %}
1 change: 1 addition & 0 deletions kubelinks_app/static/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 13 additions & 4 deletions kubelinks_app/templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en" data-bs-theme="auto">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %}</title>
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='images/favicon.svg') }}">
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
<script src="{{ url_for('static', filename='js//color-modes.js') }}"></script>
</head>
Expand All @@ -21,7 +21,14 @@
</symbol>
</svg>
<body>
<header class="container">
<header class="bg-body-tertiary">
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container">
<a class="navbar-brand" href="#">
<img src="{{ url_for('static', filename='images/favicon.svg') }}" alt="Logo" width="30" height="24" class="d-inline-block align-text-top">
KubeLinks
</a>

<ul class="nav justify-content-end">
<li class="nav-item" style="margin-right: 0.5em!important;">
<svg class="theme-icon" style="width: 1em; height: 1em; vertical-align: -0.125em; fill: currentcolor;">
Expand All @@ -39,8 +46,10 @@
</svg>
</li>
</ul>
</div>
</nav>
</header>
<div class="body-content">
<div class="container mt-1">
{% block content %}
{% endblock %}
</div>
Expand Down

0 comments on commit 5ac18c9

Please sign in to comment.