From e4a909c2568e13592ca36a1523d43d707cfaf87e Mon Sep 17 00:00:00 2001 From: echicken <> Date: Wed, 29 Aug 2012 02:38:25 +0000 Subject: [PATCH] Removing an ugly old theme from the old ecWeb. --- web/root/ecWeb/themes/hotdogstand/layout.ssjs | 72 ------ web/root/ecWeb/themes/hotdogstand/style.css | 216 ------------------ 2 files changed, 288 deletions(-) delete mode 100644 web/root/ecWeb/themes/hotdogstand/layout.ssjs delete mode 100644 web/root/ecWeb/themes/hotdogstand/style.css diff --git a/web/root/ecWeb/themes/hotdogstand/layout.ssjs b/web/root/ecWeb/themes/hotdogstand/layout.ssjs deleted file mode 100644 index 9153098cd7..0000000000 --- a/web/root/ecWeb/themes/hotdogstand/layout.ssjs +++ /dev/null @@ -1,72 +0,0 @@ -function openPage(pageTitle) { - // Print the initial HTML tags - print('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'); - print("<html>"); - print("<head>"); - print('<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >'); - print('<link rel="stylesheet" type="text/css" href="' + eval(webIni.webUrl) + "/themes/" + webIni.theme + '/style.css">'); - print("<title>" + pageTitle + "</title>"); - print('<script type="text/javascript" src="' + eval(webIni.webUrl) + '/lib/clientLib.js"></script>'); - print("</head>"); - print('<body class="standardFont backdropColor">'); - print('<div style="text-align: center">'); - - // Open the container - print('<div id="container" class="standardBorder standardColor">'); - - // Draw the header - print('<div id="header" class="standardBorder titleFont">'); - print('<div class="standardMargin">'); - print(eval(webIni.headerText)); - print("</div>"); - print("</div>"); - - // Draw the sidebar - print('<div id="sidebar">'); - print('<div style="margin:10px;">'); // Uh oh - a hard-coded value :| - // Load the sidebar widgets - var c = 0; - var d = directory(webIni.webRoot + "/sidebar/*"); - for(var f in d) { - if(file_isdir(d[f])) continue; - print('<div class="sidebarBox standardBorder standardPadding underMargin">'); - if(file_getext(d[f]).toUpperCase() == ".SSJS" || file_getext(d[f]).toUpperCase() == ".JS") load(d[f]); - if(file_getext(d[f]).toUpperCase() == ".TXT" || file_getext(d[f]).toUpperCase() == ".HTML") { - var handle = new File(d[f]); - handle.open("r",true); - var printme = handle.read(); - handle.close(); - if(file_getext(d[f]).toUpperCase() == ".TXT") printme = "<pre>" + printme + "</pre>"; - print(printme); - } - c++; - print("</div>"); - } - print("</div>"); - print("</div>"); - - // Main content box opens here - print('<div id="content">'); - print('<div class="standardMargin">'); -} - -function closePage() { - print("</div>"); - print("</div>"); - // Close the main content box - - // Draw the footer - print('<div id="footer" class="standardBorder">'); - print('<div class="standardMargin">'); - print(eval(webIni.footerText)); - print("</div>"); - print("</div>"); - - print("</div>"); - // Close the container - - // Close out the remaining HTML - print("</div>"); - print("</body>"); - print("</html>"); -} diff --git a/web/root/ecWeb/themes/hotdogstand/style.css b/web/root/ecWeb/themes/hotdogstand/style.css deleted file mode 100644 index 2af259081e..0000000000 --- a/web/root/ecWeb/themes/hotdogstand/style.css +++ /dev/null @@ -1,216 +0,0 @@ -/* hotdogstand v2 by echicken */ - -/* lol :| */ - -/* HTML input elements, (eg. text inputs, buttons.) */ -button, input { - border-style: solid; - border-width: 1px; - border-color: #000000; -} - -textarea { - border-style: solid; - border-width: 1px; - border-color: #000000; -} - -/* The background of the top level of the page */ -.backdropColor { - background-color: #FFFF00; -} - -/* Colors applied to heading boxes in the forum (eg. board names) */ -.subBoardHeaderColor { - background-color: #FFFF00; - color: #000000; -} - -/* Colors applied to boxes below the heading boxes in the forum (eg. messages) */ -.messageBoxColor { - background-color: #FFFF00; - color: #000000; -} - -/* The font that is used most of the time. */ -.standardFont { - font-family: arial,helvetica; - font-size: 10pt; -} - -/* The font used in the page header and for page titles (eg. "Message Forum") */ -.titleFont { - font-size: 16pt; - font-weight: bold; -} - -/* The font that is used for items such as message subjects and message group names. */ -.headingFont { - /* Message group names, subject lines */ - font-weight: bold; -} - -/* Set a font-family, etc. here if you want a different (eg. monospace) font - for messages in the forum. */ -.messageFont { - -} - -/* The foreground and background colors used most in most places. */ -.standardColor { - color: #FFFFFF; - background-color: #FF0000; -} - -/* The border that is drawn around the various 'boxes' that make up each page. */ -.standardBorder { - border-style: solid; - border-width: 1px; -} - -/* The buffer between certain elements. Best left as is. */ -.standardMargin { - margin: 10px; -} - -/* The buffer between certain elements' borders and their contents. Best left as is. */ -.standardPadding { - padding: 10px; -} - -/* The buffer between certain elements and the elements below them. Best left as is. */ -.underMargin { - margin-bottom: 10px; -} - -/* The amount certain items are indented (particularly in the forum.) */ -.treeIndent { - margin-left: 40px; -} - -/* As above, but for items that need to be indented even more. */ -.subTreeIndent { - margin-left: 80px; -} - -/* By default, the inverse of .standardColor. Not currently used. */ -.reverseColor { - color: #FFFFFF; - background-color: #000000; -} - -/* For use with <hr>, draws a thin, solid line. Deprecated and not currently used. */ -.line { - width: 100%; - border: 0; - color: #000000; - background-color: #000000; - height: 1px; -} - -/* The style applied to most hyperlinks. */ -.link { - text-decoration: none; - font-weight: bold; -} - -.link:link { - color: #FFFFFF; - background-color: #FF0000; -} - -.link:visited { - color: #FFFFFF; - background-color: #FF0000; -} - -.link:hover { - color: #000000; - background-color: #FFFF00; -} - -.link:active { - color: #000000; - background-color: #000000; -} - -/* The style applied to certain hyperlinks, especially in the forum. */ -.ulLink { - text-decoration: none; - font-weight: bold; -} - -.ulLink:link { - color: #FFFFFF; -} - -.ulLink:visited { - color: #FFFFFF; -} - -.ulLink:hover { - color: #FFFFFF; - text-decoration: underline; -} - -.ulLink:active { - color: #FFFFFF; - text-decoration: underline; -} - -.fakeUlLink { - text-decoration: underline; -} - -.textFile { - width: 765px; - /* Wrapping stuff from http://www.longren.org/wrapping-text-inside-pre-tags/ */ - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} - -/* This is the container that holds the header, footer, sidebar, and main - content of the page. (eg. the white box hovering over the grey backdrop - in the 'stocktastic' theme.) */ -#container { - width: 1024px; - text-align: left; -} - -/* This is the container that holds the header content. (eg. system.name) */ -#header { - width: 1024px; - clear: both; - border-style: none none solid none; -} - -/* This is the container that holds the sidebar widgets. */ -#sidebar { - width: 255px; - float: left; - border-style: none; -} - -/* Styles for the sidebar widget boxes can be set here. */ -.sidebarBox { -} - -/* This is the container that holds the main content of the page (eg. the - portion below the header, beside the sidebar, above the footer.) */ -#content { - width: 765px; - float: right; -} - -/* This is the container that holds the footer content. (eg. a Synchronet - version statement.) */ -#footer { - width: 1024px; - clear: both; - border-style: solid none none none; - text-align: right; - font-style: italic; -} -- GitLab