summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-11-11 14:45:22 +0100
committerYorhel <git@yorhel.nl>2010-11-11 14:45:22 +0100
commit2a7236184180f24169d454396b482d923beb21b5 (patch)
treecb00efb8c2b31d00c6355e7c3cb81af42a83f86a /data
parent076408b17bc231dfab30125f2e445cd54f5227b8 (diff)
Display releases grouped by VNs on producer pages
A nice expanded view. It also happens to be faster than the old view in terms of SQL queries. (In most cases at least) Can be improved a little more by: - Adding an 'expand/collapse' feature to list only the VNs - Adding a column indicating the role of the producer (dev/pub)
Diffstat (limited to 'data')
-rw-r--r--data/lang.txt13
-rw-r--r--data/style.css30
2 files changed, 28 insertions, 15 deletions
diff --git a/data/lang.txt b/data/lang.txt
index 01c47f28..8ddd96d6 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -2575,12 +2575,12 @@ cs : Wikipedie
hu :
nl :
-:_prodpage_vnrel
-en : Visual Novel Relations
-ru : Связи новелл
-cs : Vztahy k vizuálním novelám
-hu : Visual Novel Összefüggések
-nl : Gerelateerde Visual Novels
+:_prodpage_rel
+en : Releases
+ru*:
+cs*:
+hu*:
+nl : Uitgaven
:_prodpage_norel
en : We have currently no visual novels by this producer.
@@ -2589,6 +2589,7 @@ cs : Nemáme žádné vizuální novely od tohoto producenta.
hu : Jelenleg nincsen visual novel bejegyzésünk ettől a készítőtől.
nl : Momenteel geen visual novels van deze producent bij ons bekend
+# (next two are unused at the moment)
:_prodpage_dev
en : developer
ru : разработчик
diff --git a/data/style.css b/data/style.css
index 5e522c01..075ce00c 100644
--- a/data/style.css
+++ b/data/style.css
@@ -826,19 +826,31 @@ div.scr_uploader { visibility: hidden; overflow: hidden; width: 1px; height: 1px
/***** Producer page/list *******/
-.producerpage ul {
- margin: 0 50px;
+.prodrel table {
+ width: 100%;
}
-.producerpage li {
- padding-top: 3px;
- list-style-type: none;
+.prodrel tr.vn td {
+ background: url($_boxbg$) repeat;
+ font-weight: bold;
}
-.producerpage li i {
- display: block;
- font-style: normal;
- float: left;
+.prodrel td.tc1 {
+ padding-left: 30px;
width: 80px;
}
+.prodrel td.tc2 {
+ text-align: center;
+ width: 50px;
+}
+.prodrel td.tc3 {
+ text-align: right;
+ padding: 0;
+ width: 120px;
+}
+.prodrel td.tc5 {
+ text-align: right;
+ width: 25px;
+ padding: 0;
+}
.producerbrowse ul {
float: left;