Pages fix

This commit is contained in:
Kevin Röbert 2019-09-24 18:35:33 +02:00
parent abd61783d2
commit 0b79d469ed
4 changed files with 8 additions and 7 deletions

View File

@ -47,6 +47,7 @@ pages:
script: script:
- mkdir public - mkdir public
- mv GitLabPages/* public/ - mv GitLabPages/* public/
- cp img/clearurls.svg public/clearurls.svg
artifacts: artifacts:
paths: paths:
- public - public

View File

@ -16,7 +16,7 @@
<div class="ui inverted menu"> <div class="ui inverted menu">
<div class="ui container"> <div class="ui container">
<a href="#" class="header item"> <a href="#" class="header item">
<img class="logo" src="https://gitlab.com/KevinRoebert/ClearUrls/raw/master/img/clearurls.svg"> <img class="logo" src="clearurls.svg">
ClearURLs ClearURLs
</a> </a>
</div> </div>

View File

@ -16,7 +16,7 @@
<div class="ui inverted menu"> <div class="ui inverted menu">
<div class="ui container"> <div class="ui container">
<a href="#" class="header item"> <a href="#" class="header item">
<img class="logo" src="https://gitlab.com/KevinRoebert/ClearUrls/raw/master/img/clearurls.svg"> <img class="logo" src="clearurls.svg">
ClearURLs ClearURLs
</a> </a>
</div> </div>
@ -38,10 +38,10 @@
<div class="ui icon message" id="block_filter_test"></div> <div class="ui icon message" id="block_filter_test"></div>
<div class="ui icon message" id="issue_253_test"></div> <div class="ui icon message" id="issue_253_test"></div>
<iframe src="https://kevinroebert.gitlab.io/clearurls/void/index.html?ref=gitlab" <iframe src="https://kevinroebert.gitlab.io/ClearUrls/void/index.html?ref=gitlab"
height="0" width="0" id="void_roebert_eu_iframe"></iframe> height="0" width="0" id="void_roebert_eu_iframe"></iframe>
<iframe src="https://youtube.com/redirect?q=https%3A%2F%2Fkevinroebert.gitlab.io%2Fclearurls%2Fvoid%2Findex.html%3Fref%3Dgitlab" <iframe src="https://youtube.com/redirect?q=https%3A%2F%2Fkevinroebert.gitlab.io%2FClearUrls%2Fvoid%2Findex.html%3Fref%3Dgitlab"
height="0" width="0" id="redirect_roebert_eu_iframe"></iframe> height="0" width="0" id="redirect_roebert_eu_iframe"></iframe>
<img id="i253_roebert_eu_img" height="0" width="0"/> <img id="i253_roebert_eu_img" height="0" width="0"/>

View File

@ -27,7 +27,7 @@ function checkRule() {
let segment = $('#rules_filter_test'); let segment = $('#rules_filter_test');
if(resURL === 'https://kevinroebert.gitlab.io/clearurls/void/index.html') { if(resURL === 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html') {
segment.addClass('positive'); segment.addClass('positive');
segment.append('<i class="large smile outline icon"></i>'); segment.append('<i class="large smile outline icon"></i>');
segment.append('<div class="content"><p>The tracking filter function of ClearURLs works correctly.</p></div>'); segment.append('<div class="content"><p>The tracking filter function of ClearURLs works correctly.</p></div>');
@ -49,7 +49,7 @@ function checkRedirection() {
let segment = $('#redirection_filter_test'); let segment = $('#redirection_filter_test');
if(resURL === 'https://kevinroebert.gitlab.io/clearurls/void/index.html') { if(resURL === 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html') {
segment.addClass('positive'); segment.addClass('positive');
segment.append('<i class="large smile outline icon"></i>'); segment.append('<i class="large smile outline icon"></i>');
segment.append('<div class="content"><p>The redirection function of ClearURLs works correctly.</p></div>'); segment.append('<div class="content"><p>The redirection function of ClearURLs works correctly.</p></div>');
@ -94,7 +94,7 @@ function checkIssue253() {
segment.append('<i class="large smile outline icon"></i>'); segment.append('<i class="large smile outline icon"></i>');
segment.append('<div class="content"><p>Your ClearURLs version is not vulnerable to the problem from Issue 253.</p></div>'); segment.append('<div class="content"><p>Your ClearURLs version is not vulnerable to the problem from Issue 253.</p></div>');
}) })
.attr("src", 'https://www.google.com/url?rct=j&url=https%3A%2F%2Fkevinroebert.gitlab.io%2Fclearurls%2Fi253.html'); .attr("src", 'https://www.google.com/url?rct=j&url=https%3A%2F%2Fkevinroebert.gitlab.io%2FClearUrls%2Fi253.html');
} }
$(window).on('load', function () { $(window).on('load', function () {