Skip to content

Commit

Permalink
Update Bootstrap and fix a few other things
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Apr 19, 2024
1 parent 287de97 commit b1bba02
Show file tree
Hide file tree
Showing 741 changed files with 32,376 additions and 45,553 deletions.
206 changes: 98 additions & 108 deletions docs/about/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<html lang="en">
<head>
<meta name="google-site-verification" content="HLLWtUo79tD2Q-IdJGZxpGmwygtSUjSgFsLSQYaWH9w" />
<meta charset="utf-8">
Expand Down Expand Up @@ -34,7 +34,10 @@

<link href="https://twittelection.co.uk/about/" rel="canonical">
<link rel="alternate" href="https://twittelection.co.uk/about/" hreflang="en-gb" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous">
<link rel="stylesheet" href="/css/main.css">

<script type="application/ld+json">
Expand All @@ -51,129 +54,116 @@
}
</script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">TwittElection</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li><a href="/c/">Constituencies</a></li>
<li><a href="/p/">Parties</a></li>
<li><a href="/stats/">Statistics</a></li>
<li class="active"><a href="/about/">About</a></li>
</ul>
<!-- ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Share
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li class="socials"><g:plusone annotation="inline" width="150"></g:plusone> </li>
<li class="socials"><a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></li>
<li class="socials"><div class="fb-like" data-send="false" data-width="150" data-show-faces="true"></div></li>
</ul>
</li>
</ul -->
<!-- form class="navbar-form navbar-right" role="form">
<div class="form-group">
<input type="text" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input type="password" placeholder="Password" class="form-control">
</div>
<button type="submit" class="btn btn-success">Sign in</button>
</form -->
</div><!--/.navbar-collapse -->
<div class="navbar navbar-dark bg-dark fixed-top navbar-expand-sm">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand ms-3" href="/">TwittElection</a>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav me-auto">
<li class="nav-item"><a class="nav-link" href="/">Home</a></li>
<li class="nav-item"><a class="nav-link" href="/c/">Constituencies</a></li>
<li class="nav-item"><a class="nav-link" href="/p/">Parties</a></li>
<li class="nav-item"><a class="nav-link" href="/stats/">Statistics</a></li>
<li class="nav-item" class="active" aria-current="page"><a class="nav-link" href="/about/">About</a></li>
</ul>
</div>
</div>

<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="bg-light p-5 rounded-3 mb-4">
<div class="container">
<h1>About this site</h1>
<div class="row">
<div class="col-md-8">
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#site" data-toggle="tab">Site</a></li>
<li><a href="#tech" data-toggle="tab">Tech</a></li>
<li><a href="#author" data-toggle="tab">Author</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active fade in" id="site">
<p>Since the general election in 2010, Twitter use in the UK has
expanded massively. You're no-one if you're not on Twitter.</p>
<p>With that in mind, this site gives you a simple way to track what
candidates in a general election are saying on Twitter.</p>
<p>We have created a Twitter list for each constituency. Each list is
automatically populated with the Twitter usernames of all the known
candidates in that constituency. We have a page for each constituency
which displays what the candidates are saying on Twitter.</p>
<p>If you find this site useful, please
<a href="https://twitter.com/TwittElection">let us know</a>.</p>
</div>
<div class="tab-pane fade" id="tech">
<p>This site is built using the <a href="https://dev.twitter.com/rest/public">Twitter API</a>.</p>
<p>The site was built using
<a href="https://getbootstrap.com">Bootstrap</a>,
<a href="https://jquery.com/">jQuery</a>,
<a href="https://modernizr.com/">Modernizr</a> and
<a href="https://www.initializr.com/">Initializr</a>.</p>
<p>The site is hosted on <a href="https://pages.github.com/">GitHub Pages</a>.</p>
<p>The code is written in <a href="https://perl.org/">Perl</a> (and is
available <a href="https://github.com/davorg/twittelection">on GitHub</a>).</p>
<p>The data comes from <a href="https://candidates.democracyclub.org.uk/">Democracy Club</a>. If you have
any information about candidates for the upcoming election, then please consider
sharing it there.</p>
</div>
<div class="tab-pane fade" id="author">
<p><a href="https://dave.org.uk/">Dave Cross</a> was convinced that the 2010 general
election would be dominated by Twitter. He was wrong, but now thinks that if he
makes the same prediction for every general election he'll get it right eventually.</p>
<p>He has voted in every general election since 1983 and has even been known to be
one of those annoying people who try to collect your voter number at the polling
station. On another occasion he stayed up all night trying to ensure that the
Guardian web site published results as quickly as possible.</p>
<p>He is <a href="https://twitter.com/">@davorg</a> on Twitter. And would love to
hear whether you found this site at all useful.</p>
</div>
<div class="col-sm-8">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<button class="nav-link active" id="nav-site-tab"
data-bs-toggle="tab" data-bs-target="#nav-site"
type="button" role="tab" aria-controls="nav-site"
aria-selected="true">Site</button>
<button class="nav-link" id="nav-tech-tab"
data-bs-toggle="tab" data-bs-target="#nav-tech"
type="button" role="tab" aria-controls="nav-tech"
aria-selected="false">Tech</button>
<button class="nav-link" id="nav-author-tab"
data-bs-toggle="tab" data-bs-target="#nav-author"
type="button" role="tab" aria-controls="nav-author"
aria-selected="false">Author</button>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-site"
role="tabpanel" aria-labelledby="nav-site-tab">
<p>Since the general election in 2010, Twitter use in the UK has
expanded massively. You're no-one if you're not on Twitter.</p>
<p>With that in mind, this site gives you a simple way to track what
candidates in a general election are saying on Twitter.</p>
<p>We have created a Twitter list for each constituency. Each list is
automatically populated with the Twitter usernames of all the known
candidates in that constituency. We have a page for each constituency
which displays what the candidates are saying on Twitter.</p>
<p>If you find this site useful, please
<a href="https://twitter.com/TwittElection">let us know</a>.</p>
</div>
<div class="tab-pane fade" id="nav-tech"
role="tabpanel" aria-labelledby="nav-tech-tab">
<p>The site was built using
<a href="https://getbootstrap.com">Bootstrap</a> and
<a href="https://jquery.com/">jQuery</a> (with a little help from
<a href="https://github.com/Mottie/tablesorter/">TableSorter</a>).</p>
<p>The site is hosted on <a href="https://pages.github.com/">GitHub Pages</a>.</p>
<p>The code is written in <a href="https://perl.org/">Perl</a> and is
available <a href="https://github.com/davorg/twittelection">on GitHub</a>.</p>
<p>The data comes from <a href="https://candidates.democracyclub.org.uk/">Democracy Club</a>. If you have
any information about candidates for the upcoming election, then please consider
sharing it there.</p>
</div>
<div class="tab-pane fade" id="nav-author"
role="tabpanel" aria-labelledby="nav-author-tab">
<p><a href="https://davecross.co.uk/">Dave Cross</a> was convinced that the 2010 general
election would be dominated by Twitter. He was wrong, but now thinks that if he
makes the same prediction for every general election he'll get it right eventually.</p>
<p>He has voted in every general election since 1983 and has even been known to be
one of those annoying people who try to collect your voter number at the polling
station. On another occasion he stayed up all night trying to ensure that the
Guardian web site published results as quickly as possible.</p>
<p>He is <a href="https://twitter.com/">@davorg</a> on Twitter. And would love to
hear whether you found this site at all useful.</p>
</div>
</div>
</div>
<div class="col-md-4">
<a class="twitter-timeline" href="https://twitter.com/TwittElection" data-widget-id="557981942126497792">Tweets by @TwittElection</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="col-sm-4">
<div class="addthis_native_toolbox"></div>
<a class="twitter-timeline" href="https://twitter.com/TwittElection?ref_src=twsrc%5Etfw">Tweets by TwittElection</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
</div>
</div>
</div>
</div>


<div id="footer">
</div>
<footer id="footer">
<div class="container">
<p class="muted"><a href="https://democracyclub.org.uk/"><img style="float:right;" src="/democracyclub.png" alt="Democracy Club" /></a> Made by <a href="https://twitter.com/davorg/">@davorg</a></p>
<p class="text-muted"><a href="https://democracyclub.org.uk/"><img style="float:right;" src="/democracyclub.png" alt="Democracy Club" /></a> Made by <a href="https://twitter.com/davorg/">@davorg</a></p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery-1.11.0.min.js"><\/script>')</script>
<script src="/js/jquery.tablesorter.min.js"></script>
</footer>

<!-- Javascript libraries -->
<!-- jQuery (needed for TableSorter) -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>

<!-- TableSorter -->
<script src="https://cdn.jsdelivr.net/npm/tablesorter@2.31.3/dist/js/jquery.tablesorter.combined.min.js"></script>

<!-- Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+"
crossorigin="anonymous"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- Custom scripts -->
<script src="/js/plugins.js"></script>
<script src="/js/main.js"></script>

Expand All @@ -190,5 +180,5 @@ <h1>About this site</h1>
</script>
<!-- Go to www.addthis.com/dashboard to customize your tools --> <script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-56165a02d0fe210e"></script>
</body>
<!-- Built at: 10:16:15 20-Dec-2019 -->
<!-- Built at: 10:32:37 19-Apr-2024 -->
</html>

0 comments on commit b1bba02

Please sign in to comment.