From 2315a035f7273a7d11fa4b7c6ce470f084544efb Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Mon, 20 Feb 2017 16:15:35 +0000 Subject: [PATCH] Breadcrumb berichtigt --- web/ui/index.html | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/web/ui/index.html b/web/ui/index.html index bcd6555..8817813 100644 --- a/web/ui/index.html +++ b/web/ui/index.html @@ -12,11 +12,24 @@ <script id="tpl-kacheln" type="x-tmpl-mustache"> {{#files}} <figure class="figure datei-figure text-center text-warning align-top"> - <i class="fa {{ typeClass }} fa-folder fa-3x"></i> - <figcaption class="figure-caption">{{ fr.absolutePath }}</figcaption> + <i class="fa {{ typeClass }} fa-3x"></i> + <figcaption class="figure-caption">{{ fileName }}</figcaption> </figure> {{/files}} + </script> + <script id="tpl-bcr" type="x-tmpl-mustache"> + {{#files}} + <a class="breadcrumb-item" href="{{ relPath }}">{{ fName }}</a> + {{/files}} + </script> + <script id="tpl-bcr2" type="x-tmpl-mustache"> + <span class="breadcrumb-item active">{{ fName }}</span> + </script> + <script id="tpl-bcr3" type="x-tmpl-mustache"> + <div class="pull-right align-middle"> + <i class="fa fa-th-large"></i> + </div> </script> </head> <body> @@ -34,7 +47,7 @@ <a class="dropdown-item" href="#">Ansehen als Code</a> <a class="dropdown-item" href="#">Ansehen als Dokument</a> <div class="dropdown-divider"></div> - <a class="dropdown-item" href="#">Bearbeiten als Code</a> + <a id="editTextFile" class="dropdown-item" href="#">Bearbeiten als Code</a> <a class="dropdown-item" href="#">Bearbeiten als Dokument</a> <div class="dropdown-divider"></div> <a id="saveFile" class="dropdown-item" href="#">Speichern</a> @@ -104,7 +117,7 @@ <div id="dateiansicht"> <!-- Breadcrumb Start --> <div class="zentrum-bc"> - <nav class="breadcrumb"> + <nav class="breadcrumb" id="bcnav"> <a class="breadcrumb-item" href="#">Home</a> <a class="breadcrumb-item" href="#">Library</a> <a class="breadcrumb-item" href="#">Data</a> -- Gitblit v1.9.3