Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue_template.md #15

Open
wants to merge 7 commits into
base: add-streets-alt
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ log stdout
errors stdout


header / Content-Security-Policy "default-src 'self' ; media-src https://storage.theel0ja.info; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www1.theel0ja.info https://www0.theel0ja.info https://cdnjs.cloudflare.com https://cdn.theel0ja.info; style-src 'self' data: 'unsafe-inline' https://cdnjs.cloudflare.com https://getbootstrap.com https://cdn.theel0ja.info; img-src 'self' data: https://www0.theel0ja.info blob: https://cdn.rawgit.com; font-src data: ; connect-src https://sentry.io https://*.tiles.mapbox.com https://api.mapbox.com; child-src data: blob:; report-uri https://sentry.io/api/942255/csp-report/?sentry_key=87c404ea730a4a0cb596ca0caec20bbb;"
header / Content-Security-Policy "default-src 'self' ; media-src https://storage.theel0ja.info; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www1.theel0ja.info https://www0.theel0ja.info https://cdnjs.cloudflare.com https://cdn.theel0ja.info; style-src 'self' data: 'unsafe-inline' https://cdnjs.cloudflare.com https://getbootstrap.com https://cdn.theel0ja.info; img-src 'self' data: https://www0.theel0ja.info https://assets.theel0ja.info https://api.mapbox.com blob:; font-src data: ; connect-src https://sentry.io https://*.tiles.mapbox.com https://api.mapbox.com; child-src data: blob:; report-uri https://sentry.io/api/942255/csp-report/?sentry_key=87c404ea730a4a0cb596ca0caec20bbb;"
header / X-Frame-Options "DENY"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

-->

<a href="https://iplookup.theel0ja.info/?host=hel03-fi.theel0ja.info"><img src="https://storage.theel0ja.info/pub/Screen%20Shot%202018-06-07%20at%2012.12.26.png" width="640" /></a>
<a href="https://iplookup.theel0ja.info/"><img src="https://storage.theel0ja.info/pub/Screen%20Shot%202018-06-07%20at%2012.12.26.png" width="640" /></a>

## Development server
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

```bash
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: .
#image: abiosoft/caddy:php
ports:
- 172.19.5.1:30005:2015
- 37391:2015
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./src:/app/src
Expand Down
2 changes: 1 addition & 1 deletion src/add-to-flagfox.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<hr>

<a href="https://iplookup.theel0ja.info">Back to IPLookup</a>
<a href="/">Back to IPLookup</a>

</body>
</html>
18 changes: 16 additions & 2 deletions src/templates/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,21 @@
{% block content %}
<div class="card">
<div class="card-body" style="padding: 0px;" id="map-card-body">
<div id="map"></div>
<div id="map">
<noscript>
<img src="https://api.mapbox.com/styles/v1/mapbox/streets-v10/static/pin-s+3FB1CE({{lon}},{{lat}})/{{lon}},{{lat}},6.0,0,0/704x304@2x?access_token=pk.eyJ1IjoidGhlZWwwamEiLCJhIjoiY2piOW1xeTg5MGRpZTJxbm92ZDltZ3l4ZiJ9.2QVq7PY5YiaHrz1ib_oWTg"
alt="Map" class="img-fluid">
<style>
#map {
height: auto;
}
/* Hide layer chooser, if no JS */
#menu {
display: none;
}
</style>
</noscript>
</div>
<div id="menu" class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-primary active" id="streets-btn">
<input id="streets" type="radio" name="rtoggle" checked=""> Streets
Expand Down Expand Up @@ -65,7 +79,7 @@
Unknown<!-- TODO: add styles, etc. to this -->
{% endif %}
{% if asn and isp %}
(<a href="https://bgp.he.net/AS{{asn}}">AS{{asn}}</a>)
(<a href="https://bgp.he.net/AS{{asn}}" target="_blank">AS{{asn}}</a>)
{% endif %}
</td>
</tr>
Expand Down