[mb-commits] r9923 - in mb_server/branches/TemplateToolkit/root: artist static
root at musicbrainz.org
root at musicbrainz.org
Mon Jun 30 23:03:12 UTC 2008
Author: muz
Date: 2008-06-30 23:03:12 +0000 (Mon, 30 Jun 2008)
New Revision: 9923
Modified:
mb_server/branches/TemplateToolkit/root/artist/ar-summary.tt
mb_server/branches/TemplateToolkit/root/artist/header.tt
mb_server/branches/TemplateToolkit/root/artist/tags.tt
mb_server/branches/TemplateToolkit/root/static/main.css
Log:
divs, css love for the artist page overviews
Modified: mb_server/branches/TemplateToolkit/root/artist/ar-summary.tt
===================================================================
--- mb_server/branches/TemplateToolkit/root/artist/ar-summary.tt 2008-06-30 21:28:51 UTC (rev 9922)
+++ mb_server/branches/TemplateToolkit/root/artist/ar-summary.tt 2008-06-30 23:03:12 UTC (rev 9923)
@@ -1,4 +1,4 @@
-<div class="ars">
+<div class="RelationshipBox">
[% INCLUDE "components/entity-link.tt" entity=artist %]:
<ul>
Modified: mb_server/branches/TemplateToolkit/root/artist/header.tt
===================================================================
--- mb_server/branches/TemplateToolkit/root/artist/header.tt 2008-06-30 21:28:51 UTC (rev 9922)
+++ mb_server/branches/TemplateToolkit/root/artist/header.tt 2008-06-30 23:03:12 UTC (rev 9923)
@@ -11,13 +11,19 @@
%]
<div id="artistHeader">
- <h1>[% artist.name %]</h1>
+
+ <div class="title">
+ <span><img src="/static/images/aicon_lg.png"> [% artist.name %]</span>
[% IF artist.resolution %]
<h2>[% artist.resolution %]</h2>
[% END %]
- <h2>Type: [% artist.artist_type %],
- [% artist.quality %] data quality</h2>
- <div class="links"> Info: [ [% INCLUDE "components/piped-list.tt" list=info_links %] ] </div>
+ </div>
+
+ <div class="info">
+ Type: [% artist.type %], [% artist.quality %] data quality<br />
+ </div>
+
+ <div class="links"> Info: [ [% INCLUDE "components/piped-list.tt" list=info_links %] ] </div>
<div id="editLinks">
Edit:
@@ -37,4 +43,5 @@
[ <a href="[% c.uri_for('/user/login') %]">Log in</a> to edit this data ]
[% END %]
</div>
+
</div>
Modified: mb_server/branches/TemplateToolkit/root/artist/tags.tt
===================================================================
--- mb_server/branches/TemplateToolkit/root/artist/tags.tt 2008-06-30 21:28:51 UTC (rev 9922)
+++ mb_server/branches/TemplateToolkit/root/artist/tags.tt 2008-06-30 23:03:12 UTC (rev 9923)
@@ -1,4 +1,4 @@
-<div class="tags">Artist tags:
+<div class="TagsBox">Artist tags:
[% IF artist.tags.size %]
<ul>
[% FOREACH tag IN artist.tags %]
Modified: mb_server/branches/TemplateToolkit/root/static/main.css
===================================================================
--- mb_server/branches/TemplateToolkit/root/static/main.css 2008-06-30 21:28:51 UTC (rev 9922)
+++ mb_server/branches/TemplateToolkit/root/static/main.css 2008-06-30 23:03:12 UTC (rev 9923)
@@ -201,12 +201,20 @@
background-color: #F0EFFF;
color: #000;
width: 100%;
+ padding-top: 5px;
}
-#artistHeader h1 {
+#artistHeader div.title {
padding-left: 5px;
+ font-size: 25pt;
}
+#artistHeader div.info {
+ padding-top: 5px;
+ padding-left: 5px;
+ font-size: 8pt;
+}
+
#artistHeader div.links {
padding-left: 5px;
}
@@ -216,3 +224,20 @@
background-color: #FFECD6;
padding-left: 5px;
}
+
+div.TagsBox {
+ background-color: #F0F6FF;
+ color; #000;
+ border: 1px solid #000;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ padding: 0.2em;
+}
+
+div.RelationshipBox {
+ padding: 5px;
+ background-color: #EFE8E2;
+ color: #000;
+ border: 1px solid;
+ margin-bottom: .5em;
+}
More information about the MusicBrainz-commits
mailing list