progress
This commit is contained in:
@@ -12,7 +12,7 @@ login_manager.login_message = 'Please log in to access this page.'
|
|||||||
login_manager.login_message_category = 'warning'
|
login_manager.login_message_category = 'warning'
|
||||||
|
|
||||||
def create_app(config_name='default'):
|
def create_app(config_name='default'):
|
||||||
app = Flask(__name__)
|
app = Flask(__name__, static_folder='static', static_url_path='/static')
|
||||||
app.config.from_object(config[config_name])
|
app.config.from_object(config[config_name])
|
||||||
|
|
||||||
# Initialize extensions
|
# Initialize extensions
|
||||||
|
|||||||
BIN
app/static/cluttered.png
Normal file
BIN
app/static/cluttered.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 435 KiB |
BIN
app/static/organized.png
Normal file
BIN
app/static/organized.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 460 KiB |
@@ -1,12 +1,14 @@
|
|||||||
<div class="destination-folders-section mb-8 fade-in-htmx" id="destination-folders">
|
<div class="destination-folders-section mb-8 fade-in-htmx" id="destination-folders">
|
||||||
<div class="section-header bg-base-200 p-4 rounded-t-lg border-b border-base-300">
|
<div class="section-header bg-base-200 p-4 rounded-t-lg border-b border-base-300">
|
||||||
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
|
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
|
||||||
<div>
|
<div class="flex flex-col md:flex-row md:items-start md:space-y-0 md:space-x-4">
|
||||||
<h2 class="text-2xl font-bold text-base-content">
|
<img src="/static/organized.png" class="w-16 h-16 object-contain flex-shrink-0" alt="Organized emails" />
|
||||||
|
<div>
|
||||||
<i class="fas fa-archive mr-3"></i>
|
<h2 class="text-2xl font-bold text-base-content">
|
||||||
Destination Folders</h2>
|
Destination Folders
|
||||||
<p class="text-base-content/70 mt-1">Folders where emails are organized and stored</p>
|
</h2>
|
||||||
|
<p class="text-base-content/70 mt-1">Folders where emails are organized and stored</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-loading-states>
|
<div data-loading-states>
|
||||||
<button class="btn btn-primary" hx-get="/api/folders/new" hx-target="#modal-holder" hx-swap="innerHTML"
|
<button class="btn btn-primary" hx-get="/api/folders/new" hx-target="#modal-holder" hx-swap="innerHTML"
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
<div class="folders-to-tidy-section mb-8 " id="folders-to-tidy">
|
<div class="folders-to-tidy-section mb-8 " id="folders-to-tidy">
|
||||||
<div class="section-header bg-base-200 p-4 rounded-t-lg border-b border-base-300 fade-in-htmx" >
|
<div class="section-header bg-base-200 p-4 rounded-t-lg border-b border-base-300 fade-in-htmx" >
|
||||||
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
|
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
|
||||||
<div>
|
<div class="flex flex-col md:flex-row md:items-start md:space-y-0 md:space-x-4">
|
||||||
<h2 class="text-2xl font-bold text-base-content flex items-center">
|
<img src="/static/cluttered.png" class="w-16 h-16 object-contain flex-shrink-0" alt="Cluttered emails" />
|
||||||
<i class="fas fa-folder-open mr-3"></i>
|
<div>
|
||||||
Emails to organize
|
<h2 class="text-2xl font-bold text-base-content">
|
||||||
</h2>
|
Emails to organize
|
||||||
<p class="text-base-content/70 mt-1">
|
</h2>
|
||||||
Folders that need a little Marie Kondo
|
<p class="text-base-content/70 mt-1">
|
||||||
</p>
|
Folders that need a little Marie Kondo
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user