From 5fed026bcdaa0724acd2640193e341bb8358980b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 31 Jul 2012 01:24:49 -0400 Subject: reorg templates --- templates/alert.hamlet | 9 -------- templates/configurators/intro.hamlet | 27 ++++++++++++++++++++++++ templates/dashboard.hamlet | 10 --------- templates/dashboard/main.hamlet | 10 +++++++++ templates/dashboard/metarefresh.hamlet | 2 ++ templates/dashboard/transfers.hamlet | 34 ++++++++++++++++++++++++++++++ templates/intro.hamlet | 27 ------------------------ templates/longpolling.julius | 12 ----------- templates/metarefresh.hamlet | 2 -- templates/notifications/longpolling.julius | 12 +++++++++++ templates/sidebar.hamlet | 3 --- templates/sidebar/alert.hamlet | 9 ++++++++ templates/sidebar/main.hamlet | 3 +++ templates/transfers.hamlet | 34 ------------------------------ 14 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 templates/alert.hamlet create mode 100644 templates/configurators/intro.hamlet delete mode 100644 templates/dashboard.hamlet create mode 100644 templates/dashboard/main.hamlet create mode 100644 templates/dashboard/metarefresh.hamlet create mode 100644 templates/dashboard/transfers.hamlet delete mode 100644 templates/intro.hamlet delete mode 100644 templates/longpolling.julius delete mode 100644 templates/metarefresh.hamlet create mode 100644 templates/notifications/longpolling.julius delete mode 100644 templates/sidebar.hamlet create mode 100644 templates/sidebar/alert.hamlet create mode 100644 templates/sidebar/main.hamlet delete mode 100644 templates/transfers.hamlet (limited to 'templates') diff --git a/templates/alert.hamlet b/templates/alert.hamlet deleted file mode 100644 index 8fa77eac1..000000000 --- a/templates/alert.hamlet +++ /dev/null @@ -1,9 +0,0 @@ -
- $if closable - × - $maybe h <- heading - $if block -

#{h}

- $else - #{h} - ^{widget} diff --git a/templates/configurators/intro.hamlet b/templates/configurators/intro.hamlet new file mode 100644 index 000000000..ecb15f39c --- /dev/null +++ b/templates/configurators/intro.hamlet @@ -0,0 +1,27 @@ +
+

+ git-annex is watching over your files in #{reldir} +

+ It will automatically notice changes, and keep files in sync between # + $if notenough + repositories on your devices ... +

+ But no other repositories are set up yet. + Add another repository + $else + $if barelyenough + #{numrepos} + $else + #{numrepos} + \ repositories and devices: + + + $forall (num, name) <- remotelist + +
+ #{num} + + #{name} + Add another repository +

+ Or just sit back, watch the magic, and get on with using your files. diff --git a/templates/dashboard.hamlet b/templates/dashboard.hamlet deleted file mode 100644 index 7bcfce962..000000000 --- a/templates/dashboard.hamlet +++ /dev/null @@ -1,10 +0,0 @@ -^{content} -$if warnNoScript -

-
-
- Javascript is disabled; cannot update in real-time. -
- Auto-refresh every 3 seconds # - Manually refresh diff --git a/templates/dashboard/main.hamlet b/templates/dashboard/main.hamlet new file mode 100644 index 000000000..7bcfce962 --- /dev/null +++ b/templates/dashboard/main.hamlet @@ -0,0 +1,10 @@ +^{content} +$if warnNoScript +