Skip to content

Commit

Permalink
canhas.report projects in the top bar (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze authored May 2, 2024
2 parents bc1e7c3 + d489f80 commit a1a5cfb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions site/app/Www/Presenters/templates/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
<a n:href="brightFuture!" title="{_messages.label.mode.light}" id="theme-light" class="tools"><small>{icon sun}</small></a>
{if !isset($headerLinks) || $headerLinks !== false}
<a n:foreach="$localeLinks as $localeLink" href="{$localeLink->getUrl()}" lang="{$localeLink->getLanguageCode()}" class="tools"><small>{icon flag} {$localeLink->getLanguageName()}</small></a>
<a n:href=":UpcKeys:Homepage:" title="{_messages.label.upckeys}"><small>{icon wifi} {_messages.label.upckeys}</small></a>
<a n:href=":Pulse:PasswordsStorages:" title="{_messages.label.pulse.passwordstorages}"><small>{icon key} {_messages.label.pulse.passwordstorages}</small></a>
<a n:href=":Www:Projects:" title="{_messages.label.otherprojects}" id="other-projects"><small>{icon dots-horizontal} {_messages.label.otherprojects}</small></a>
<a href="https://canhas.report/" title="{_messages.label.reportingApiDemos}"><small>{icon bulb} {_messages.label.reportingApiDemos}</small></a>
<a n:href=":Pulse:PasswordsStorages:" title="{_messages.label.pulse.passwordstorages}"><small>{icon key} {_messages.label.pulse.passwordstorages}</small></a>
{/if}
</div>
{ifset #footerScripts}{include #footerScripts}{/ifset}
Expand Down
7 changes: 5 additions & 2 deletions site/app/Www/Presenters/templates/Projects/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
<p>Další mé projekty:</p>

<h2><a n:href=":Pulse:PasswordsStorages:" title="{_messages.label.pulse.passwordstorages}">{icon key} {_messages.label.pulse.passwordstorages}</a></h2>
<p class="indent">{_messages.projects.pulse.passwordstorages}</p>
<p class="indent">{_messages.projects.pulse.passwordstorages|format}</p>

<h2><a href="https://canhas.report/" title="{_messages.label.upckeys}">{icon bulb} {_messages.label.reportingApiDemos}</a></h2>
<p class="indent">{_messages.projects.reportingApiDemos|format}</p>

<h2><a n:href=":UpcKeys:Homepage:" title="{_messages.label.upckeys}">{icon wifi} {_messages.label.upckeys}</a></h2>
<p class="indent">{_messages.projects.upckeys}</p>
<p class="indent">{_messages.projects.upckeys|format}</p>
{/define}
2 changes: 2 additions & 0 deletions site/app/lang/messages.cs_CZ.neon
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ label:
upckeys: "UPC Wi-Fi hesla"
pulse:
passwordstorages: Jak ukládají hesla
reportingApiDemos: "Ukázky Reporting API"
mytrainings: Školím
myarticles: Píšu články
allarticles: Všechny články
Expand Down Expand Up @@ -362,6 +363,7 @@ projects:
pulse:
passwordstorages: "Seznam firem, které nějakým způsobem zveřejnily způsob ukládání uživatelských hesel. Projektem se snažím ostatní firmy inspirovat k bezpečnému ukládání hesel."
upckeys: "Generování výrobcem přednastavených hesel pro některé routery od UPC. Zkontrolujte si Wi-Fi a případně heslo změňte."
reportingApiDemos: "Demo, ve kterém si můžete vyzkoušet posílání reportů z prohlížeče pomocí Reporting API, dále také Content Security Policy, Permissions Policy, NEL((Network Error Logging)), Trusted Types a další reporty jako např. //crash//, //deprecation// & //intervention// reporty."
certificates:
admin:
validdays: "%count% den|%count% dny|%count% dní"
Expand Down
2 changes: 2 additions & 0 deletions site/app/lang/messages.en_US.neon
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ label:
upckeys: "UPC Wi-Fi keys"
pulse:
passwordstorages: Password storages
reportingApiDemos: "Reporting API demos"
mytrainings: My trainings
myarticles: My articles
allarticles: All articles
Expand Down Expand Up @@ -362,6 +363,7 @@ projects:
pulse:
passwordstorages: "List of companies who have disclosed how they store user passwords. I'm trying to make more companies store passwords securely."
upckeys: "Default password generator for some UPC routers. Check your Wi-Fi and change your password if needed."
reportingApiDemos: "A browser reporting demo tool to demonstrate Reporting API, Content Security Policy, Permissions Policy, NEL((Network Error Logging)), Trusted Types and some more browser reporting like the crash, deprecation & intervention reports."
certificates:
admin:
validdays: "%count% day ago|%count% days ago"
Expand Down
3 changes: 1 addition & 2 deletions site/public/www.michalspacek.cz/i/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ button:disabled { cursor: not-allowed; }
#header {
text-align: left;
margin: 0 auto;
padding: 2em 10px 1.5em 10px;
padding: 3em 10px 1.5em 10px;
max-width: 800px;
}
#header img, .widget .header img {
Expand Down Expand Up @@ -188,7 +188,6 @@ button:disabled { cursor: not-allowed; }
#header-links a.tools { background-color: rgba(0, 0, 255, 0.04); }
#header-links a:hover { background-color: rgba(0, 0, 0, 0.08); }
#header-links a.tools:hover { background-color: rgba(0, 0, 255, 0.08); }
#header-links #other-projects { display: none; }
.print { display: none; }
.single-column { padding: 0 10px 0.5em 10px; }
.with-sidebar { padding-bottom: 0.5em; }
Expand Down

0 comments on commit a1a5cfb

Please sign in to comment.