summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-03-22 10:55:48 +0100
committerYorhel <git@yorhel.nl>2009-03-22 10:55:48 +0100
commit09f80833cef287a5a4f5cf1018b19f8c2db3341e (patch)
tree000e757f9b11a6ce069c13da9b648751d6b453b3 /data
parent5f744cdcc18e0d67df8162ffb76e752a6f7a4a9c (diff)
parent1b99dd8701ce572c8ac20b71b3eb9b471b69d788 (diff)
Merge branch 'tagging' into beta
Conflicts: lib/VNDB/DB/Discussions.pm util/updates/update_2.3.sql
Diffstat (limited to 'data')
-rw-r--r--data/docs/14
-rw-r--r--data/docs/213
-rw-r--r--data/docs/917
-rw-r--r--data/global.pl14
-rw-r--r--data/style.css95
5 files changed, 102 insertions, 41 deletions
diff --git a/data/docs/1 b/data/docs/1
index 835d2070..c6d7914c 100644
--- a/data/docs/1
+++ b/data/docs/1
@@ -1,4 +1,8 @@
:TITLE:Categories
+<div class="warning">
+ The category system has been replaced with a new tagging system. This page
+ is still available for reference, but will be removed in a later site update.
+</div>
:INC:index
diff --git a/data/docs/2 b/data/docs/2
index c6428c55..2f7095df 100644
--- a/data/docs/2
+++ b/data/docs/2
@@ -63,15 +63,10 @@
:SUB:Categories
-<p>
- It is possible to select relevant categories for visual novels, where the relevance
- can be ranked using a number from 0 to 3, where 0 indicates the category does not
- apply at all, and 3 means that the category is very dominant in the game.<br />
- See <a href="/d1">Categories</a> for descriptions about each category.<br />
- Just as with the <i>Length</i> field, this information is very subjective. Just
- use the category descriptions and common sense to determine which categories to
- select and what relevance to apply.
-</p>
+<i>
+ The category system has been replaced with tags. This section is a placeholder to preserve
+ numbering.
+</i>
:SUB:Image
diff --git a/data/docs/9 b/data/docs/9
index fd6da75e..f5ee46ab 100644
--- a/data/docs/9
+++ b/data/docs/9
@@ -5,29 +5,30 @@
:SUB:Introduction
<p>
VNDB has a nicely integrated discussion board which can be used for, well,
- discussions. As we're not using any popular and freely available forum software
+ discussions. As we're not using any popular or freely available forum software
and have instead written something by ourselves, this discussion board has a
few slight differences with the popular boards you're used to.
</p>
-:SUB:Tags
+:SUB:Boards
<p>
- To make sure interested people can find your post, all threads have 'tags'
- that define what the discussion is about. It's possible to add more than
- one tag to a thread. The following tags can be used:
+ To make sure interested people can find your post, all threads have relations
+ to one or more 'boards' that define what the discussion is about. This is similar
+ to boards on other forums, but here every item in the DB has its own board, and
+ it's possible to link a thread to more than one board. The following boards can be used:
</p>
<dl>
<dt>db</dt><dd>
- VNDB Discussions. This is a general tag for threads not about any specific
+ VNDB Discussions. This is a general board for threads not about any specific
entry in the database.
</dd><dt>v#</dt><dd>
- For discussions about a particular visual novel. The tag <i>v17</i>, for example,
+ For discussions about a particular visual novel. The board <i>v17</i>, for example,
is used for all threads related to <a href="/v17">v17</a>.
</dd><dt>p#</dt><dd>
Same as <i>v#</i>, but for producers.
</dd><dt>u#</dt><dd>
- The <i>u#</i> tag can be used to notify a user on this site about something
+ The <i>u#</i> board can be used to notify a user on this site about something
he/she must see or to discuss about an edit he/she has made. This is similar
to the 'private message' feature of most sites, except it's not 'private'...
</dd><dt>an</dt><dd>
diff --git a/data/global.pl b/data/global.pl
index 2bb84e08..739578bf 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -26,12 +26,12 @@ our %S = (%S,
sharedmem_key => 'VNDB',
user_ranks => [
# rankname allowed actions # DB number
- [qw| visitor hist |], # 0
- [qw| banned hist |], # 1
- [qw| loser hist board |], # 2
- [qw| user hist board edit |], # 3
- [qw| mod hist board boardmod edit mod lock del |], # 4
- [qw| admin hist board boardmod edit mod lock del usermod |], # 5
+ [qw| visitor hist |], # 0
+ [qw| banned hist |], # 1
+ [qw| loser hist board |], # 2
+ [qw| user hist board edit tag |], # 3
+ [qw| mod hist board boardmod edit tag mod lock del tagmod |], # 4
+ [qw| admin hist board boardmod edit tag mod lock del tagmod usermod |], # 5
],
languages => {
cs => q|Czech|,
@@ -58,7 +58,7 @@ our %S = (%S,
in => 'Individual',
ng => 'Amateur group',
},
- discussion_tags => {
+ discussion_boards => {
an => 'Announcements', # 0 - usage restricted to boardmods
db => 'VNDB Discussions', # 0
v => 'Visual novels', # vid
diff --git a/data/style.css b/data/style.css
index dbdcbafd..7ee010ef 100644
--- a/data/style.css
+++ b/data/style.css
@@ -86,6 +86,7 @@ p.locked {
font-style: italic;
margin: 0!important;
}
+b.grayedout { font-weight: normal; color: $grayedout$ }
#maincontent h2 b {
font: 8pt "Tahoma";
font-weight: normal;
@@ -510,11 +511,11 @@ div.mainbox.discussions td.tc4 {
div.mainbox.discussions a.locked {
text-decoration: line-through;
}
-div.mainbox.discussions td.tags {
+div.mainbox.discussions td.boards {
padding-top: 0;
padding-left: 60px;
}
-div.mainbox.discussions td.tags a {
+div.mainbox.discussions td.boards a {
color: $grayedout$!important
}
div.discussions td.tc2 { width: 50px; }
@@ -537,7 +538,7 @@ div.discussions td.tc4 { width: 170px; }
div.vndetails {
margin: 0 auto;
- width: 700px;
+ width: 800px;
}
div.vnimg {
float: left;
@@ -555,13 +556,19 @@ div.vnimg p {
padding: 0px;
margin: 0;
}
+.vndesc h2 {
+ margin: 5px 0 0 0!important;
+}
+.vndesc p {
+ padding: 0 0 0 5px;
+}
img#nsfw_hid {
display: none;
cursor: pointer;
}
div.vndetails table {
float: left;
- width: 430px;
+ width: 530px;
}
div.vndetails table td.key {
width: 80px;
@@ -573,6 +580,7 @@ div.vndetails table dt {
div.vndetails table dd {
margin-left: 90px;
}
+
.catlvl_0, .catlvl_1, .catlvl_2, .catlvl_3 { font-style: normal; }
.catlvl_1 { color: $catlevel1$!important }
.catlvl_2 { color: $catlevel2$!important }
@@ -590,21 +598,24 @@ div.vndetails td.anime b {
font-weight: normal;
padding-right: 4px;
}
-div.vndescription {
- clear: left;
- padding: 5px 0 0 0;
-}
-div.vndescription h2 {
- margin: 0 30px!important;
+div#vntags {
+ margin: 15px 30px 0 30px;
border-top: 1px solid $border$;
- padding: 3px 70px;
- font-weight: bold!important;
+ padding: 1px 5% 0 5%;
+ text-align: center;
}
-div.vndescription p {
- margin: 0 100px!important;
+#vntags span { white-space: nowrap; margin-left: 15px; }
+#vntags span.hidden { display: none }
+#vntags b { color: $grayedout$; font-weight: normal; font-size: 8px }
+#tagops {
+ float: right;
+ text-align: right;
+ width: auto;
+ margin: 0 30px;
}
+#tagops a { margin: 0 0 0 10px; border: 0; outline: none }
+#maincontent #tagops a.tsel { color: $maintext$; }
-b.patch { font-weight: normal; color: $grayedout$ }
.releases table, #screenshots table {
width: 100%;
}
@@ -937,8 +948,8 @@ ul#catselect li li.exc { background-position: 0px -33px; color: $statnok$; }
/***** User VN list browser ******/
-.rlist .relhid { }
-.rlist .relhid_but, #relhidall { cursor: pointer }
+.relhid_but, #relhidall { cursor: pointer }
+.relhid_but i, #relhidall i { font-style: normal }
.browse.rlist .tc2 { width: 100px; }
.browse.rlist .tc3 { width: 70px; }
.browse.rlist .relhid .tc1 { padding-left: 40px; width: 70px; }
@@ -965,6 +976,56 @@ ul#catselect li li.exc { background-position: 0px -33px; color: $statnok$; }
+/***** Tag page *****/
+
+.tagtree { margin-left: 20px; margin-top: -20px; list-style-type: none; }
+.tagtree li { float: left; width: 200px; margin-top: 10px; }
+.tagtree li li { float: none; width: auto; margin-top: 0; }
+.tagtree ul { margin-left: 10px; list-style-type: none; }
+.tagvnlist .tc1 { width: 105px; }
+.tagvnlist .tc1 i { font-style: normal; font-size: 8px }
+.tagvnlist .tc3 { text-align: right; padding: 0; }
+.tagvnlist .tc4 { padding: 0; }
+.tagvnlist .tc6 { text-align: right; padding-right: 10px; }
+
+/***** Tag list *****/
+
+.browse.taglist .tc1 { width: 80px }
+
+/***** User tag list *****/
+.browse.tagstats .tc1 { width: 80px }
+.browse.tagstats .tc1_2 { padding-left: 15px }
+
+/***** VN tagmod *****/
+
+#jt_box_tags .formtable table td { padding: 1px 5px }
+#tagtable tfoot td { padding-top: 20px!important; }
+#tagtable .tc2_1 { border-right: 1px solid $border$; border-left: 1px solid $border$; width: 150px; text-align: center }
+#tagtable .tc3_1 { border-left: 1px solid $border$; width: 150px; text-align: center }
+#tagtable .tc1 { min-width: 200px; border-right: 1px solid $border$ }
+#tagtable .tc2 i { font-style: normal; font-size: 8px }
+#tagtable .tc2 { padding-left: 30px!important }
+#tagtable .tc3 { border-right: 1px solid $border$; padding-right: 30px!important; text-align: right }
+#tagtable .tc4 { padding-left: 30px!important; }
+#tagtable .tc5 { text-align: right; padding-right: 30px!important; padding-left: 10px!important }
+.taglvl { display: block; float: left; width: 8px; height: 12px; border: 1px solid $border$; font-size: 1px; color: $maintext$!important }
+.taglvl0 { width: 15px; border: none!important; font-size: 10px; text-align: center; }
+div.taglvl0 { font-size: 8px; width: 20px!important }
+div.taglvl { border: none!important; width: 10px; height: 14px }
+a.taglvl:hover { border-bottom: 1px solid transparent!important }
+.taglvlsel.taglvl-3 { background-color: #f00; border-color: #f00 }
+.taglvlsel.taglvl-2 { background-color: #f40; border-color: #f40 }
+.taglvlsel.taglvl-1 { background-color: #f80; border-color: #f80 }
+.taglvlsel.taglvl1 { background-color: #cf0; border-color: #cf0 }
+.taglvlsel.taglvl2 { background-color: #8f0; border-color: #8f0 }
+.taglvlsel.taglvl3 { background-color: #0f0; border-color: #0f0 }
+#jt_box_tags #tagtable .tc5 { padding: 0 }
+#tagtable .tc5 select { width: 90px; height: 15px; border: 0; margin: 0; font-size: 11px; background-color: $_blendbg$; text-align: right }
+#tagtable .odd .tc5 select { background-color: $secbg$ }
+
+
+
+
/***** Warning/Notice Box *****/
div.warning, div.notice {