diff options
| author | yo momma <shutup@oops.wtf> | 2026-01-31 18:36:38 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-01-31 18:36:52 +0000 |
| commit | fff745efe30e767118c5c28a6feddc14d15c7e19 (patch) | |
| tree | a1bcd7a7e5117f1fd6fe4e848ecfe48338348c88 /template | |
| parent | 41a99ba87e2e5789c2a33d7dc5f7d3d0c9871b8e (diff) | |
Refactor: reduce inline styles (profiles/banners/IE)refactor
Diffstat (limited to 'template')
| -rwxr-xr-x | template/banner.old.st | 44 | ||||
| -rwxr-xr-x | template/banner_dis.st | 14 | ||||
| -rwxr-xr-x | template/error_ie.st | 25 | ||||
| -rwxr-xr-x | template/google_analytics.st | 2 | ||||
| -rwxr-xr-x | template/head.st | 2 | ||||
| -rwxr-xr-x | template/head_edge.st | 2 | ||||
| -rwxr-xr-x | template/nigga.st | 28 | ||||
| -rwxr-xr-x | template/profile.st | 4 | ||||
| -rwxr-xr-x | template/profilenew.st | 4 | ||||
| -rwxr-xr-x | template/rooms/butt.st | 2 |
10 files changed, 68 insertions, 59 deletions
diff --git a/template/banner.old.st b/template/banner.old.st index 4cc706e..8e1a77e 100755 --- a/template/banner.old.st +++ b/template/banner.old.st @@ -1,21 +1,21 @@ <div id="rapper7"> - <div id="header7"> - <div id="logoicons"> - <div id="logo7"> - <div align="center"> - <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 /> - <a class="img_roll" href="$domain$"></a> - </div> - </div> - <div class="white"> - $if(!user_nick)$ - <div id="bar7dis"> - $else$ - <div id="bar7"> - $endif$ - <div style="float: left;"> - <div align="center"> - $if(user_nick)$ + <div id="header7"> + <div id="logoicons"> + <div id="logo7"> + <div align="center"> + <img class="is-hidden" border="0" width="0" height="0" alt="" /> + <a class="img_roll" href="$domain$"></a> + </div> + </div> + <div class="white"> + $if(!user_nick)$ + <div id="bar7dis"> + $else$ + <div id="bar7"> + $endif$ + <div class="float-left"> + <div align="center"> + $if(user_nick)$ <!-- <a href="$domain$/log" onclick="pageTracker._trackEvent('button', 'banner-log'); return true;"> <img src="/static/img/thumbs/logbaricon.png"/> Log</a> --> <a href="$domain$/$user_nick$" onclick="pageTracker._trackEvent('button', 'banner-profile'); return true;"> @@ -109,11 +109,11 @@ - <div id="inpage-search-results" style="background-color: white;"> - <div id="search-controls"> - <span id="search-message"></span> - <a id="search-control-close" href="javascript:Search.close()">close</a> - </div> + <div id="inpage-search-results" class="bg-white"> + <div id="search-controls"> + <span id="search-message"></span> + <a id="search-control-close" href="javascript:Search.close()">close</a> + </div> <div id="search-results-images"></div> </div> </div> diff --git a/template/banner_dis.st b/template/banner_dis.st index f55fbbe..b0d96a5 100755 --- a/template/banner_dis.st +++ b/template/banner_dis.st @@ -12,15 +12,15 @@ $endif$ <div id="dislogo"> <div align="center"> - <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 /> - <a href="https://dismagazine.com"><img src="/static/img/dis.png" class="dislogo"><a class="img_rolldis" href="$domain$"></a> - </div> + <img class="is-hidden" border="0" width="0" height="0" alt="" /> + <a href="https://dismagazine.com"><img src="/static/img/dis.png" class="dislogo"><a class="img_rolldis" href="$domain$"></a> + </div> </div> - <div id="bar7dis"> - <div style="float: left;"> - <div align="center"> - $if(user_nick)$ + <div id="bar7dis"> + <div class="float-left"> + <div align="center"> + $if(user_nick)$ <!-- <a href="$domain$/log" onclick="pageTracker._trackEvent('button', 'banner-log'); return true;"> <img src="/static/img/thumbs/logbaricon.png"/> Log</a> --> diff --git a/template/error_ie.st b/template/error_ie.st index 340c4c3..371559b 100755 --- a/template/error_ie.st +++ b/template/error_ie.st @@ -1,8 +1,17 @@ -<div id="iesucks" style="margin:10%;font-size:15px;font-family:Arial, sans serif;color:black;"> -<center> -<img src="http://coteriemusicblog.files.wordpress.com/2008/02/1.gif"> -<h2> -WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude... -</h2> -</DIV> -</center>
\ No newline at end of file +<html> + <head> + <title>dump.fm</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <link rel="stylesheet" type="text/css" href="/static/css/error_ie.css?v=20260131"> + </head> + <body> + <div id="iesucks"> + <center> + <img src="https://coteriemusicblog.files.wordpress.com/2008/02/1.gif" alt="" /> + <h2> + WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude... + </h2> + </center> + </div> + </body> +</html> diff --git a/template/google_analytics.st b/template/google_analytics.st index 883102a..bfba91f 100755 --- a/template/google_analytics.st +++ b/template/google_analytics.st @@ -12,5 +12,5 @@ qacct:"p-a3mCwIEHECjGE" </script> <script type="text/javascript" src="https://edge.quantserve.com/quant.js"></script> <noscript> -<img src="https://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/> +<img src="https://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" class="is-hidden" border="0" height="1" width="1" alt="Quantcast"/> </noscript> diff --git a/template/head.st b/template/head.st index 8eaaedf..010f1ce 100755 --- a/template/head.st +++ b/template/head.st @@ -6,7 +6,7 @@ <link rel="image_src" href="/static/img/thumbs/heartover.gif" > <!-- <script type="text/javascript" src="/static/js/jquery-ui-1.8.effects.min.js"></script> --> <script type="text/javascript" src="/static/js/pichat.js?v=20260130"></script> -<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1"> +<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2"> <script> Domain = "/"; Nick = $if(user_nick)$"$user_nick$"$else$null$endif$; diff --git a/template/head_edge.st b/template/head_edge.st index 8eaaedf..010f1ce 100755 --- a/template/head_edge.st +++ b/template/head_edge.st @@ -6,7 +6,7 @@ <link rel="image_src" href="/static/img/thumbs/heartover.gif" > <!-- <script type="text/javascript" src="/static/js/jquery-ui-1.8.effects.min.js"></script> --> <script type="text/javascript" src="/static/js/pichat.js?v=20260130"></script> -<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1"> +<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2"> <script> Domain = "/"; Nick = $if(user_nick)$"$user_nick$"$else$null$endif$; diff --git a/template/nigga.st b/template/nigga.st index 8c54938..8e1c633 100755 --- a/template/nigga.st +++ b/template/nigga.st @@ -2,30 +2,30 @@ <head> <title>$nick$'s dump.fm</title> $head()$ - <link rel="stylesheet" type="text/css" href="/static/css/profile_dashboard.css?v=20260129"> + <link rel="stylesheet" type="text/css" href="/static/css/profile_dashboard.css?v=20260131"> <script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script> <script src="/static/js/ajaxupload.js"></script> <script> jQuery(document).ready(initProfile); </script> </head> - <body> - <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div> - $banner()$ + <body> + <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div> + $banner()$ <div id="dashrapper"> - - - <div id="dashuserlist"> - $if(avatar)$ - <div id="dashavatar" style="background-image:url($avatar$);height:100px;width:100%"> - <img id="avatarPic" src="$avatar$"/> - $else$<br> - <img id="avatarPic" src="/static/img/noinfo.png"> - </div> - $endif$ + + + <div id="dashuserlist"> + $if(avatar)$ + <div id="dashavatar" class="dashavatar-bg" style="background-image:url($avatar$)"> + <img id="avatarPic" src="$avatar$"/> + $else$<br> + <img id="avatarPic" src="/static/img/noinfo.png"> + </div> + $endif$ diff --git a/template/profile.st b/template/profile.st index 527e333..ab72dcd 100755 --- a/template/profile.st +++ b/template/profile.st @@ -38,9 +38,9 @@ jQuery(document).ready(function() { </head> <body class="profiledash"> $if(avatar)$ - <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div> + <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div> $else$ - <div id="dashtotal" style="background-image:url(/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div> + <div id="dashtotal" class="dash-total dash-total--stripes"></div> $endif$ $banner()$ diff --git a/template/profilenew.st b/template/profilenew.st index 547c1c6..262bf02 100755 --- a/template/profilenew.st +++ b/template/profilenew.st @@ -32,9 +32,9 @@ jQuery(document).ready(function() { </head> <body class="profiledash"> $if(avatar)$ - <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div> + <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div> $else$ - <div id="dashtotal" style="background-image:url(/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div> + <div id="dashtotal" class="dash-total dash-total--stripes"></div> $endif$ $banner()$ diff --git a/template/rooms/butt.st b/template/rooms/butt.st index 6c80511..c3077ed 100755 --- a/template/rooms/butt.st +++ b/template/rooms/butt.st @@ -25,7 +25,7 @@ $endif$ $if(!user_avatar)$ <link rel="stylesheet" type="text/css" href="/static/css/dumpnewuser.css?v=20260130"> $endif$ - <link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1"> + <link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2"> <link rel="stylesheet" type="text/css" href="/static/css/rooms_butt.css?v=20260129"> <script type="text/javascript" src="/static/webcam/webcam.js"></script> <script type="text/javascript" src="/static/js/tooltip.js"></script> |
