Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abc3cf5
commit 03e269d
Showing
13 changed files
with
90 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,26 @@ | ||
{{> status-line}} | ||
|
||
{{#error}} | ||
<p class="box red" style="width:120%"> ... </p> | ||
{{/error}} | ||
|
||
<div style="border:1px solid rgba(0,0,0,0.1);border-radius: 4px;margin:20px 0"> | ||
<div class="line" > | ||
<span class="label">Repository URL</span> | ||
<span class="label">URL</span> | ||
<span class="center">https://{{host}}/clients/git/end/{{blog.handle}}.git</span> | ||
</div> | ||
|
||
<div class="line" > | ||
<span class="label">Repository username</span> | ||
<span class="label">Username</span> | ||
<span class="center">{{user.email}}</span> | ||
</div> | ||
|
||
<div class="line" > | ||
<span class="label">Repository password</span> | ||
<span class="label">Password</span> | ||
<span class="center">{{token}}</span> | ||
<span class="right"> <form method="post" action="{{{base}}}/refresh-token"> | ||
<input type="hidden" name="_csrf" value="{{csrftoken}}"> | ||
<input type="submit" style="margin-top:11px" value="Refresh token"> | ||
</form> | ||
</span> | ||
<a style="margin-left: 1rem" class="link" href="{{{base}}}/reset-password">Reset password</a> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<a class="line" href="{{{base}}}/disconnect"> | ||
<span class="label">Disconnect</span> | ||
<span class="link">Disconnect your folder from Git</span> | ||
<span class="link">Disconnect your folder</span> | ||
</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<form method="post" action="{{{base}}}/refresh-token"> | ||
<input type="hidden" name="_csrf" value="{{csrftoken}}"> | ||
<input type="submit" style="margin-top:11px" value="Reset password"> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<form method='post' class="account" > | ||
|
||
<p>If you disconnect your folder from <strong>Local folder</strong>, your blog will remain as it is now until you reconnect your folder to another service or tool.</p> | ||
|
||
<input type="hidden" name="_csrf" value="{{csrftoken}}"> | ||
|
||
<div class="buttons"> | ||
<input class="button" type="submit" value="Disconnect from Local folder" /> | ||
<a href="{{{base}}}">Cancel</a> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
{{> status-line}} | ||
<div class="line" > | ||
<span class="label">Location</span> | ||
<span class="center">{{blog.id}}</span> | ||
</div> | ||
<div class="line" > | ||
|
||
<a class="line" href="{{{base}}}/disconnect"> | ||
<span class="label">Disconnect</span> | ||
<span class="link"><form method="POST" action="{{{base}}}/disconnect"> | ||
<input type="submit" value="Disconnect"> | ||
</form> </span> | ||
</div> | ||
<span class="link">Disconnect your folder</span> | ||
</a> | ||
|
||
<br><br> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
<form method='post' class="account"> | ||
|
||
{{#setup}} | ||
<input type="hidden" name="setup" value="true"> | ||
{{/setup}} | ||
|
||
<input type="hidden" name="_csrf" value="{{csrftoken}}"> | ||
|
||
<div style="padding: 11px 20px;margin:0 0;max-width: 500px"> | ||
{{#client}} | ||
<p>The folder for <b>{{blog.title}}</b> is synchronized by <b>{{display_name}}</b>. If you would like to switch to another client, you can do so without disruption. Blot will transfer the contents of your folder automatically. | ||
<p>The folder for <b>{{blog.title}}</b> is synchronized from <b>{{display_name}}</b>. If you would like to switch to another client, you can do so without disruption. Blot will transfer the contents of your folder automatically. | ||
</p> | ||
|
||
<hr> | ||
|
||
{{/client}} | ||
|
||
<p style="margin:0 0 2rem;max-width:475px">How would you like to sync the folder for <b>{{blog.title}}</b>? You can switch from one method to another at any point.</p> | ||
|
||
<p>How would you like to sync the folder for <b>{{blog.title}}</b>? </p> | ||
</div> | ||
<!-- <label>Clients</label> --> | ||
|
||
<style type="text/css"> | ||
.client-select {max-width:475px;margin-bottom: 0;padding: 10px 0;/*border-top:1px solid rgba(0,0,0,0.05);*/} | ||
.client-select:hover {background: rgba(0,0,0,0.03);cursor: pointer;} | ||
|
||
button[name="client"] {max-width:475px;margin-bottom: 0;padding: 10px 0;border-top:1px solid rgba(0,0,0,0.05);text-align: left;display: block;width: 100%;color:#0070e8;padding: 11px 20px;} | ||
button[name="client"] b { | ||
display: block; | ||
} | ||
button[name="client"]:after { | ||
content: "→"; | ||
float: right; | ||
} | ||
button[name="client"]:hover {background: rgba(0,0,0,0.03);cursor: pointer;} | ||
</style> | ||
|
||
{{#clients}} | ||
|
||
<label class="client-select" style="line-height: 1.5;padding-left:2.5rem;text-transform:none;font-size:inherit;letter-spacing:inherit"> | ||
<input type="radio" name="client" style="float:left;margin: 0.3em 0 0 -1.75rem" value="{{name}}" {{checked}}> <b>{{display_name}}</b><br>{{description}}</label> | ||
<form method='post' style="padding:0 20px;max-width: 500px"> | ||
|
||
{{#setup}} | ||
<input type="hidden" name="setup" value="true"> | ||
{{/setup}} | ||
|
||
<input type="hidden" name="_csrf" value="{{csrftoken}}"> | ||
|
||
<button type="submit" name="client" value="{{name}}"> | ||
{{display_name}} | ||
</button> | ||
|
||
</form> | ||
{{/clients}} | ||
|
||
|
||
<div class="buttons"> | ||
<input class="button" type="submit" name="" value="Select this client"> | ||
<div class="buttons" style="padding: 0 20px"> | ||
{{#setup}} | ||
<a href="{{{base}}}">Set up later</a> | ||
{{/setup}} | ||
{{^setup}} | ||
<a href="{{{base}}}">Cancel</a> | ||
{{/setup}} | ||
</div> | ||
|
||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters