SarathkumarJ / snapboard

Automatically exported from code.google.com/p/snapboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Do not load some media files #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I try integrate snapboard and sbreg to my project
1) Do not show cdd_topleft.png
2) sbreg use old maxlength
3) sbreg do not find css and other media

My partial path:
Index: media/css/snapboard.css
===================================================================
--- media/css/snapboard.css (revision 175)
+++ media/css/snapboard.css (working copy)
@@ -37,7 +37,8 @@
 }

 .forummenu-first {
-background-image:url('/media/img/cdd_topleft.png');
+/*background-image:url('/media/img/cdd_topleft.png');*/
+background-image:url('../img/cdd_topleft.png');
 background-position:top right;
 background-repeat:no-repeat;
 }
Index: sbreg/models.py
===================================================================
--- sbreg/models.py (revision 175)
+++ sbreg/models.py (working copy)
@@ -6,7 +6,7 @@

 class UserProfile(models.Model): 
     user = models.OneToOneField(User) 
-    activation_key = models.CharField(maxlength=40) 
+    activation_key = models.CharField(max_length=40) 
     key_expires = models.DateTimeField()

     class Admin:

Original issue reported on code.google.com by tonal.pr...@gmail.com on 11 Mar 2008 at 6:52

GoogleCodeExporter commented 8 years ago
Thanks for the note; I will check in the patch for updating sbreg models.  As 
far as
the CSS and templates go, I hope to get someone to do a complete refactor of the
template/media-files code, so I'll hold off on that for now.

Original comment by bs1...@gmail.com on 14 Mar 2008 at 5:35

GoogleCodeExporter commented 8 years ago
Since sbreg is gone the missing media files problem is no longer relevant.
background-image absolute URL problem fixed in r205.

Original comment by jdem...@gmail.com on 1 Nov 2008 at 5:01