Skip to content

Commit

Permalink
Implement Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiebig committed Nov 15, 2024
1 parent e578759 commit 3a7192d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 74 deletions.
73 changes: 2 additions & 71 deletions concept/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,7 @@ <h1>Notification Management <span class="image right"><img src="../images/gemati
<li><a href="#_registrierung_einer_epa_fdv_instanz">Registrierung einer ePA-FdV-Instanz <span class="image"><img src="https://img.shields.io/badge/Status-In_Review-orange" alt="Status In Review orange"></span></a></li>
<li><a href="#_deregistrierung_einer_fdv_instanz">Deregistrierung einer FdV-Instanz <span class="image"><img src="https://img.shields.io/badge/Status-Draft-red" alt="Status Draft red"></span></a></li>
<li><a href="#_liste_aktuelle_pushers_enthalten">Liste aktuelle Pushers enthalten <span class="image"><img src="https://img.shields.io/badge/Status-Draft-red" alt="Status Draft red"></span></a></li>
<li><a href="#_versenden_von_push_notifications">Versenden von Push-Notifications <span class="image"><img src="https://img.shields.io/badge/Status-Draft-red" alt="Status Draft red"></span></a>
<ul class="sectlevel3">
<li><a href="#_versenden_aus_push_gateway_sicht">Versenden aus Push Gateway Sicht <span class="image"><img src="https://img.shields.io/badge/Status-Work_In_Progress-red" alt="Status Work In Progress red"></span></a></li>
</ul>
</li>
<li><a href="#_versenden_von_push_notifications">Versenden von Push-Notifications <span class="image"><img src="https://img.shields.io/badge/Status-Draft-red" alt="Status Draft red"></span></a></li>
</ul>
</li>
<li><a href="#_beispiele">Beispiele <span class="image"><img src="https://img.shields.io/badge/Status-Draft-red" alt="Status Draft red"></span></a>
Expand Down Expand Up @@ -739,71 +735,6 @@ <h3 id="_versenden_von_push_notifications">Versenden von Push-Notifications <spa
</li>
</ol>
</div>
<div class="sect3">
<h4 id="_versenden_aus_push_gateway_sicht">Versenden aus Push Gateway Sicht <span class="image"><img src="https://img.shields.io/badge/Status-Work_In_Progress-red" alt="Status Work In Progress red"></span></h4>
<div class="sect4">
<h5 id="_apple">Apple</h5>
<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 33.3333%;">
<col style="width: 33.3333%;">
<col style="width: 33.3334%;">
</colgroup>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">HTTP-Header</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Wert</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Beschreibung</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>:method</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>POST</code></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>:path</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>/3/device/<strong>&lt;device_token&gt;</strong></code></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">authorization</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code><strong>&lt;provider_token&gt;</strong></code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Required for token-based authentication</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-push-type</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>alert</code></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-id</p></td>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-expiration</p></td>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-priority</p></td>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-topic</p></td>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apns-collapse-id</p></td>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -924,7 +855,7 @@ <h5 id="_out">OUT</h5>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-11-15 11:21:38 +0100
Last updated 2024-11-15 11:34:56 +0100
</div>
</div>
</body>
Expand Down
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

window.addEventListener('load', function() {
if (window.location.hash && window.location.hash.length > 2) {
var hash = window.location.hash.substring(2).replace('%23', '#');
var hash = window.location.hash.substring(1).replace('%23', '#');
document.getElementById('content').src = hash;
var links = document.querySelectorAll('#menu a');
links.forEach(link => {
Expand All @@ -82,6 +82,9 @@
let path = this.location.pathname + this.location.hash
// escape # from path
path = path.replace('#', '%23');
rootPath = window.location.pathname;
rootPath = rootPath.replace('index.html', '');
path = path.replace(rootPath, '');

if (window.location.hash.substring(1) != path) {
window.location.replace("#" + path);
Expand All @@ -90,8 +93,8 @@
});

window.addEventListener('hashchange', function() {
if (window.location.hash && window.location.hash.length > 2) {
var hash = window.location.hash.substring(2).replace('%23', '#');
if (window.location.hash && window.location.hash.length > 1) {
var hash = window.location.hash.substring(1).replace('%23', '#');
document.getElementById('content').src = hash;
var links = document.querySelectorAll('#menu a');
links.forEach(link => {
Expand Down

0 comments on commit 3a7192d

Please sign in to comment.