webapp: Repository list is now included in the dashboard, and other UI tweaks.
This commit is contained in:
parent
6c7ce8f193
commit
810a06b771
18 changed files with 77 additions and 108 deletions
|
@ -1,10 +1,12 @@
|
|||
^{content}
|
||||
$if warnNoScript
|
||||
<noscript>
|
||||
<div .navbar .navbar-fixed-bottom>
|
||||
<div .navbar-inner>
|
||||
<div .container>
|
||||
Javascript is disabled; cannot update in real-time.
|
||||
<div .btn-group>
|
||||
<a .btn .btn-primary href="@{NoScriptAutoR}">Auto-refresh every 3 seconds #
|
||||
<a .btn .btn-primary href="@{NoScriptR}">Manually refresh
|
||||
<div .span9>
|
||||
^{repolist}
|
||||
^{transferlist}
|
||||
$if warnNoScript
|
||||
<noscript>
|
||||
<div .navbar .navbar-fixed-bottom>
|
||||
<div .navbar-inner>
|
||||
<div .container>
|
||||
Javascript is disabled; cannot update in real-time.
|
||||
<div .btn-group>
|
||||
<a .btn .btn-primary href="@{NoScriptAutoR}">Auto-refresh every 3 seconds #
|
||||
<a .btn .btn-primary href="@{NoScriptR}">Manually refresh
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
<div .span9 ##{ident}>
|
||||
$maybe reldir <- relDir webapp
|
||||
<div .alert .alert-info>
|
||||
<p>
|
||||
git-annex is watching over your files in #
|
||||
<small><tt>#{reldir}</tt></small>, #
|
||||
and keeping them in sync with #
|
||||
<a href="@{RepositoriesR}">
|
||||
other repositories.
|
||||
<div ##{ident}>
|
||||
<h2>Transfers
|
||||
$if null transfers
|
||||
<i>
|
||||
(no file transfers running)
|
||||
$else
|
||||
<h2>Transfers
|
||||
$forall (transfer, info) <- transfers
|
||||
$with percent <- maybe "unknown" (showPercentage 0) $ percentComplete transfer info
|
||||
<div .row-fluid>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue