adapt templates to bootstrap3 layout and class changes

This commit is contained in:
Sören Brunk 2014-04-20 12:42:31 +02:00
parent c8dccf9582
commit 23091cc318
67 changed files with 191 additions and 185 deletions

View file

@ -67,7 +67,7 @@ withExpandableNote :: (Monad m, ToWidget (HandlerSite m) w) => Field m v -> (Str
withExpandableNote :: Field sub master v -> (String, GWidget sub master ()) -> Field sub master v
#endif
withExpandableNote field (toggle, note) = withNote field $ [whamlet|
<a .btn data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
<a .btn .btn-default data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
<div ##{ident} .collapse>
^{note}
|]

View file

@ -38,7 +38,7 @@ sideBarDisplay = do
bootstrapclass :: AlertClass -> Text
bootstrapclass Activity = "alert-info"
bootstrapclass Warning = "alert"
bootstrapclass Error = "alert-error"
bootstrapclass Error = "alert-danger"
bootstrapclass Success = "alert-success"
bootstrapclass Message = "alert-info"

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding a Box.com repository
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding a removable drive
<p>
@ -7,7 +7,7 @@
content will be synced with the content of this repository.
<p>
$if (null writabledrives)
<div .span6 .alert .alert-error .alert-block>
<div .col-sm-6 .alert .alert-danger .alert-block>
$if (null removabledrives)
<h4 .alert-heading>
No removable drives found
@ -27,5 +27,5 @@
^{form}
^{webAppFormAuthToken}
<button .btn .btn-primary type=submit>Use this drive</button> #
<a .btn href="@{AddDriveR}">
<a .btn .btn-default href="@{AddDriveR}">
Rescan for removable drives

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Combine repositories?
<p>
@ -7,12 +7,12 @@
<p>
Do you want to combine these files into your repository?
<p>
<a .btn onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive NoRepoKey}">
<a .btn .btn-default onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive NoRepoKey}">
<i .icon-resize-small></i> Combine the repositories #
The combined repositories will sync and share their files.
<p>
<p>
<a .btn href="@{AddDriveR}">
<a .btn .btn-default href="@{AddDriveR}">
<i .icon-resize-full></i> Go back #
Use a different directory than <tt>#{driveRepoPath drive}</tt> to #
avoid combining the repositories.

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Encrypt this drive?
<p>
@ -9,16 +9,16 @@
will also prevent you from sharing the repository with friends, or #
easily accessing its contents on another computer.
<p>
<a .btn onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive NoRepoKey}">
<a .btn .btn-default onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive NoRepoKey}">
<i .icon-minus-sign></i> Do not encrypt repository #
Anyone who has the drive can see the files stored on it.
$forall (keyid, name) <- secretkeys
<p>
<a .btn onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive (RepoKey keyid)}">
<a .btn .btn-default onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive (RepoKey keyid)}">
<i .icon-ok-sign></i> Encrypt repository #
to ^{gpgKeyDisplay keyid (Just name)}
<p>
<a .btn onclick="$('#genkeymodal').modal('show');" href="@{GenKeyForDriveR drive}">
<a .btn .btn-default onclick="$('#genkeymodal').modal('show');" href="@{GenKeyForDriveR drive}">
<i .icon-plus-sign></i> Encrypt repository #
with a new encryption key
^{setupDriveModal}

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding an Amazon Glacier repository
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding an Internet Archive item
<p>

View file

@ -1,13 +1,13 @@
<div .span9>
<div .col-sm-9>
^{repolist}
<div .row-fluid>
<div .span6>
<div .row>
<div .col-sm-6>
<h2>
Add more repositories
^{makeMiscRepositories}
<div .span6>
<div .col-sm-6>
<h2>
Store your data in the cloud

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding an Amazon S3 repository
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Deleting #{reldir}
<p>
@ -12,11 +12,11 @@
losing any data, if all files have been synced to them. #
No guarantees -- It's up to you to make sure before you continue.
$else
<div .alert .alert-error>
<div .alert .alert-danger>
This repository is not uploading its files to other repositories,
so you will lose data if you delete it!
$else
<div .alert .alert-error>
<div .alert .alert-danger>
This repository is not syncing to other git repositories, #
so you will lose data if you delete it!
<p>
@ -30,5 +30,5 @@
<div .form-actions>
<button .btn .btn-danger type=submit>
<i .icon-warning-sign></i> Delete this repository #
<a .btn href="@{DashboardR}">
<a .btn .btn-default href="@{DashboardR}">
Cancel

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Repository deleted
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Delete repository #
<small>

View file

@ -1,4 +1,5 @@
<div .span9 .hero-unit>
<div .col-sm-9>
<div .jumbotron>
<h2>
Disconnecting from Jabber
<p>
@ -7,4 +8,5 @@
using Jabber.
<p>
<a .btn .btn-primary href="@{DisconnectXMPPR}">
<i .icon-minus></i> Disconnect
<span .glyphicon .glyphicon-minus>
\ Disconnect

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Just a git repository
<p>
@ -10,7 +10,7 @@
upgrade this repository to a full git annex, which will store the
contents of your files, not only their metadata.
<p>
<a .btn href="@{UpgradeRepositoryR r}">
<a .btn .btn-default href="@{UpgradeRepositoryR r}">
Upgrade Repository
<h2>
Repository information

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
$if new
Setup complete
@ -23,7 +23,7 @@
<div .form-actions>
<button .btn .btn-primary type=submit>
Save Changes #
<a .btn href="@{DashboardR}">
<a .btn .btn-default href="@{DashboardR}">
Cancel #
$if new
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>

View file

@ -1,10 +1,10 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>
Where is this repository located?
<p>
<a .btn href="@{AddDriveR}">
<a .btn .btn-default href="@{AddDriveR}">
On a removable drive
<a .btn href="@{DashboardR}">
Cancel

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Consistency checks
<p>

View file

@ -1,6 +1,6 @@
#{msg}
<p>
<div .input-prepend .input-append>
<div .input-group>
Check ^{fvInput reposView} for #
^{fvInput durationView} minutes #
^{fvInput recurranceView} #
@ -9,7 +9,7 @@
<button type=submit .btn .btn-primary>
Add
$else
<button type=submit .btn>
<button type=submit .btn .btn-default>
Save
<a .btn href="@{RemoveActivityR u activity}">
<a .btn .btn-default href="@{RemoveActivityR u activity}">
Remove

View file

@ -1,34 +1,34 @@
<div .span9>
<div .row-fluid>
<div .span4>
<div .col-sm-9>
<div .row>
<div .col-sm-4>
<h3>
<a href="@{AddRepositoryR}">
Repositories
<p>
Configure the repositories that git-annex syncs with.
<div .span4>
<div .col-sm-4>
<h3>
<a href="@{PreferencesR}">
Preferences
<p>
Tune the behavior of git-annex, including how many copies #
to retain of each file, and how much disk space it can use.
<div .row-fluid>
<div .span4>
<div .row>
<div .col-sm-4>
<h3>
<a href="@{ConfigFsckR}">
Consistency checks
<p>
Set up periodic checks of your data to detect and recover from #
disk problems.
<div .span4>
<div .col-sm-4>
<h3>
<a href="@{ConfigUnusedR}">
Unused files
<p>
Configure what to do with old and deleted files.
<div .row-fluid>
<div .span4>
<div .row>
<div .col-sm-4>
<h3>
<a href="@{XMPPConfigR}">
Jabber account

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
<i .icon-signal></i> Connection needed
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Need git-remote-gcrypt
<p>
@ -6,5 +6,5 @@
<a href="https://github.com/joeyh/git-remote-gcrypt">
git-remote-gcrypt
<p>
<a .btn .btn-primary .btn-large href="">
<a .btn .btn-primary .btn-lg href="">
Retry

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Need glacier-cli
<p>
@ -6,5 +6,5 @@
<a href="https://github.com/basak/glacier-cli">
glacier-cli
<p>
<a .btn .btn-primary .btn-large href="">
<a .btn .btn-primary .btn-lg href="">
Retry

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Add another local repository
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Combine repositories?
<p>
@ -6,12 +6,12 @@
<br>
Do you want to combine it with your existing repository at #{mainrepo}?
<p>
<a .btn href="@{CombineRepositoryR newrepopath newrepouuid}">
<a .btn .btn-default href="@{CombineRepositoryR newrepopath newrepouuid}">
<i .icon-resize-small></i> Combine the repositories #
The combined repositories will sync and share their files.
<p>
-or-
<p>
<a .btn href="@{SwitchToRepositoryR newrepopath}">
<a .btn .btn-default href="@{SwitchToRepositoryR newrepopath}">
<i .icon-resize-full></i> Keep the repositories separate #
Files placed in one will not be synced to the other.

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Welcome to git-annex!
<p>
@ -7,7 +7,7 @@
<p>
Do you only want to share photos and videos you take?
<p>
<a .btn .btn-primary .btn-large href="@{AndroidCameraRepositoryR}">
<a .btn .btn-primary .btn-lg href="@{AndroidCameraRepositoryR}">
<i .icon-camera></i> Make Camera Repository
<p>
$if androidspecial

View file

@ -1,11 +1,11 @@
#{msg}
<p>
<div .input-prepend .input-append>
<span .add-on>
<div .input-group>
<span .input-group-addon>
<i .icon-folder-open></i>
^{fvInput pathView}
<button type=submit .btn .btn-primary>
Make Repository
$if err
<div .alert .alert-error>
<div .alert .alert-danger>
#{errmsg}

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
not supported
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Pairing in progress ..
$if T.null secret

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Pairing with a local computer
<p>
@ -23,7 +23,7 @@
to enter here to finish the pairing. If you don't know the #
phrase, go ask #{username} ...
$if badphrase
<div .alert .alert-error>
<div .alert .alert-danger>
<i .icon-warning-sign></i> #{problem}
<p>
<form method="post" .form-horizontal enctype=#{enctype}>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
$if inprogress
<h2>
Pair request sent ...

View file

@ -1,11 +1,11 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Pair request received from #{name}
<p>
Pairing with #{name} will combine your two git annex #
repositories into one, allowing you to share files.
<p>
<a .btn .btn-primary .btn-large href="@{FinishXMPPPairFriendR pairkey}">
<a .btn .btn-primary .btn-lg href="@{FinishXMPPPairFriendR pairkey}">
Accept pair request
<a .btn .btn-large href="@{DashboardR}">
<a .btn .btn-default .btn-lg href="@{DashboardR}">
No thanks

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Share with a friend
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Sharing with your other devices
<p>
@ -14,7 +14,7 @@
repositories configured to use the same Jabber account will be #
combined together when you do this.
<p>
<a .btn .btn-primary .btn-large href="@{RunningXMPPPairSelfR}">
<a .btn .btn-primary .btn-lg href="@{RunningXMPPPairSelfR}">
Start sharing with my other devices #
<a .btn .btn-large href="@{DashboardR}">
<a .btn .btn-default .btn-lg href="@{DashboardR}">
Cancel

View file

@ -1,11 +1,11 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Unable to get in touch with any other devices.
<p>
Make sure your other devices are online and configured to use #
your Jabber account before continuing.
<p>
<a .btn .btn-primary .btn-large href="@{RunningXMPPPairSelfR}">
<a .btn .btn-primary .btn-lg href="@{RunningXMPPPairSelfR}">
Start sharing with my other devices #
<a .btn .btn-large href="@{DashboardR}">
<a .btn .btn-default .btn-lg href="@{DashboardR}">
Cancel

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Preferences
<p>
@ -9,5 +9,5 @@
<div .form-actions>
<button .btn .btn-primary type=submit>
Save Preferences
<a .btn href="@{ConfigurationR}">
<a .btn .btn-default href="@{ConfigurationR}">
Cancel

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding a Rsync.net repository
<p>
@ -16,7 +16,7 @@
<p>
$case status
$of UnusableServer msg
<div .alert .alert-error>
<div .alert .alert-danger>
<i .icon-warning-sign></i> #{msg}
$of _
<div>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Ready to use rsync.net
<p>
@ -11,7 +11,7 @@
files stored on rsync.net. That makes it good for sharing. #
And it's easy to set up and use.
<p>
<a .btn href="@{MakeRsyncNetSharedR sshdata}" onclick="$('#setupmodal').modal('show');">
<a .btn .btn-default href="@{MakeRsyncNetSharedR sshdata}" onclick="$('#setupmodal').modal('show');">
<i .icon-lock></i> Use shared encryption
<p style="text-align: center">
-or-
@ -26,11 +26,11 @@
<p>
$forall (keyid, name) <- secretkeys
<p>
<a .btn href="@{MakeRsyncNetGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');">
<a .btn .btn-default href="@{MakeRsyncNetGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');">
<i .icon-lock></i> Encrypt repository #
to ^{gpgKeyDisplay keyid (Just name)}
<p>
<a .btn href="@{MakeRsyncNetGCryptR sshdata NoRepoKey}" onclick="$('#genkeymodal').modal('show');">
<a .btn .btn-default href="@{MakeRsyncNetGCryptR sshdata NoRepoKey}" onclick="$('#genkeymodal').modal('show');">
<i .icon-plus-sign></i> Encrypt repository #
with a new encryption key
^{genKeyModal}

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Adding a remote server using ssh
<p>
@ -9,7 +9,7 @@
<p>
$case status
$of UnusableServer msg
<div .alert .alert-error>
<div .alert .alert-danger>
<i .icon-warning-sign></i> #{msg}
$of _
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Combine repositories?
<p>
@ -7,12 +7,12 @@
<p>
Do you want to merge this repository's contents into your repository?
<p>
<a .btn onclick="$('#setupmodal').modal('show');" href="@{CombineSshR sshdata}">
<a .btn .btn-default onclick="$('#setupmodal').modal('show');" href="@{CombineSshR sshdata}">
<i .icon-resize-small></i> Combine the repositories #
The combined repositories will sync and share their files.
<p>
<p>
<a .btn href="@{AddSshR}">
<a .btn .btn-default href="@{AddSshR}">
<i .icon-resize-full></i> Go back #
Use a different directory than <tt>#{sshDirectory sshdata}</tt> to #
avoid combining the repositories.

View file

@ -1,8 +1,8 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Ready to add remote server
<div .row-fluid>
<div .span9>
<div .row>
<div .col-sm-9>
$if not (hasCapability sshdata GitAnnexShellCapable)
<p>
<i .icon-warning-sign></i> #
@ -15,7 +15,7 @@
on it would make it work better, and provide more options below. #
<p>
If you're able to install software on the server, do so and click
<a .btn href="@{RetrySshR sshdata}" onclick="$('#testmodal').modal('show');">
<a .btn .btn-default href="@{RetrySshR sshdata}" onclick="$('#testmodal').modal('show');">
Retry
$else
<p>
@ -30,7 +30,7 @@
other devices to use the same server, or share the repository with #
others.
<p>
<a .btn href="@{MakeSshGitR sshdata}" onclick="$('#setupmodal').modal('show');">
<a .btn .btn-default href="@{MakeSshGitR sshdata}" onclick="$('#setupmodal').modal('show');">
Make an unencrypted git repository on the server
<p style="text-align: center">
-or-
@ -41,7 +41,7 @@
decrypt the files stored on #{sshHostName sshdata}. That makes #
it good for sharing. And it's easy to set up and use.
<p>
<a .btn href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
<a .btn .btn-default href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
<i .icon-lock></i> Use shared encryption
$if hasCapability sshdata GitCapable
<p style="text-align: center">
@ -57,7 +57,7 @@
<p>
$forall (keyid, name) <- secretkeys
<p>
<a .btn href="@{MakeSshGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');" >
<a .btn .btn-default href="@{MakeSshGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');" >
<i .icon-lock></i> Encrypt repository #
to ^{gpgKeyDisplay keyid (Just name)}
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Enabling #{description}
<p>
@ -13,7 +13,7 @@
Check this server
$case status
$of UnusableServer msg
<div .alert .alert-error>
<div .alert .alert-danger>
<i .icon-warning-sign></i> #{msg}
$of _
^{form}

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
<i .icon-warning-sign></i> Failed to make repository
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Managing unused files
<p>
@ -23,7 +23,7 @@
or in the cloud, and the unused files will be moved to it, freeing #
up space.
<br>
<a .btn href="@{AddRepositoryR}">
<a .btn .btn-default href="@{AddRepositoryR}">
<i .icon-plus></i> Add a new repository
<li>
<p>
@ -34,5 +34,5 @@
<p>
Finally, you can clean up all unused files manually at any time.
<br>
<a .btn href="@{CleanupUnusedR}">
<a .btn .btn-default href="@{CleanupUnusedR}">
<i .icon-trash></i> Clean up unused files now

View file

@ -1,6 +1,6 @@
#{msg}
<p>
<div .input-prepend .input-append>
<div .input-group>
^{fvInput enableView} after ^{fvInput whenView} days.&nbsp;
<button type=submit .btn>
<button type=submit .btn .btn-default >
Save Changes

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Upgrading git-annex
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Configuring jabber account
<p>
@ -25,7 +25,7 @@
<div .form-actions>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Use this account
<a .btn href="@{DisconnectXMPPR}">
<a .btn .btn-default href="@{DisconnectXMPPR}">
Stop using this account
<div .modal .fade #workingmodal>
<div .modal-header>

View file

@ -1,4 +1,4 @@
<div .span9 ##{ident}>
<div .col-sm-9 ##{ident}>
<table .table>
<tbody>
$if null buddies
@ -14,15 +14,15 @@
<td>
$if isself buddyid
<i .icon-star></i> #
<span :away:.muted>
<span :away:.text-muted>
your other devices
$else
<i .icon-user></i> #
<span :away:.muted>
<span :away:.text-muted>
#{name}
<td>
$if away
<span .muted>
<span .text-muted>
away
$else
$if paired
@ -31,10 +31,10 @@
$else
$if canpair
$if isself buddyid
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairSelfR}">
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairSelfR}">
Start pairing
$else
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairFriendR buddyid}">
<a .btn .btn-primary .btn-sm href="@{RunningXMPPPairFriendR buddyid}">
Start pairing
$else
not using git-annex

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Jabber not supported
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
&#9730; Configure a shared cloud repository
$maybe name <- buddyname

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<p>
Here's everything that has been logged by the git-annex assistant, #
as well as by programs it has run.

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<p>
Bye bye!
<div .modal .fade #shutdownmodal>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<p>
A #
<a href="@{ConfigFsckR}">

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<p>
Good news: Your repository has successfully been repaired!
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Switch repository
<p>

View file

@ -1,8 +1,8 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Shutdown daemon?
<p>
<a .btn .btn-danger href="@{ShutdownConfirmedR}">
<i .icon-off></i> Confirm shutdown
<a .btn href="@{DashboardR}">
<a .btn .btn-default href="@{DashboardR}">
Keep running

View file

@ -1,10 +1,9 @@
<div .span9>
<div .col-sm-9>
^{repolist}
^{transferlist}
$if warnNoScript
<noscript>
<div .navbar .navbar-fixed-bottom>
<div .navbar-inner>
<div .navbar .navbar-inverse .navbar-fixed-bottom>
<div .container>
Javascript is disabled; cannot update in real-time.
<div .btn-group>

View file

@ -3,9 +3,9 @@
$if transfersrunning
$forall (transfer, info) <- transfers
$with percent <- maybe "unknown" (showPercentage 0) $ percentComplete transfer info
<div .row-fluid>
<div .span10>
<div .row-fluid>
<div .row>
<div .col-sm-10>
<div .row>
<h3 .forcewrap>
$maybe file <- associatedFile info
#{file}
@ -27,10 +27,10 @@
<small .pull-right>paused at #{percent} of #{size}</small>
$else
<small .pull-right>queued (#{size})</small>
<div .row-fluid>
<div .row>
<div .progress .progress-striped>
<div .bar style="width: #{percent};">
<div .btn-group .span2>
<div .progress-bar style="width: #{percent};">
<div .btn-group .col-sm-2>
$if isrunning info
^{actionButton (PauseTransferR transfer) Nothing (Just "pause") "btn" "icon-pause"}
$else

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
git-annex watches over your files
<p>

View file

@ -1,4 +1,4 @@
<div .span9 .hero-unit>
<div .col-sm-9 .jumbotron>
<h2>
Repository groups
<p>

View file

@ -1,7 +1,6 @@
<div .navbar .navbar-fixed-top>
<div .navbar-inner>
<div .navbar .navbar-inverse .navbar-fixed-top>
<div .container>
<a .brand>
<a .navbar-brand>
git-annex
<ul .nav>
<li .active>
@ -17,10 +16,10 @@
<a href="http://git-annex.branchable.com/bugs/">
File a Bug
<div .container-fluid>
<div .row-fluid>
<div .span3>
<div .span6>
<div .alert .alert-error .alert-block>
<div .row>
<div .col-sm-3>
<div .col-sm-6>
<div .alert .alert-danger .alert-block>
^{content}
<hr>
git-annex version #{packageversion}

View file

@ -1,15 +1,21 @@
<div .navbar .navbar-fixed-top>
<div .navbar-inner>
<div .navbar .navbar-inverse .navbar-fixed-top role="navigation">
<div .container>
<a .brand>
<div .navbar-header>
<button type="button" .navbar-toggle data-toggle="collapse" data-target=".navbar-collapse">
<span .sr-only">Toggle navigation
<span .icon-bar>
<span .icon-bar>
<span .icon-bar>
<a .navbar-brand>
git-annex
<ul .nav>
<div .navbar-collapse .collapse>
<ul .nav .navbar-nav>
$forall (name, route, isactive) <- navbar
<li :isactive:.active>
<a href="@{route}">
#{name}
$maybe reldir <- relDir webapp
<ul .nav .pull-right>
<ul .nav .navbar-nav .navbar-right>
$if hasFileBrowser
<li>
^{actionButton FileBrowserR (Just "Files") (Just "Click to open a file browser") "" "icon-folder-open icon-white"}
@ -20,5 +26,5 @@
^{controlMenu}
$nothing
<div .container-fluid>
<div .row-fluid>
<div .row>
^{content}

View file

@ -14,7 +14,7 @@
$forall (name, repoid, currentlyconnected, actions) <- repolist
<tr .repoline ##{show repoid}>
<td .handle>
<a .btn .btn-mini .disabled>
<a .btn .btn-default .btn-xs .disabled>
<i .icon-resize-vertical></i>
&nbsp; #{name}
<td .draghide>
@ -44,10 +44,10 @@
<a href="@{setupRepoLink actions}">
enable
$else
<span .dropdown #menu-#{show repoid}>
<a .dropdown-toggle data-toggle="dropdown" href="#menu-#{show repoid}">
<div .dropdown #menu-#{show repoid}>
<a data-toggle="dropdown" data-target="#" href="#menu-#{show repoid}">
<i .icon-cog></i> actions
<b .caret></b>
<span .caret>
<ul .dropdown-menu>
<li>
<a href="@{setupRepoLink actions}">
@ -63,10 +63,10 @@
<tr>
<td colspan="3">
$if nootherrepos
<a .btn .btn-primary .btn-large href="@{AddRepositoryR}">
<a .btn .btn-primary .btn-lg href="@{AddRepositoryR}">
<i .icon-plus-sign></i> Add another repository
$else
<a .btn .btn-small href="@{AddRepositoryR}">
<a .btn .btn-default .btn-sm href="@{AddRepositoryR}">
<i .icon-plus-sign></i> Add another repository
<span>
&nbsp; Sync your files with another device, or #

View file

@ -1,3 +1,3 @@
<div .span3 ##{ident}>
<div .col-sm-3 ##{ident}>
<div .sidebar-nav>
^{content}