diff options
Diffstat (limited to 'views/_tree.eta')
| -rw-r--r-- | views/_tree.eta | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/_tree.eta b/views/_tree.eta index 2eb445f..fc7707b 100644 --- a/views/_tree.eta +++ b/views/_tree.eta @@ -1,7 +1,12 @@ <%~ include("./_nav.eta", {...it, isTree: true}) %> <% const commitPath = it.path && it.path !== "/" ? it.path : ""; %> -<div class="placeholder box" data-src="/api/<%= it.repo.owner %>/<%= it.repo.name %>/latest-commit/<%= it.branch %>/<%= commitPath %>">Loading latest commit…</div> +<div class="placeholder commit box" data-src="/api/<%= it.repo.owner %>/<%= it.repo.name %>/latest-commit/<%= it.branch %>/<%= commitPath %>"> + <div> + <div>…</div> + <div class="commit-author">…</div> + </div> +</div> <table> <% for (const item of it.items) { %> |
