-
Notifications
You must be signed in to change notification settings - Fork 91
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
7f30152
commit 6db13b5
Showing
9 changed files
with
140 additions
and
37 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
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,7 @@ | ||
<h1>Download</h1> | ||
|
||
<p>Download a zip file containing the template's files:</p> | ||
|
||
<p><a href="{{{base}}}/download-zip">Download (.zip)</a></p> | ||
|
||
<p>You can unzip the contents of this file and place it in your <code>Templates</code> folder to edit the template using your favorite text editor.</p> |
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 +1,101 @@ | ||
Hey | ||
<h1>Templates</h1> | ||
|
||
<div class="template-grid"> | ||
|
||
{{#currentTemplate}} | ||
{{> template-grid-link}} | ||
{{/currentTemplate}} | ||
|
||
{{#yourTemplates}} | ||
{{> template-grid-link}} | ||
{{/yourTemplates}} | ||
|
||
{{#blotTemplates}} | ||
{{> template-grid-link}} | ||
{{/blotTemplates}} | ||
</div> | ||
|
||
<style> | ||
|
||
.template-grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); | ||
gap: 20px; | ||
} | ||
|
||
#drop-area { | ||
max-width: 600px; | ||
border: 1px dashed #aaa; | ||
min-height: 100px; | ||
border-radius: 12px; | ||
padding:36px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
margin-bottom: 20px; | ||
} | ||
|
||
#drop-area .placeholder { | ||
text-align: center; | ||
color: #888; | ||
} | ||
|
||
#drop-area.highlight { | ||
background-color: #eee; | ||
border-color: blue; | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
#file-list { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
#file-list li { | ||
margin: 5px 0; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
color: #888; | ||
} | ||
|
||
#drop-area .hidden { | ||
display: none; | ||
} | ||
|
||
#file-list li button { | ||
margin-left: 10px; | ||
background-color: red; | ||
color: white; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
padding: 0.2rem 0.5rem; | ||
} | ||
|
||
.btn { | ||
margin-top: 1rem; | ||
padding: 0.5rem 1rem; | ||
background-color: blue; | ||
color: white; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.btn:disabled { | ||
background-color: grey; | ||
cursor: not-allowed; | ||
} | ||
|
||
input[type="text"] { | ||
width: 100%; | ||
padding: 0.5rem; | ||
margin: 0.5rem 0; | ||
} | ||
</style> | ||
|
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 was deleted.
Oops, something went wrong.
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