-
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 branch 'development' of https://github.com/nfoert/cardie into d…
…evelopment
- Loading branch information
Showing
29 changed files
with
570 additions
and
383 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Ruff | ||
on: [ push, pull_request ] | ||
jobs: | ||
ruff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: chartboost/ruff-action@v1 | ||
with: | ||
path: './cardie' |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
cardie/db.sqlite3 | ||
__pycache__ | ||
django.log | ||
.env | ||
.env | ||
.ruff_cache |
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,5 @@ | ||
{ | ||
"recommendations": [ | ||
"charliermarsh.ruff" | ||
] | ||
} |
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,3 +1,2 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
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,3 +1,2 @@ | ||
from django.test import TestCase | ||
|
||
# Create your tests here. |
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
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 |
---|---|---|
|
@@ -2,34 +2,37 @@ | |
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% block head_scripts %}{% endblock head_scripts %} | ||
|
||
{% block head_scripts %} | ||
{% endblock head_scripts %} | ||
<script src="https://unpkg.com/@phosphor-icons/web"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script> | ||
|
||
<link rel="stylesheet" type="text/css" href="{% static '/main/variables.css' %}"> | ||
<script defer | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script> | ||
<link rel="stylesheet" | ||
type="text/css" | ||
href="{% static '/main/variables.css' %}"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/main/ui.css' %}"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/main/footer.css' %}"> | ||
<link rel="stylesheet" | ||
type="text/css" | ||
href="{% static '/main/footer.css' %}"> | ||
{% block stylesheets %}{% endblock %} | ||
|
||
<link rel="shortcut icon" type="image/png" href="{% static '/main/images/favicon_light.ico' %}"/> | ||
|
||
<link rel="shortcut icon" | ||
type="image/png" | ||
href="{% static '/main/images/favicon_light.ico' %}" /> | ||
<meta name="darkreader-lock"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script src="{% url "config_js" %}"></script> | ||
<title>Cardie | {% block head_title %}{% endblock %}</title> | ||
<title>Cardie | | ||
{% block head_title %}{% endblock %} | ||
</title> | ||
</head> | ||
|
||
<body> | ||
{% block body %}{% endblock %} | ||
{% include "footer.html" %} | ||
|
||
<script> | ||
var server_ip = "{{ server.ip }}"; | ||
var production = "{{ server.production }}"; | ||
var username = "{{ username }}" | ||
</script> | ||
|
||
<script src="{% static '/main/scripts/global/favicon.js' %}"></script> | ||
<script src="{% static '/main/scripts/global/logging.js' %}"></script> | ||
{% block scripts %}{% endblock %} | ||
|
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> |
Oops, something went wrong.