added hidden

This commit is contained in:
Xevion
2019-06-29 22:50:58 -05:00
parent 65d011720c
commit 817b17d08c
11 changed files with 37 additions and 3 deletions

3
.gitignore vendored
View File

@@ -2,4 +2,5 @@ key
/app.db
/key
/migrations/*
/venv/*
/venv/*
/app/hidden.py

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -15,4 +15,4 @@ login.login_view = 'login'
db = SQLAlchemy(app)
migrate = Migrate(app, db)
from app import routes, models
from app import routes, models, hidden

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -1,6 +1,7 @@
from app import app
from app.models import User
from app.forms import LoginForm
from app.hidden import trap
from werkzeug.urls import url_parse
from flask import render_template, redirect, url_for, flash, request, jsonify
from flask_login import current_user, login_user, logout_user, login_required
@@ -14,7 +15,6 @@ fake = faker.Faker()
def strgen(length): return ''.join(
random.choices(list(string.ascii_letters), k=length))
@app.route('/dashboard')
def dashboard():
return ''

33
app/templates/hidden.html Normal file
View File

@@ -0,0 +1,33 @@
{% extends 'base.html' %}
{% block body %}
<section class="section section-padding">
<div class="container">
<div class="columns is-mobile is-multiline is-centered">
{% for image in data %}
<!-- Card Content -->
<div class="column is-5">
<div class="card">
<div class="card-header">
<div class="card-header-title">
Bruh Moment
</div>
</div>
<div class="card-image">
<figure class="image">
<img src="{{ image.url }}" alt="">
</figure>
</div>
<div class="card-content">
<div class="content word-break">
{{ image.tags }}
</div>
</div>
</div>
<!-- Card End -->
</div>
{% endfor %}
</div>
<!-- Card Column Content -->
</div>
</section>
{% endblock body %}