summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-01 00:48:35 +0200
committerTor Andersson <tor@ccxvii.net>2021-05-04 19:08:34 +0200
commitcbb4b7b27feae989297cae6ac1a58c0f02df71c6 (patch)
tree04dea671cc9b0cbfd9ba24e4ed46d608ed368c96
parentf150d643407115c19ae0467e22ec169b3a11bc98 (diff)
downloadserver-cbb4b7b27feae989297cae6ac1a58c0f02df71c6.tar.gz
hammer: Import Hammer of the Scots.
-rw-r--r--public/common/battle_abc.css7
-rw-r--r--tools/sql/data-hammer.txt3
-rw-r--r--views/index.ejs1
3 files changed, 9 insertions, 2 deletions
diff --git a/public/common/battle_abc.css b/public/common/battle_abc.css
index 7469085..a07f16e 100644
--- a/public/common/battle_abc.css
+++ b/public/common/battle_abc.css
@@ -40,6 +40,7 @@
display: flex;
flex-wrap: wrap;
justify-content: center;
+ margin: 10px;
}
.battle_separator {
@@ -51,7 +52,7 @@
}
.battle_menu {
- padding: 5px;
+ width: 80px;
}
.battle_menu .action {
@@ -70,8 +71,10 @@
.battle_menu_list {
margin-top: 5px;
min-height: 26px;
- width: 78px;
+ width: 80px;
text-align: center;
+ font-size: 1px;
+ line-height: 1px;
}
.battle_reserves .battle_menu_list {
diff --git a/tools/sql/data-hammer.txt b/tools/sql/data-hammer.txt
new file mode 100644
index 0000000..853bed4
--- /dev/null
+++ b/tools/sql/data-hammer.txt
@@ -0,0 +1,3 @@
+INSERT OR REPLACE INTO titles VALUES ( 'hammer-of-the-scots', 'Hammer of the Scots', 3685 );
+INSERT OR REPLACE INTO roles VALUES ( 'hammer-of-the-scots', 'England' );
+INSERT OR REPLACE INTO roles VALUES ( 'hammer-of-the-scots', 'Scotland' );
diff --git a/views/index.ejs b/views/index.ejs
index a9abeff..18a689b 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -13,6 +13,7 @@ players.
Registration and use is free, and there are no ads.
<div class="list">
+<a href="/info/hammer-of-the-scots"><img src="/hammer-of-the-scots/cover.jpg"></a>
</div>
<p>