Skip to content

Commit 715a379

Browse files
committed
Open external links in browser
1 parent f14015a commit 715a379

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#Existing accounts
2+
accounts.json
3+
14
# Poetry
25
poetry.lock
36
pyproject.toml

app/static/TheLootBox.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ input {
5050
}
5151
.flask_alert_container {
5252
pointer-events: all;
53-
position:absolute;
54-
top: 55.5%;
53+
vertical-align: top;
5554
}
5655
div.scroll {
5756
width: max-content;

app/templates/base.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
<a class="nav-link" href="/createlootbundle" tabindex="-1">Loot Bundles</a>
2727
</li>
2828
<li class="nav-item">
29-
<a class="nav-link" href="https://thelootbox.xyz/showcase" tabindex="-1">Showcase</a>
29+
<a class="nav-link" href="https://thelootbox.xyz/showcase" tabindex="-1" target="_blank">Showcase</a>
3030
</li>
3131
</ul>
32-
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
33-
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
32+
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz" target="_blank"><img src="/static/images/github.png"></a></button>
33+
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe" target="_blank"><img src="/static/images/Discord.png"></a></button>
3434
</div>
3535
</div>
3636
</nav>
3737
</header>
38-
<div class="flask_alert_container" onclick="delete_flash(this)">
38+
<div class="flask_alert_container" onclick="delete_flash(this)">
3939
{% for catagory, message in get_flashed_messages(with_categories=true) %}
4040
<div class="alert alert-{{ catagory }}">
4141
{{ message }}
@@ -58,16 +58,15 @@ <h5>Features</h5>
5858
<div class="col-6 col-md footer-img-size">
5959
<h5>Resources</h5>
6060
<ul class="list-unstyled text-small">
61-
<li><a class="link-secondary" href="https://github.com/TheLootBox-xyz">Code</a></li>
62-
<li><a class="link-secondary" href="https://discord.gg/pd4wupphDe">Community</a></li>
61+
<li><a class="link-secondary" href="https://github.com/TheLootBox-xyz" target="_blank">Code</a></li>
62+
<li><a class="link-secondary" href="https://discord.gg/pd4wupphDe" target="_blank">Community</a></li>
6363
</ul>
6464
</div>
6565
<div class="col-6 col-md">
6666
<h5>About TheLootBox</h5>
6767
<ul class="list-unstyled text-small">
68-
<li><a class="link-secondary" href="https://thelootbox.xyz/about">About</a></li>
69-
<li><a class="link-secondary" href="https://thelootbox.xyz/privacy">Privacy</a></li>
70-
<li><a class="link-secondary" href="">Contact</a></li>
68+
<li><a class="link-secondary" href="https://thelootbox.xyz/about" target="_blank">About</a></li>
69+
<li><a class="link-secondary" href="https://thelootbox.xyz/privacy" target="_blank">Privacy</a></li>
7170
</ul>
7271
</div>
7372
</div>

0 commit comments

Comments
 (0)