diff --git a/htmltests/embedpagetest.html b/htmltests/embedpagetest.html deleted file mode 100644 index 0f30d27..0000000 --- a/htmltests/embedpagetest.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - Embed - Titan Embeds for Discord - - - -
-
-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 Hello everyone!

-

3:30PM EndenDragon#69420 adfsadfsdfas

-
-
- - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/htmltests/titan frontend test.html b/htmltests/titan frontend test.html deleted file mode 100644 index bf47628..0000000 --- a/htmltests/titan frontend test.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - Index - Titan Embeds for Discord - - -
- - -
-

Embed Discord chats like a
true Titan

-

Add Titan to your discord server to create your own personalized chat embed!

- Start here! -

-
- -
-
-
- - - - - - - diff --git a/titanembeds/app.py b/titanembeds/app.py index 48de811..64ebf99 100644 --- a/titanembeds/app.py +++ b/titanembeds/app.py @@ -23,15 +23,6 @@ app.register_blueprint(blueprints.api.api, url_prefix="/api", template_folder="/ app.register_blueprint(blueprints.user.user, url_prefix="/user", template_folder="/templates") app.register_blueprint(blueprints.embed.embed, url_prefix="/embed", template_folder="/templates") -@app.route("/set_username//", methods=["GET"]) -def get_set_username(guildid, channelid): - return render_template("set_username.html") - -@app.route("/set_username//", methods=["POST"]) -def post_set_username(guildid, channelid): - session['username'] = request.form.get('username') - return redirect(url_for("embed_get", guildid=guildid, channelid=channelid)) - @app.route("/") def index(): return render_template("index.html.j2") diff --git a/titanembeds/static/css/embedstyle.css b/titanembeds/static/css/embedstyle.css index 7c25399..9b3532b 100644 --- a/titanembeds/static/css/embedstyle.css +++ b/titanembeds/static/css/embedstyle.css @@ -127,4 +127,10 @@ float: left; .modal { background-color: #546e7a; +} + +.betatag { + font-variant: small-caps; + font-size: 15px; + color: #eceff1; } \ No newline at end of file diff --git a/titanembeds/static/css/style.css b/titanembeds/static/css/style.css index cb0e82d..acf12b1 100644 --- a/titanembeds/static/css/style.css +++ b/titanembeds/static/css/style.css @@ -50,3 +50,11 @@ nav { margin-left: auto; margin-right: auto; } + +.betatag { + font-variant: small-caps; + font-size: 25px; + border-radius: 50px; + border: 2px solid #37474f; + color: #eceff1; +} \ No newline at end of file diff --git a/titanembeds/templates/embed.html b/titanembeds/templates/embed.html deleted file mode 100644 index c8c0254..0000000 --- a/titanembeds/templates/embed.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - -
- -
- -
- - - - diff --git a/titanembeds/templates/embed.html.j2 b/titanembeds/templates/embed.html.j2 index aa3330b..b8e4344 100644 --- a/titanembeds/templates/embed.html.j2 +++ b/titanembeds/templates/embed.html.j2 @@ -18,7 +18,7 @@ @@ -85,7 +85,7 @@