-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from ar4s/chore/djlint
chore: add djlint and reformat templates
- Loading branch information
Showing
17 changed files
with
532 additions
and
373 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"max_line_length": "180", | ||
"max_blank_lines": 1, | ||
"profile": "django" | ||
} | ||
|
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 |
---|---|---|
@@ -1,39 +1,32 @@ | ||
<div class="card_wrap"> | ||
<div class="card_card" card-align="left"> | ||
|
||
<div class="card_card_front"> | ||
<div class="card_content"> | ||
<div class="card_top"> | ||
<img class="card_top_profilepicture"> | ||
|
||
<div class="card_top_text"> | ||
<p class="card_top_text_username">username</p> | ||
<p class="card_top_text_pronouns">pronouns</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="card_items"> | ||
|
||
</div> | ||
<div class="card_items"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="card_card_back"> | ||
<div class="card_content"> | ||
<p>Back of card</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<dialog id="dialog_card_menu" class="ui_dialog_generic" x-data="{ single: false }"> | ||
<dialog id="dialog_card_menu" | ||
class="ui_dialog_generic" | ||
x-data="{ single: false }"> | ||
<div class="ui_dialog_generic_top"> | ||
<p class="ui_text_subheader_left ui_dialog_generic_top_text">All Items</p> | ||
<button class="ui_button_icon ui_dialog_generic_top_close"><i class="ph-bold ph-x-circle"></i></button> | ||
</div> | ||
|
||
<div id="dialog_card_menu_items"> | ||
|
||
<button class="ui_button_icon ui_dialog_generic_top_close"> | ||
<i class="ph-bold ph-x-circle"></i> | ||
</button> | ||
</div> | ||
</dialog> | ||
<div id="dialog_card_menu_items"></div> | ||
</dialog> |
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,25 +1,29 @@ | ||
<dialog id="dialog_print" class="ui_dialog_generic" x-data="{ single: false }"> | ||
<dialog id="dialog_print" | ||
class="ui_dialog_generic" | ||
x-data="{ single: false }"> | ||
<div class="ui_dialog_generic_top"> | ||
<p class="ui_text_subheader_left ui_dialog_generic_top_text">Print Card</p> | ||
<button class="ui_button_icon ui_dialog_generic_top_close"><i class="ph-bold ph-x-circle"></i></button> | ||
<button class="ui_button_icon ui_dialog_generic_top_close"> | ||
<i class="ph-bold ph-x-circle"></i> | ||
</button> | ||
</div> | ||
|
||
<button id="dialog_print_single" | ||
class="ui_button_small" | ||
@click="single = true" | ||
x-bind:disabled="single">Print one sided</button> | ||
<button id="dialog_print_double" | ||
class="ui_button_small" | ||
@click="single = false" | ||
x-bind:disabled="!single">Print two sided</button> | ||
|
||
<button id="dialog_print_single" | ||
class="ui_button_small" | ||
@click="single = true" | ||
x-bind:disabled="single">Print one sided</button> | ||
<button id="dialog_print_double" | ||
class="ui_button_small" | ||
@click="single = false" | ||
x-bind:disabled="!single">Print two sided</button> | ||
<div x-show="single" x-transition:enter.delay.200ms> | ||
<p class="ui_text_body">Puts a total of 4 cards on one page, fronts and backs. After you print the page you can cut and glue the two halves together.</p> | ||
</div> | ||
|
||
<div x-show="!single" x-transition:enter.delay.200ms> | ||
<p class="ui_text_body">A layout of 8 cards per two pages. Print them both and select double sided (and flip on the long edge) or print the first page, put the paper back in the printer and print the second page again.</p> | ||
<p class="ui_text_body"> | ||
A layout of 8 cards per two pages. Print them both and select double sided (and flip on the long edge) or print the first page, put the paper back in the printer and print the second page again. | ||
</p> | ||
</div> | ||
|
||
<button id="dialog_print_print" class="ui_button_large"><i class="ph-bold ph-printer"></i> Print</button> | ||
</dialog> | ||
<button id="dialog_print_print" class="ui_button_large"> | ||
<i class="ph-bold ph-printer"></i> Print | ||
</button> | ||
</dialog> |
Oops, something went wrong.