summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-04-05 16:50:56 +0200
committeremkael <emkael@tlen.pl>2017-04-05 16:52:03 +0200
commit96434d7c24c4595ca5c2bd87a340597d416d848d (patch)
treed7883f3bdee826137c66f509c02f0cf83a3d2968
parent39d20bcd7e431bbe2f084f956ef006c9390e99c7 (diff)
Title updated
-rw-r--r--ranking.py2
-rw-r--r--templates/ranking.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/ranking.py b/ranking.py
index dbcccf0..59b9310 100644
--- a/ranking.py
+++ b/ranking.py
@@ -78,7 +78,7 @@ table = bs4(file('templates/ranking.html'), 'lxml')
table_body = table.select('tbody')[0]
table_row = table_body.select('tr')[0].extract()
-table.select('.page-header h1 small')[0].string = 'z dnia %s' % (
+table.select('.page-header h1 small')[0].string = 'stan na %s' % (
'.'.join(sys.argv[1].split('-')[::-1])
)
diff --git a/templates/ranking.html b/templates/ranking.html
index b7013f5..d6f5b15 100644
--- a/templates/ranking.html
+++ b/templates/ranking.html
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Ranking PZBS</title>
+ <title>Oficjalny Ranking Brydżowy PZBS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<link rel="stylesheet" href="res/ranking.css" />
</head>
@@ -9,7 +9,7 @@
<div class="container">
<div class="page-header">
<h1>
- Ranking PZBS
+ Oficjalny Ranking Brydżowy PZBS
<small></small>
</h1>
</div>