summaryrefslogtreecommitdiff
path: root/templates/dashboard/transfers.hamlet
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-24 14:48:47 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-24 14:48:47 -0400
commit38dadcf24873ced5e8e375669d56022d0ce7cc16 (patch)
treebe5c915b40839bba9b2b7f5bc2322b99ce7d2d7e /templates/dashboard/transfers.hamlet
parentdd502bdae1be6a91b0c5f2f7996b1dc8d5f0cfc4 (diff)
license the webapp under the AGPL 3+
This means that anyone serving up the webapp to users as a service (ie, without providing any git-annex binary at all to the user) still needs to provide a link to the source code for it, including any modifications they may make. This may make git-annex be covered by the AGPL as a whole when it is built with the webapp. If in doubt, you should ask a lawyer. When git-annex is built with the webapp disabled, no AGPLed code is used. Even building in the assistant does not pull in AGPLed code.
Diffstat (limited to 'templates/dashboard/transfers.hamlet')
-rw-r--r--templates/dashboard/transfers.hamlet37
1 files changed, 0 insertions, 37 deletions
diff --git a/templates/dashboard/transfers.hamlet b/templates/dashboard/transfers.hamlet
deleted file mode 100644
index da5848432..000000000
--- a/templates/dashboard/transfers.hamlet
+++ /dev/null
@@ -1,37 +0,0 @@
-<div .span9 ##{ident}>
- $if null transfers
- $else
- <h2>Transfers
- $forall (transfer, info) <- transfers
- $with percent <- maybe "unknown" (showPercentage 0) $ percentComplete transfer info
- <div .row-fluid>
- <div .span10>
- <div .row-fluid>
- <h3>
- $maybe file <- associatedFile info
- #{file}
- $nothing
- #{key2file $ transferKey transfer}
- $case transferDirection transfer
- $of Upload
- &rarr;
- $of Download
- &larr;
- <small>#{maybe "unknown" Remote.name $ transferRemote info}</small>
- $with size <- maybe "unknown" (roughSize dataUnits True) $ keySize $ transferKey transfer
- $if isJust $ startedTime info
- $if isrunning info
- <small .pull-right><b>#{percent} of #{size}</b></small>
- $else
- <small .pull-right>paused at #{percent} of #{size}</small>
- $else
- <small .pull-right>queued (#{size})</small>
- <div .row-fluid>
- <div .progress .progress-striped>
- <div .bar style="width: #{percent};">
- <div .btn-group .span2>
- $if isrunning info
- ^{actionButton (PauseTransferR transfer) Nothing "btn" "icon-pause"}
- $else
- ^{actionButton (StartTransferR transfer) Nothing "btn" "icon-play"}
- ^{actionButton (CancelTransferR transfer) Nothing "btn" "icon-remove"}