Commit 5abc2ca9fe8414eb602c81206c5e2fb574c70596

Thomas de Grivel 2022-01-25T14:00:13

admin logo

diff --git a/README.md b/README.md
index 6f5867e..d1dd3d5 100644
--- a/README.md
+++ b/README.md
@@ -130,6 +130,7 @@ location ~ ^(.*/info/refs|.*/git-upload-pack)$ {
    - useless git commands (`git_put_log1`)
    - disk usage calculation
  - Admin
+   - logo
    - disk usage (repos, orgs, users)
    - pagination
    - sort by column
diff --git a/lib/kmxgit_web/templates/layout/admin_nav.html.heex b/lib/kmxgit_web/templates/layout/admin_nav.html.heex
index 0d9ee87..97dfd88 100644
--- a/lib/kmxgit_web/templates/layout/admin_nav.html.heex
+++ b/lib/kmxgit_web/templates/layout/admin_nav.html.heex
@@ -1,7 +1,9 @@
 <nav class="navbar navbar-expand-md navbar-dark bg-dark">
   <div class="container-fluid">
     <a class="navbar-brand" href="/_admin">
-      kmx git [admin]
+      <div class="kmxgit-logo">
+        <span><i class="fa fa-square"></i></span> kmx git [admin]
+      </div>
     </a>
     <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
       <span class="navbar-toggler-icon"></span>