summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-25 17:36:53 -0400
committerJules Laplace <jules@okfoc.us>2015-09-25 17:36:53 -0400
commit3aa171fbaf05d0ee5b82673443da51ed43719475 (patch)
tree291426c3102cffff23f8b202ec14cd03df91e799
parentccd2a51e9206aa858313ae97550b09b9bf8476db (diff)
moving things around
-rw-r--r--bucky/app/bucky.js (renamed from lib/bucky.js)4
-rw-r--r--bucky/app/index.js (renamed from lib/index.js)0
-rw-r--r--bucky/app/router.js (renamed from lib/router.js)10
-rw-r--r--bucky/db/bookshelf.js (renamed from lib/db/bookshelf.js)0
-rw-r--r--bucky/db/fortune.js (renamed from lib/fortune.js)0
-rw-r--r--bucky/db/index.js (renamed from lib/db/index.js)0
-rw-r--r--bucky/util/auth.js (renamed from lib/auth.js)2
-rw-r--r--bucky/util/middleware.js (renamed from lib/middleware.js)0
-rw-r--r--bucky/util/util.js (renamed from lib/util.js)0
-rw-r--r--index.js2
-rw-r--r--public/assets/css/css/lost.css14
-rw-r--r--public/assets/css/css/poetaster.css25
-rwxr-xr-xpublic/assets/css/css/style.css137
-rwxr-xr-xpublic/assets/css/css/tabs.css98
-rwxr-xr-xpublic/assets/css/css/winxp.blue.css650
15 files changed, 9 insertions, 933 deletions
diff --git a/lib/bucky.js b/bucky/app/bucky.js
index bfc4b6f..43799fe 100644
--- a/lib/bucky.js
+++ b/bucky/app/bucky.js
@@ -1,5 +1,5 @@
-var db = require('./db')
-var util = require('./util')
+var db = require('../db')
+var util = require('../lib/util')
var _ = require('lodash')
var bucky = module.exports = {
diff --git a/lib/index.js b/bucky/app/index.js
index ad97526..ad97526 100644
--- a/lib/index.js
+++ b/bucky/app/index.js
diff --git a/lib/router.js b/bucky/app/router.js
index 66aa1bf..7ac6599 100644
--- a/lib/router.js
+++ b/bucky/app/router.js
@@ -1,8 +1,8 @@
-var auth = require('./auth')
-var middleware = require('./middleware')
-var fortune = require('./fortune')
-var bucky = require('./bucky')
-var util = require('./util')
+var auth = require('../util/auth')
+var middleware = require('../util/middleware')
+var fortune = require('../db/fortune')
+var bucky = require('../app/bucky')
+var util = require('../util/util')
module.exports = function(app){
app.all('*', middleware.ensureLocals)
diff --git a/lib/db/bookshelf.js b/bucky/db/bookshelf.js
index 69157cc..69157cc 100644
--- a/lib/db/bookshelf.js
+++ b/bucky/db/bookshelf.js
diff --git a/lib/fortune.js b/bucky/db/fortune.js
index 7adba5a..7adba5a 100644
--- a/lib/fortune.js
+++ b/bucky/db/fortune.js
diff --git a/lib/db/index.js b/bucky/db/index.js
index b6fa235..b6fa235 100644
--- a/lib/db/index.js
+++ b/bucky/db/index.js
diff --git a/lib/auth.js b/bucky/util/auth.js
index 38901e4..436d5e6 100644
--- a/lib/auth.js
+++ b/bucky/util/auth.js
@@ -2,7 +2,7 @@
var passport = require('passport'),
LocalStrategy = require('passport-local').Strategy,
crypto = require('crypto'),
- db = require('./db');
+ db = require('../db');
var auth = module.exports = {
diff --git a/lib/middleware.js b/bucky/util/middleware.js
index a744c89..a744c89 100644
--- a/lib/middleware.js
+++ b/bucky/util/middleware.js
diff --git a/lib/util.js b/bucky/util/util.js
index e67488b..e67488b 100644
--- a/lib/util.js
+++ b/bucky/util/util.js
diff --git a/index.js b/index.js
index 3cb2b31..650188f 100644
--- a/index.js
+++ b/index.js
@@ -1,2 +1,2 @@
-var app = require('./lib')
+var app = require('./bucky/app/index')
app.init()
diff --git a/public/assets/css/css/lost.css b/public/assets/css/css/lost.css
deleted file mode 100644
index 699a7a9..0000000
--- a/public/assets/css/css/lost.css
+++ /dev/null
@@ -1,14 +0,0 @@
-body { background-color: #EFEFEF; }
-body,div,.wl { font-family: "courier new",monospace; font-size: small; white-space: pre;}
-
-.h { background-color: yellow; }
-.s { background-color: #DFDFDF; }
-
-.m { color: darkgreen; } /* mode */
-.j { color: darkgreen; } /* join */
-.p { color: darkgreen; } /* part */
-.q { color: darkblue; } /* quit */
-.k { color: darkblue; } /* kick */
-.t { color: darkblue; } /* topic */
-.a { color: darkred; } /* action */
-.n { color: darkred; } /* nick */
diff --git a/public/assets/css/css/poetaster.css b/public/assets/css/css/poetaster.css
deleted file mode 100644
index ce0efc8..0000000
--- a/public/assets/css/css/poetaster.css
+++ /dev/null
@@ -1,25 +0,0 @@
-*
- {
- margin: 0;
- padding: 0;
- }
-body
- {
- }
-textarea
- {
- width: 300px;
- height: 100px;
- }
-pre
- {
- white-space: pre;
- font-family: georgia, serif;
- font-size: 16px;
- }
-#container
- {
- width: 400px;
- margin: 0 auto;
- }
-
diff --git a/public/assets/css/css/style.css b/public/assets/css/css/style.css
deleted file mode 100755
index 2d38361..0000000
--- a/public/assets/css/css/style.css
+++ /dev/null
@@ -1,137 +0,0 @@
-table
- {
- width: 100%;
- border-collapse: collapse;
- background-color: white;
- color: black;
- font: 10pt verdana, arial;
- margin-bottom: 25%; /* %, px, em, ex ? */
- }
-
-tr.subhead
- {
- background-color: #cccccc;
- }
-
-th
- {
- padding: 0 3%;
- }
-
-th.alt
- {
- background-color: black;
- color: white;
- padding: 3% 3% 2%;
- }
-
-td
- {
- padding: 0 3%;
- }
-
-tr.alt
- {
- background-color: #eeeeee;
- }
-
-h1
- {
- font: 24pt verdana, arial;
- margin: 0;
- }
-
-h2
- {
- font: 18pt verdana, arial;
- margin: 0;
- }
-
-h3
- {
- font: 12pt verdana, arial;
- margin: 0;
- }
-
-th a
- {
- color: #00008b;
- font: 8pt verdana, arial;
- }
-
-a
- {
- color: #00008b;
- text-decoration: none;
- }
-
-a:hover
- {
- color: #00008b;
- text-decoration: underline;
- }
-
-div.outer
- {
- width: 90%;
- margin: 15%;
- }
-
-table.viewmenu td
- {
- background-color: #006699;
- color: white;
- padding: 0 5%;
- }
-
-table.viewmenu td.end
- {
- padding: 0;
- }
-
-table.viewmenu a
- {
- color: white;
- font: 8pt verdana, arial;
- }
-
-table.viewmenu a:hover
- {
- color: white;
- font: 8pt verdana, arial;
- }
-
-a.tinylink
- {
- color: #00008b;
- font: 8pt verdana, arial;
- text-decoration: underline;
- }
-
-a.link
- {
- color: #00008b;
- text-decoration: underline;
- }
-
-div.buffer
- {
- padding-top: 7%;
- padding-bottom: 17%;
- }
-
-.small
- {
- font: 8pt verdana, arial;
- }
-
-table td
- {
- padding-right: 20%;
- }
-
-table td.nopad
- {
- padding-right: 5%;
- }
-
diff --git a/public/assets/css/css/tabs.css b/public/assets/css/css/tabs.css
deleted file mode 100755
index 3b7250e..0000000
--- a/public/assets/css/css/tabs.css
+++ /dev/null
@@ -1,98 +0,0 @@
-#screenTabs {
-float:left;
-width: 100%;
-min-height: 1px;
-height: 1px;
-background:#ffffff url("../img/icons/tabs/bg.gif") repeat-x bottom;
-}
-
-td > #screenTabs {
-height: auto;
-}
-
-#tabs {
-float:left;
-width:620px;
-line-height:normal;
-white-space: nowrap;
-background:#ffffff url("../img/icons/tabs/bg.gif") repeat-x bottom;
-}
-
-#tabs ul {
-margin:0;
-padding: 0px 10px 10px 10px;
-list-style:none;
-}
-
-#tabs a {
-display: block;
-background:url("../img/icons/tabs/right.gif") no-repeat right top;
-padding:5px 9px 4px 4px;
-vertical-align: baseline;
-text-decoration: none;
-color: #000000;
-width:.1em;
-}
-
-#tabs > ul a {
-width: auto;
-}
-
-#tabs a:hover,
-#tabs a:visited,
-#tabs a:active {
-text-decoration: none;
-color: #000000;
-}
-
-#tabs li {
-float:left;
-background:url("../img/icons/tabs/left.gif") no-repeat left top;
-margin:0;
-padding:0 0 0 2px;
-border-bottom: solid 1px #776655;
-}
-
-#tabs li#current {
-border-width: 0;
-}
-
-#tabs #current {
-background-image:url("../img/icons/tabs/left_on.gif");
-margin-left: -3px;
-}
-#tabs #current a {
-background-image:url("../img/icons/tabs/right_on.gif");
-padding:3px 9px 7px 6px;
-vertical-align: baseline;
-}
-
-#tabs .last a {
-background-image:url("../img/icons/tabs/right_last.gif");
-}
-
-#tabs .first {
-background-image:url("../img/icons/tabs/left_first.gif");
-}
-
-#tabs .first#current {
-margin-left: 0;
-}
-
-#tabs li:hover {
-background-position: 0% -150px;
-cursor: pointer;
-}
-
-#tabs li:hover a {
-background-position: 100% -150px;
-}
-
-#tabs li.first:hover {
-background-position: top left;
-}
-
-#tabs a:hover {
-background-position: 100% -150px;
-}
-
diff --git a/public/assets/css/css/winxp.blue.css b/public/assets/css/css/winxp.blue.css
deleted file mode 100755
index 476e415..0000000
--- a/public/assets/css/css/winxp.blue.css
+++ /dev/null
@@ -1,650 +0,0 @@
-html
- {
- height: 100%;
- min-height: 100%;
- border-width: 0px;
- }
-
-body
- {
- height: 100%;
- min-height: 100%;
- margin: 0px;
- padding: 0px;
- font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
- font-weight: normal;
- background-color: #F9F8F8;
- color: #000000;
- }
-
-p, div, span {
- font-size: 11px;
-}
-
-.screenLayout {
- position: relative;
- min-height: 100%;
- margin-bottom: 0;
-}
-* html .screenLayout {
- height: 100%;
-}
-
-.headerContainer
- {
- background-image: url('../img/common/top_bg.jpg');
- background-repeat: repeat-x;
- background-position: left bottom;
- background-color: #FEFEFE;
- margin: 0px;
- }
-
-.pageHeader
- {
- background-image: url('../img/common/top_body_bg.jpg');
- background-position: top right;
- background-repeat: no-repeat;
- text-align: left;
- margin: 0px;
- height: 50px;
- }
-
-.pageHeader img
- {
- margin-left: 0px;
- margin-top: 0px;
- }
-
-.footerContainer
- {
- position: absolute;
-/* visibility:hidden; */
- bottom: 0px;
- height: 40px;
- width: 100%;
- border-top: solid 1px #6E89DD;
- background-color: #8EA5EC;
- margin-bottom: 0;
- }
-
-.contentLayout
- {
- text-align: center;
- padding-bottom: 120px;
- }
-
-.contentContainer
- {
- width: 620px;
- text-align: left;
- margin-left: auto;
- margin-right: auto;
- /*
- border-left: solid 1px #dddddd;
- border-right: solid 1px #dddddd;
- */
- }
-
-.pageContent
- {
- margin-top: 49px;
- }
-
-.mainPageBanner
- {
- background-color: #ffffff;
- background-image: url('../img/common/banner.gif');
- background-repeat: no-repeat;
- border: solid 2px #A6BDDA;
- padding: 20px 20px 10px 215px;
- margin-bottom: 10px;
-}
-
-.mainPageBanner p,
-.mainPageBanner li
- {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 12px;
-}
-
-.mainPageBanner li
- {
- margin-bottom: 3px;
-}
-
-.mainPageBanner ul
- {
- margin: 5px 0 10px 22px;
- padding: 0;
-}
-
-.mainPageBanner .welcomeText
- {
- font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
- color: #4A78B3;
- font-size: 18px;
- font-weight: bold;
- margin-top: 0;
- border-bottom: 1px solid #cccccc;
- }
-
-.mainPageBanner hr {
- height: 0;
- border: 0;
- border-bottom: 1px solid #cccccc;
-}
-
-p.descriptionText
- {
- color: #555555;
- font-weight: bold;
- }
-
-.domainName
- {
- color: #000000;
- }
-
-.pageContent p
- {
- margin: 0px;
- margin-top: 10px;
- padding: 5px;
- }
-
-.pageContent li
- {
- padding: 2px;
- }
-
-.formContainer
- {
- padding: 5px;
- }
-
-form
- {
- margin: 0px;
- padding: 0px;
- }
-
-.buttonsContainer
- {
- margin-top: 10px;
- text-align: right;
- }
-
-.buttonsContainer .commonButton span
- {
- display: none;
- }
-
-.buttonsContainer .commonButton button
- {
- width: 91px;
- height: 21px;
- text-align: center;
- }
-
-.buttonsContainer .commonButton button
- {
- white-space: nowrap;
- }
-
-.buttonsContainer .commonButton
- {
- margin-left: 14px;
- }
-
-.buttonsContainer .commonButton span
- {
- background-position: 0 1px;
- background-repeat: no-repeat;
- background-color: transparent;
- padding-left: 20px;
- text-decoration: underline;
- cursor: pointer;
- padding-top: 1px;
- padding-bottom: 4px;
- }
-
-.commonButton
- {
- display: inline;
- }
-
-.commonButton button
- {
- background-image: url('../img/glyph/btn_bg.gif');
- border: 0 solid white;
- background-repeat: no-repeat;
- }
-
-.commonButton button[disabled]
- {
- background-image: url('../img/glyph/btn_bg-disabled.gif');
- color: #999999;
- }
-
-.commonButton button,
-.commonButton
- {
- font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
- color: #000000;
- background-color: transparent;
- }
-
-#bid-ok button
- {
- background-image: url('../img/glyph/btn_ok_bg.gif');
- padding-left: 8px;
- }
-
-.formFields td.name
- {
- font-size: 11px;
- vertical-align: top;
- padding-left: 0;
- padding-right: 10px;
- padding-bottom: 10px;
- width: 200px;
- }
-
-.name
- {
- font-weight: bold;
- color: #555555;
- }
-
-legend
- {
- color: #0046D5;
- margin-bottom: 5px;
- margin-left: 0px;
- padding-right: 3px;
- vertical-align: middle;
- padding-bottom: 3px;
- }
-
-.testRelults
- {
- height: 26px;
- margin-top: 5px;
- margin-bottom: 10px;
- border: solid 1px #999999;
- padding: 5px;
- padding-left: 26px;
- background-repeat: no-repeat;
- background-position: 5px 50%;
- vertical-align: middle;
- line-height: 26px;
- }
-
-.testRelults#testSuccessful
- {
- background-color: #eeffee;
- background-image: url('../img/icons/success.gif');
- }
-
-.testRelults#testFailed
- {
- background-color: #ffeeee;
- background-image: url('../img/icons/fail.gif');
- }
-
-.testResult
- {
- vertical-align: middle;
- font-weight: bold;
- }
-
-.pageNavigation
- {
- padding: 5px;
- background-color: #eeeeee;
- }
-
-.pageNavigation ul
- {
- list-style: none;
- padding: 0px;
- margin: 0px;
- }
-
-.pageNavigation li
- {
- display: inline;
- padding: 5px;
- padding-right: 0px;
- white-space: nowrap;
- }
-
-.pageNavigation a,
-.pageNavigation a:link,
-.pageNavigation a:visited,
-.pageNavigation a:active,
-.pageNavigation a:hover
- {
- color: #000000;
- text-decoration: none;
- font-weight: bold;
- padding-left: 5px;
- }
-
-.pageNavigation a:hover
- {
- color: #666666;
- text-decoration: underline;
- }
-
-.pathBar
- {
- color: #444444;
- padding: 5px;
- padding-top: 15px;
- }
-
-.pathBar a:link,
-.pathBar a:visited
- {
- color: #444444;
- }
-
-.screenTitle
- {
- font-size: 18px;
- font-family: "Franklin Gothic Medium", Verdana, Geneva, Arial, Helvetica, sans-serif;
- color: #000000;
- padding: 5px;
- }
-
-.tabContent
- {
- border-left: solid 1px #999999;
- border-right: solid 1px #999999;
- border-bottom: solid 1px #999999;
- padding: 5px;
- background-color: #f9f9f9;
- margin-top: 10px;
- }
-
-.poweredBy
- {
- float: right;
- padding: 5px;
- padding-left: 0px;
- }
-
-a img
- {
- border-width: 0px;
- }
-
-.footDescription
- {
- float: left;
- padding: 5px;
- color: #2A3D9E;
- height: 30px;
- line-height: 30px;
- vertical-align: middle;
- }
-
-a,
-a:link,
-a:visited,
-a:active,
-a:hover
- {
- text-decoration: underline;
- color: #324290;
- }
-
-a:hover
- {
- color: #6F85F0;
- }
-
-.iconsArea
- {
- padding-top: 20px;
- white-space: normal;
- }
-
-.iconsArea a,
-.iconsArea a:link,
-.iconsArea a:visited,
-.iconsArea a:hover
- {
- color: #000000;
- text-decoration: none;
- white-space: nowrap;
- }
-
-.icon
- {
- margin: 0 20px 5px 0;
- display: -moz-inline-box;
- display: inline-block;
- width: 70px;
- height: 15px;
- background-image: url('../img/common/1x1.gif');
- background-repeat: no-repeat;
- background-position: 50% 0%;
- text-align: center;
- padding-top: 35px;
- cursor: pointer;
- }
-.icon span {
- display: block;
- width: 70px;
- text-align: center;
-}
-
-#asp
- {
- background-image: url('../img/glyph/btn_asp_bg.gif');
- }
-
-#aspnet
- {
- background-image: url('../img/glyph/btn_aspdotnet_bg.gif');
- }
-
-#coldfusion
- {
- background-image: url('../img/glyph/btn_coldfusion_bg.gif');
- }
-
-#perl
- {
- background-image: url('../img/glyph/btn_perl_bg.gif');
- }
-
-#php
- {
- background-image: url('../img/glyph/btn_php_bg.gif');
- }
-
-#python
- {
- background-image: url('../img/glyph/btn_python_bg.gif');
- }
-
-#ssi {
- background-image: url('../img/glyph/btn_ssi_bg.gif');
-}
-
-#fcgi {
- background-image: url('../img/glyph/btn_fast_cgi_bg.gif');
-}
-
-#miva {
- background-image: url('../img/glyph/btn_miva_bg.gif');
-}
-
-.footDescription a:hover
- {
- color: #000066;
- }
-/* NewsFeeds Add */
-.dLayout {
-table-layout: fixed;
-border-collapse: collapse;
-}
-
-.dColumn {
-width: 50%;
-vertical-align: top;
-padding: 0;
-}
-
-.dColumn.expanded {
-width: 100% !important;
-}
-
-.dBox {
-margin: 10px 0 0 10px;
-border-bottom: solid 1px #6f8add;
-}
-.first .dBox {
-margin-left: 0;
-}
-.dBoxHeaderLayout {
-height: 21px;
-padding-left: 3px;
-background: transparent url('../img/glyph/dBox-header-left.gif') no-repeat top left;
-}
-.dBoxHeaderArea {
-height: 21px;
-line-height: 21px;
-vertical-align: middle;
-overflow: hidden;
-background: transparent url('../img/glyph/dBox-header-right.gif') no-repeat top right;
-}
-.dBoxFooterArea,
-.dBoxHeaderArea {
-padding: 0 5px;
-white-space: nowrap;
-}
-.dBoxHeaderArea {
-font-family: Tahoma, Arial, Helvetica, sans-serif;
-font-size: 11px;
-color: #fff;
-font-weight: bold;
-}
-.dBoxHeaderArea .misc {
-}
-.dBoxFooterLayout {
-height: 27px;
-overflow: hidden;
-border-left: solid 1px #6f8add;
-border-right: solid 1px #6f8add;
-}
-.dBoxContent {
-border-left: solid 1px #6f8add;
-border-right: solid 1px #6f8add;
-padding: 10px;
-color: #000;
-background-color: #ffffff;
-}
-.dBoxFooterArea {
-background: transparent url('../img/glyph/dBox-footer-bg.gif') repeat-x;
-height: 27px;
-overflow: hidden;
-text-align: right;
-padding-right: 10px;
-}
-.wrapper {
-clear: both;
-height: 0;
-overflow: hidden;
-}
-#refreshList {
-display: -moz-inline-box;
-display: inline-block;
-padding-left: 20px;
-background-image: url('../img/glyph/btn_refresh-list_bg.gif');
-background-repeat: no-repeat;
-height: 16px;
-margin-top: 5px;
-}
-.NFtitle {
-font-weight: bold;
-display: block;
-}
-.NFitem {
-display: block;
-margin-bottom: 5px;
-}
-.NFsource {
-margin-right: 5px;
-}
-.NFstatus {
-margin-right: 5px;
-font-weight: bold;
-}
-.NFtime {
-color: #333;
-}
-#testPages p {
-margin: 0;
-padding: 0;
-}
-
-
-/* New Top begin */
-
-#topTxtBlock {
- text-align: right;
- margin-right: 30px;
- white-space: nowrap;
- height: 50px;
-}
-
-#topCopyright {
- text-align: right;
- display: -moz-inline-box;
- display: inline-block;
- margin-right: 9px;
- margin-top: 11px;
-}
-
-#topTxtBanner {
- display: -moz-inline-box;
- display: inline-block;
- border-left: 1px solid #dce7ff;
- background-image: url('../img/common/vz_top.gif');
- background-position: 9px 3px;
- background-repeat: no-repeat;
- padding-left: 36px;
- text-align: left;
-
-}
-
-#topCopyright a:link,
-#topCopyright a:visited {
- display: block;
- text-decoration: none;
- font-size: 11px;
- color: #d6e0ff;
- white-space: nowrap;
-}
-
-#topTxtBanner a:link,
-#topTxtBanner a:visited {
- display: block;
- text-decoration: none;
- font-size: 11px;
- color: #ffffff;
- white-space: nowrap;
-}
-
-.topLogo {
-float: left;
-}
-
-
-/* New Top end */