From 1a4c3f4418552de5e2efc514bdd18e1b6da5bc82 Mon Sep 17 00:00:00 2001 From: Teromene Date: Tue, 21 Mar 2017 20:31:10 +0000 Subject: [PATCH] Add a search bar to simplify looking for a bridge. (#494) * Add a search bar to simplify looking for a bridge. * Fix phpcs line length. * Change the phpcs config. --- formats/HtmlFormat.php | 2 +- index.php | 21 ++++++++++++++++++--- phpcs.xml | 2 +- {css => static}/HtmlFormat.css | 0 static/search.js | 27 +++++++++++++++++++++++++++ {css => static}/style.css | 33 +++++++++++++++++++++++++++++++-- 6 files changed, 78 insertions(+), 7 deletions(-) rename {css => static}/HtmlFormat.css (100%) create mode 100644 static/search.js rename {css => static}/style.css (89%) diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index 3e5e59d..2c26a0e 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -69,7 +69,7 @@ EOD; {$title} - + diff --git a/index.php b/index.php index c65917a..5a24b53 100644 --- a/index.php +++ b/index.php @@ -198,10 +198,18 @@ $formats = Format::searchInformation(); RSS-Bridge - + + + - + ·Reconnecting the Web·

{$status}

+ + EOD; $activeFoundBridgeCount = 0; @@ -231,7 +246,7 @@ EOD; } echo $inactiveBridges; ?> -
+