commit 00180c815d1d14194c9c5643457edad7257feff1
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-07-31T17:53:56Z |
| subject | Dropped obsolete Build ns |
commit 00180c815d1d14194c9c5643457edad7257feff1
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-07-31T17:53:56Z
Dropped obsolete Build ns
---
botanjs/src/Astro/Build/Components/BuildList.css | 36 ----------
botanjs/src/Astro/Build/Components/BuildList.js | 1 -
botanjs/src/Astro/Build/Components/BuildReport.css | 82 ----------------------
botanjs/src/Astro/Build/Components/BuildReport.js | 55 ---------------
botanjs/src/Astro/Build/Components/ItemList.css | 59 ----------------
botanjs/src/Astro/Build/Components/ItemList.js | 1 -
botanjs/src/Astro/Build/Layout/MainFrame.css | 66 -----------------
botanjs/src/Astro/Build/Layout/MainFrame.js | 22 ------
botanjs/src/Astro/Build/Page/About.css | 11 ---
botanjs/src/Astro/Build/Page/About.js | 1 -
botanjs/src/Astro/Build/Page/Index.css | 27 -------
botanjs/src/Astro/Build/Page/Index.js | 1 -
botanjs/src/Astro/Build/Page/_this.css | 5 --
13 files changed, 367 deletions(-)
diff --git a/botanjs/src/Astro/Build/Components/BuildList.css b/botanjs/src/Astro/Build/Components/BuildList.css
deleted file mode 100644
index ba5d28e..0000000
--- a/botanjs/src/Astro/Build/Components/BuildList.css
+++ /dev/null
@@ -1,36 +0,0 @@
-.build-list > a {
- font-family: site-mono;
-
- display: block;
-
- float: left;
- line-height: 0;
-
- position: relative;
-
- margin: 1px;
- padding: 1.5em;
-
- background-color: rgba( 0, 0, 0, 0 );
-}
-
-.build-list > a:hover {
- background-color: rgba( 0, 0, 0, 1 );
-}
-
-.build-list > a:after
-, .build-list > a:before {
- content: "";
- background-color: rgba( 0, 255, 0, 0.5 );
-
- width: 3em;
- height: 3em;
- top: 0;
- left: 0;
-
- position: absolute;
-}
-
-.build-list > a[data-clone="false"]:before
-, .build-list > a[data-build="false"]:after
-{ background-color: rgba( 255, 0, 0, 0.5 ); }
diff --git a/botanjs/src/Astro/Build/Components/BuildList.js b/botanjs/src/Astro/Build/Components/BuildList.js
deleted file mode 100644
index d085aae..0000000
--- a/botanjs/src/Astro/Build/Components/BuildList.js
+++ /dev/null
@@ -1 +0,0 @@
-// __namespace( "Astro.Build.Components.BuildList" );
diff --git a/botanjs/src/Astro/Build/Components/BuildReport.css b/botanjs/src/Astro/Build/Components/BuildReport.css
deleted file mode 100644
index 1c1afe3..0000000
--- a/botanjs/src/Astro/Build/Components/BuildReport.css
+++ /dev/null
@@ -1,82 +0,0 @@
-.build-report > pre {
- padding: 2em;
-
- border-width: 1px;
-
- color: #C2C5C9;
- background-color: #0C121B;
-}
-
-
-.build-report > pre.ok {
-
-}
-
-.build-status {
- color: #888;
- padding-left: 2em;
- margin-bottom: 0.5em;
-}
-.build-status > * .ok { color: green; }
-.build-status > * .failed { color: darkred; }
-
-.build-commit-message {
- font-family: site-mono;
- padding: 0.2em 0;
-}
-
-#commit-message {
- padding: 1em;
- background-color: #EEE;
-}
-
-#commit-sha { color: #666; }
-#commit-sha.ok { color: royalblue; }
-#commit-sha.failed { color: orangered; }
-
-.section {
- position: relative;
- overflow: hidden;
-
- margin: 1em -2em;
- padding: 2em;
-
- background-color: black;
- color: #909396;
-}
-
-.section:hover {
- color: inherit;
-}
-
-.section:before {
- content: attr(data-name);
- right: 0.2em;
- bottom: 0;
-
- font-family: custom-sans;
- font-size: 2em;
-
- color: #C2C5C9;
-
- position: absolute;
-}
-
-.section > div {
- margin-bottom: -100px;
- overflow-y: hidden;
-}
-
-.section > div > p {
- padding-bottom: 100px;
- overflow-x: scroll;
-}
-
-
-.section:hover:before {
- color: #909396;
-}
-
-
-.status.failed { color: orangered; }
-.status.ok { color: yellowgreen; }
diff --git a/botanjs/src/Astro/Build/Components/BuildReport.js b/botanjs/src/Astro/Build/Components/BuildReport.js
deleted file mode 100644
index 5aa0bb9..0000000
--- a/botanjs/src/Astro/Build/Components/BuildReport.js
+++ /dev/null
@@ -1,55 +0,0 @@
-(function(){
- var ns = __namespace( "Astro.Build.Components.BuildReport" );
-
- /** @type {System.utils.IKey} */
- var IKey = __import( "System.utils.IKey" );
- /** @type {Dandelion} */
- var Dand = __import( "Dandelion" );
- /** @type {Astro.Bootstrap} */
- var Bootstrap = __import( "Astro.Bootstrap" );
- /** @type {System.Debug} */
- var debug = __import( "System.Debug" );
-
- var getData = __import( "System.Net.getData" );
-
- var init = function()
- {
- var commit = Dand.id( "commit-sha", true );
- var putCommitMessage = function( e )
- {
- Dand.id( "commit-message" ).innerHTML = e || "Failed to load message";
- commit.setAttribute( new IKey( "class", e ? "ok" : "failed" ) )
- };
-
- sanitizeReport();
-
- getData( "/" + commit.getDAttribute( "project" ) + "/commit-message/" + commit.getDAttribute( "sha" ), putCommitMessage, putCommitMessage );
- };
-
- var sanitizeReport = function()
- {
- var buildMessage = Dand.id( "build-message" );
- var message = buildMessage.innerHTML.replace( );
-
- var sRegEx = /[\r\n]*{CI_SECTION_START}[\r\n\s]*(.*)[\r\n]*/g;
- var eRegEx = /[\r\n]*{CI_SECTION_END}[\r\n]*/g;
-
- var sCount = ( message.match( sRegEx ) || [] ).length;
- if( !sCount ) return;
-
- if( sCount != ( message.match( eRegEx ) || [] ).length )
- {
- debug.Error( new Error( "Section Flag count mismatch" ) );
- return;
- }
-
- buildMessage.innerHTML = message
- .replace( sRegEx, "<pre class=\"section\" data-name=\"$1\"><div><p>" )
- .replace( eRegEx, "</p></div></pre>" )
- .replace( /: (failed|ok)\n/g, ": <span class=\"status $1\">$1</span>\n" )
- ;
-
- };
-
- Bootstrap.regInit( init );
-})();
diff --git a/botanjs/src/Astro/Build/Components/ItemList.css b/botanjs/src/Astro/Build/Components/ItemList.css
deleted file mode 100644
index 0f033ed..0000000
--- a/botanjs/src/Astro/Build/Components/ItemList.css
+++ /dev/null
@@ -1,59 +0,0 @@
-div.project-list > a * {
- -webkit-transition: all .25s;
- -moz-transition: all .25s;
- -o-transition: all .25s;
- transition: all .25s;
-}
-
-div.project-list > a {
- width: 100%;
- height: 50px;
-
- color: #909396;
- background-color: rgba( 0, 0, 0, 0.8 );
-
- font-size: 4em;
-
- text-align: right;
-
- display: block;
- overflow: hidden;
-
- position: relative;
-
- margin: 0.2em 0;
-
- -webkit-transition: all .5s;
- -moz-transition: all .5s;
- -o-transition: all .5s;
- transition: all .5s;
-
- box-sizing: border-box;
-}
-
-div.project-list > a:after {
- content: attr(data-desc);
-
- color: #C2C5C9;
- font-size: 0.25em;
- padding: 0.25em 0.5em;
-
- top: 0;
-
- display: block;
-
- position: absolute;
-
- -webkit-transition: all .5s;
- -moz-transition: all .5s;
- -o-transition: all .5s;
- transition: all .5s;
-}
-
-div.project-list > a:hover {
- padding-right: 0.25em;
-}
-
-div.project-list > a:hover:after {
- padding-left: 1em;
-}
diff --git a/botanjs/src/Astro/Build/Components/ItemList.js b/botanjs/src/Astro/Build/Components/ItemList.js
deleted file mode 100644
index 0e25899..0000000
--- a/botanjs/src/Astro/Build/Components/ItemList.js
+++ /dev/null
@@ -1 +0,0 @@
-// __namespace( "Astro.Build.Components.ItemList" );
diff --git a/botanjs/src/Astro/Build/Layout/MainFrame.css b/botanjs/src/Astro/Build/Layout/MainFrame.css
deleted file mode 100644
index b8c141b..0000000
--- a/botanjs/src/Astro/Build/Layout/MainFrame.css
+++ /dev/null
@@ -1,66 +0,0 @@
-html, body { height: 100%; }
-
-html { background-color: #222; }
-body {
- font-family: custom-sans;
-}
-
-.horizon { background-color: #3a68b2; }
-
-.content-wrapper {
- position: relative;
-
- margin: 0 auto;
- padding: 2em;
-
- width: 75%;
-
- background-color: rgba( 255, 255, 255, 0.6 );
-}
-
-.begin-wrapper {
- position: relative;
-
- min-height: 100%;
- color: #0C121B;
- background-color: white; /*#C2C5C9*/
-
- overflow: hidden;
-}
-
-a {
- color: #3A68B2;/*#48494A;*/
- text-decoration: none;
-}
-
-a:hover { text-decoration: underline; }
-
-h1, h2, h3, h4 { font-family: custom-serif; }
-
-h1 { font-size: 2em; }
-h2 { font-size: 1.5em; }
-h3 { font-size: 1.2em; }
-
-ul.breadcrumb > li {
- display: inline-block;
-}
-
-ul.breadcrumb > li:first-child:before {
- content: "";
- position: absolute;
-}
-
-ul.breadcrumb > li:before {
- content: ">";
- color: rgba( 0, 0, 0, 0.2 );
-}
-
-.greyed { color: #C2C5C9; }
-
-footer {
- background-image: url("http://file.astropenguin.net/blog/layout-images/build - blockdeco.png");
- background-position: 101% -150px;
- background-repeat: no-repeat;
- background-size: 30%;
-}
-
diff --git a/botanjs/src/Astro/Build/Layout/MainFrame.js b/botanjs/src/Astro/Build/Layout/MainFrame.js
deleted file mode 100644
index 61bec28..0000000
--- a/botanjs/src/Astro/Build/Layout/MainFrame.js
+++ /dev/null
@@ -1,22 +0,0 @@
-(function(){
- var ns = __namespace( "Astro.Build.Layout.MainFrame" );
-
- var Dand = __import( "Dandelion" );
- /** @type {Astro.Bootstrap} */
- var Bootstrap = __import( "Astro.Bootstrap" );
- /** @type {Dandelion.IDOMElement} */
- var IDOMElement = __import( "Dandelion.IDOMElement" );
- /** @type {Astro.Mechanism.CharacterCloud} */
- var CharacterCloud = __import( "Astro.Mechanism.CharacterCloud" );
- /** @type {Dandelion.Window} */
- var wsupp = __import( "Dandelion.Window" );
-
- // __import( "Dandelion.CSSReset" ); CSS_RESERVATION
- // __import( "Dandelion.CSSAnimations" ); CSS_RESERVATION
-
- var init = function ()
- {
- };
-
- Bootstrap.regInit( init );
-})();
diff --git a/botanjs/src/Astro/Build/Page/About.css b/botanjs/src/Astro/Build/Page/About.css
deleted file mode 100644
index 06e68f7..0000000
--- a/botanjs/src/Astro/Build/Page/About.css
+++ /dev/null
@@ -1,11 +0,0 @@
-ol.numlist {
- counter-reset: item;
-}
-
-ol.numlist > li:before {
- display: inline-block;
- content: counter(item);
- counter-increment: item;
- width: 1.2em;
- text-align: center;
-}
diff --git a/botanjs/src/Astro/Build/Page/About.js b/botanjs/src/Astro/Build/Page/About.js
deleted file mode 100644
index 9860667..0000000
--- a/botanjs/src/Astro/Build/Page/About.js
+++ /dev/null
@@ -1 +0,0 @@
-// var ns = __namespace( "Astro.Build.Page.About" );
diff --git a/botanjs/src/Astro/Build/Page/Index.css b/botanjs/src/Astro/Build/Page/Index.css
deleted file mode 100644
index af4dfb7..0000000
--- a/botanjs/src/Astro/Build/Page/Index.css
+++ /dev/null
@@ -1,27 +0,0 @@
-.site-news { font-family: site-mono; }
-.site-news > span { display: block; }
-
-.rbuilds > a {
- display: block;
- font-family: site-mono;
-}
-.rbuilds > a > span {
- padding: 0 0.5em;
-}
-
-.bstatus {
- color: red;
- margin: 0 0.2em;
-}
-
-.bstatus[data-ok=true] {
- color: green;
-}
-
-.bstatus:before {
- content: "Failed";
-}
-
-.bstatus[data-ok=true]:before {
- content: "OK";
-}
diff --git a/botanjs/src/Astro/Build/Page/Index.js b/botanjs/src/Astro/Build/Page/Index.js
deleted file mode 100644
index 54f67fd..0000000
--- a/botanjs/src/Astro/Build/Page/Index.js
+++ /dev/null
@@ -1 +0,0 @@
-// var ns = __namespace( "Astro.Build.Page.Index" );
diff --git a/botanjs/src/Astro/Build/Page/_this.css b/botanjs/src/Astro/Build/Page/_this.css
deleted file mode 100644
index 412192b..0000000
--- a/botanjs/src/Astro/Build/Page/_this.css
+++ /dev/null
@@ -1,5 +0,0 @@
-.panel {
- padding: 0.5em;
- display: block;
-}
-