| |
jailbird
Registered: Dec 2001 Posts: 1578 |
A minimalistic CSDb style for Stylish
I couldn't sleep last night so I decided to restyle CSDb a bit, maybe some of you will find it useful.
Since the HTML is not semantic at all, and it was a real pain in the ass to make it work, I am pretty sure it's full of shit, so feel free to improve/change it.
Oh, and it works only when you're logged in.
Get it from https://github.com/csisztaiarnold/csdb_stylish
Preview on YouTube: https://www.youtube.com/watch?v=mLMcTCREKf8 |
|
... 25 posts hidden. Click here to view all posts.... |
| |
bOOZElEE
Registered: Dec 2002 Posts: 35 |
Quoting JailbirdThe HTML would definitely need a rewrite from ground up.
I second that.
It'd be great to make an overhaul and switch to semantic and responsive HTML5 markup.
I can listen to SID-Tunes on my phone, why shouldn't I be able to read CSDb properly on it ;) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
you should be making gfx instead :) |
| |
bOOZElEE
Registered: Dec 2002 Posts: 35 |
Oh c'mon, sweetheart. It's my 24th post in about 15 years and I'm still being ranted at by you, just for being inactive ;)
But seriously: if (part) of the source code would be made available (f.e. in a repository) there should be imho enough people willing to help switching to a more semantic approach.
Unless there's something I'm not aware off and html table layout is still necessary? People using AWeb or IBrowse on AMIGA f.e.? :) |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
WTF, I'd never thought I'd communicate, nevertheless to agree with Rayden, but yeah.
My current shit is somewhat bareable. It is better, but it IS... shit.
As is CSDb.
Do better |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
BTW a single class on the <body> depending on the first URI segment would help ALFULLY a lot! Perffffff pls! |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
Plus another update :
- it looks better (except the PM, but who uses that anyway)
- votes look better:
![](http://i.imgur.com/WkHXNXH.png)
And similar small improvement stuff but I have to pee and sleep |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
Quote:But seriously: if (part) of the source code would be made available (f.e. in a repository) there should be imho enough people willing to help switching to a more semantic approach.
after looking at the code myself, i dare to say that those who look at it only want to do one thing: delete it all. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Quote:But seriously: if (part) of the source code would be made available (f.e. in a repository) there should be imho enough people willing to help switching to a more semantic approach.
after looking at the code myself, i dare to say that those who look at it only want to do one thing: delete it all.
That is indeed usually the case when it comes to bad code. The only viable approach would be to expose the content of the database as an API imo (since giving the full database exposes private messages between persons etc).
Another approach is of course to gut out everything personal from the database and keep it a pure tracking of releases (i.e. remove PMs, forum, user comments) then make everything public domain with public read only access. Read write access for selected trusted implementors. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
even the db itself needs a serious rework / restructuring.
think of the C code you wrote 20 years ago. its that bad. |
| |
Peacemaker
Registered: Sep 2004 Posts: 275 |
Jailbird: Looking good. If you it could only beeing applied by inserting your .css why, not? :D |
Previous - 1 | 2 | 3 | 4 - Next |