diff --git a/app/Controllers/Projects.php b/app/Controllers/Projects.php index 6f71fec..2e1802b 100644 --- a/app/Controllers/Projects.php +++ b/app/Controllers/Projects.php @@ -63,10 +63,104 @@ class Projects extends BaseController 'bko_session' => rand(10000,9999999).'-hhdsdyuyu487484398439843jjhjfhjfdhjfdhjfdhj89498498598jfjfhjf', 'lastName'=> $out['lastname'], 'firstName'=> $out['firstname'], - 'username'=> $out['username'] + 'username'=> $out['username'], + 'project_list' => $this->projectList(), + 'devop_list' => $this->devOpList(), ]); } return $loginComplete; } + + + private function projectList(){ + $data =[ + 'chiefsoft'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'myfit'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'wrenchboard'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'coregrade'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'float'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + ]; + return $data; + } + private function devOpList(){ + $data =[ + 'chiefsoft'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'myfit'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'wrenchboard'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'coregrade'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + 'float'=>[ + 'DEV'=>[ + + ], + 'LIVE'=>[ + + ] + ], + ]; + return $data; + } } diff --git a/app/Views/projects/projpage.php b/app/Views/projects/projpage.php index 8026ec9..dc8d65a 100644 --- a/app/Views/projects/projpage.php +++ b/app/Views/projects/projpage.php @@ -1 +1,7276 @@ -We got here \ No newline at end of file + + + + + + +
| AUTHOR | +CONV. | +CHART | +VIEW | +
|---|---|---|---|
|
+
+
+
+
+
+ Guy Hawkins
+ Haiti
+
+ |
+ + 78.34% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Jane Cooper
+ Monaco
+
+ |
+ + 63.83% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Jacob Jones
+ Poland
+
+ |
+ + 92.56% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Cody Fishers
+ Mexico
+
+ |
+ + 63.08% + | ++ + | ++ + + + | +
| AUTHOR | +CONV. | +CHART | +VIEW | +
|---|---|---|---|
|
+
+
+
+
+
+ Brooklyn Simmons
+ Poland
+
+ |
+ + 85.23% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Esther Howard
+ Mexico
+
+ |
+ + 74.83% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Annette Black
+ Haiti
+
+ |
+ + 90.06% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Marvin McKinney
+ Monaco
+
+ |
+ + 54.08% + | ++ + | ++ + + + | +
| AUTHOR | +CONV. | +CHART | +VIEW | +
|---|---|---|---|
|
+
+
+
+
+
+ Jacob Jones
+ New York
+
+ |
+ + 52.34% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Ronald Richards
+ Madrid
+
+ |
+ + 77.65% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Leslie Alexander
+ Pune
+
+ |
+ + 82.47% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Courtney Henry
+ Mexico
+
+ |
+ + 67.84% + | ++ + | ++ + + + | +
| AUTHOR | +CONV. | +CHART | +VIEW | +
|---|---|---|---|
|
+
+
+
+
+
+ Arlene McCoy
+ London
+
+ |
+ + 53.44% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Marvin McKinneyr
+ Monaco
+
+ |
+ + 74.64% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Jacob Jones
+ PManila
+
+ |
+ + 88.56% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Esther Howard
+ Iceland
+
+ |
+ + 63.16% + | ++ + | ++ + + + | +
| AUTHOR | +CONV. | +CHART | +VIEW | +
|---|---|---|---|
|
+
+
+
+
+
+ Jane Cooper
+ Haiti
+
+ |
+ + 68.54% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Esther Howard
+ Kiribati
+
+ |
+ + 55.83% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Jacob Jones
+ Poland
+
+ |
+ + 93.46% + | ++ + | ++ + + + | +
|
+
+
+
+
+
+ Ralph Edwards
+ Mexico
+
+ |
+ + 64.48% + | ++ + | ++ + + + | +
| ITEM | +BUDGET | +PROGRESS | +STATUS | +CHART | +VIEW | +
|---|---|---|---|---|---|
|
+
+
+
+
+
+
+ Mivy App
+ Jane Cooper
+
+ |
+ + $32,400 + | ++ + + + + + 9.2% + + | ++ In Process + | ++ + | ++ + + + | +
|
+
+
+
+
+
+
+ Avionica
+ Esther Howard
+
+ |
+ + $256,910 + | ++ + + + + + 0.4% + + | ++ On Hold + | ++ + | ++ + + + | +
|
+
+
+
+
+
+
+ Charto CRM
+ Jenny Wilson
+
+ |
+ + $8,220 + | ++ + + + + + 9.2% + + | ++ In Process + | ++ + | ++ + + + | +
|
+
+
+
+
+
+
+ Tower Hill
+ Cody Fisher
+
+ |
+ + $74,000 + | ++ + + + + + 9.2% + + | ++ Complated + | ++ + | ++ + + + | +
|
+
+
+
+
+
+
+ 9 Degree
+ Savannah Nguyen
+
+ |
+ + $183,300 + | ++ + + + + + 0.4% + + | ++ In Process + | ++ + | ++ + + + | +
\n
\n ").replace(/\r?\n/g,"
").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).includes("
")||s.includes("
"))&&(s=`
${s}
`),t=s),r=this.editor.data.htmlProcessor.toView(t)}var s;const a=new t(this,"inputTransformation");this.fire(a,{content:r,dataTransfer:i,targetRanges:n.targetRanges,method:n.method}),a.stop.called&&e.stop(),o.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((t,e)=>{if(e.content.isEmpty)return;const o=this.editor.data.toModel(e.content,"$clipboardHolder");0!=o.childCount&&(t.stop(),n.change((()=>{this.fire("contentInsertion",{content:o,method:e.method,dataTransfer:e.dataTransfer,targetRanges:e.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((t,e)=>{e.resultRange=n.insertContent(e.content)}),{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document,o=(o,i)=>{const r=i.dataTransfer;i.preventDefault();const s=t.data.toView(t.model.getSelectedContent(e.selection));n.fire("clipboardOutput",{dataTransfer:r,content:s,method:o.name})};this.listenTo(n,"copy",o,{priority:"low"}),this.listenTo(n,"cut",((e,n)=>{t.isReadOnly?n.preventDefault():o(e,n)}),{priority:"low"}),this.listenTo(n,"clipboardOutput",((n,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",eu(o.content))),"cut"==o.method&&t.model.deleteContent(e.selection)}),{priority:"low"})}}function*ou(t,e){for(const n of e)n&&t.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}class iu extends F{execute(){const t=this.editor.model,e=t.document;t.change((n=>{!function(t,e,n,o){const i=n.isCollapsed,r=n.getFirstRange(),s=r.start.parent,a=r.end.parent;if(o.isLimit(s)||o.isLimit(a))i||s!=a||t.deleteContent(n);else if(i){const t=ou(e.model.schema,n.getAttributes());ru(e,r.start),e.setSelectionAttribute(t)}else{const o=!(r.start.isAtStart&&r.end.isAtEnd),i=s==a;t.deleteContent(n,{leaveUnmerged:o}),o&&(i?ru(e,n.focus):e.setSelection(a,0))}}(this.editor.model,n,e.selection,t.schema),this.fire("afterExecute",{writer:n})}))}}function ru(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}const su={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class au extends wr{constructor(t){super(t);const e=this.document;e.on("beforeinput",((n,o)=>{if(!this.isEnabled)return;const i=o.domEvent,r=su[o.inputType];if(!r)return;const s=new Wo(e,"enter",o.targetRanges[0]);e.fire(s,new _r(t,i,{isSoft:r.isSoft})),s.stop.called&&n.stop()}))}observe(){}}class cu extends R{static get pluginName(){return"Enter"}init(){const t=this.editor,e=t.editing.view,n=e.document;e.addObserver(au),t.commands.add("enter",new iu(t)),this.listenTo(n,"enter",((o,i)=>{n.isComposing||i.preventDefault(),i.isSoft||(t.execute("enter"),e.scrollToTheSelection())}),{priority:"low"})}}class lu{constructor(t,e=20){this._batch=null,this.model=t,this._size=0,this.limit=e,this._isLocked=!1,this._changeCallback=(t,e)=>{e.isLocal&&e.isUndoable&&e!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(t){this._size+=t,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(t=!1){this.isLocked&&!t||(this._batch=null,this._size=0)}}class du extends F{constructor(t,e){super(t),this.direction=e,this._buffer=new lu(t.model,t.config.get("typing.undoStep"))}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const i=o.createSelection(t.selection||n.selection),r=t.sequence||1,s=i.isCollapsed;if(i.isCollapsed&&e.modifySelection(i,{direction:this.direction,unit:t.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(i,r))return void this.editor.execute("paragraph",{selection:i});if(i.isCollapsed)return;let a=0;i.getFirstRange().getMinimalFlatRanges().forEach((t=>{a+=Vo(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),e.deleteContent(i,{doNotResetEntireContent:s,direction:this.direction}),this._buffer.input(a),o.setSelection(i),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n);if(!n.isCollapsed||!n.containsEntireContent(o))return!1;if(!e.schema.checkChild(o,"paragraph"))return!1;const i=o.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(t){const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n),i=t.createElement("paragraph");t.remove(t.createRangeIn(o)),t.insert(i,o),t.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(t,e){const n=this.editor.model;if(e>1||"backward"!=this.direction)return!1;if(!t.isCollapsed)return!1;const o=t.getFirstPosition(),i=n.schema.getLimitElement(o),r=i.getChild(0);return o.parent==r&&!!t.containsEntireContent(r)&&!!n.schema.checkChild(i,"paragraph")&&"paragraph"!=r.name}}const hu="word",uu="selection",gu="backward",mu="forward",pu={deleteContent:{unit:uu,direction:gu},deleteContentBackward:{unit:"codePoint",direction:gu},deleteWordBackward:{unit:hu,direction:gu},deleteHardLineBackward:{unit:uu,direction:gu},deleteSoftLineBackward:{unit:uu,direction:gu},deleteContentForward:{unit:"character",direction:mu},deleteWordForward:{unit:hu,direction:mu},deleteHardLineForward:{unit:uu,direction:mu},deleteSoftLineForward:{unit:uu,direction:mu}};class fu extends wr{constructor(t){super(t);const e=t.document;let n=0;e.on("keydown",(()=>{n++})),e.on("keyup",(()=>{n=0})),e.on("beforeinput",((o,i)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:s,inputType:a}=i,c=pu[a];if(!c)return;const l={direction:c.direction,unit:c.unit,sequence:n};l.unit==uu&&(l.selectionToRemove=t.createSelection(r[0])),ri.isAndroid&&"deleteContentBackward"===a&&(l.sequence=1,1!=r.length||r[0].start.parent==r[0].end.parent&&r[0].start.offset+1==r[0].end.offset||(l.unit=uu,l.selectionToRemove=t.createSelection(r)));const d=new Wo(e,"delete",r[0]);e.fire(d,new _r(t,s,l)),d.stop.called&&o.stop()})),ri.isBlink&&function(t){const e=t.view,n=e.document;let o=null,i=!1;function r(t){return t==li.backspace||t==li.delete}function s(t){return t==li.backspace?gu:mu}n.on("keydown",((t,{keyCode:e})=>{o=e,i=!1})),n.on("keyup",((a,{keyCode:c,domEvent:l})=>{const d=n.selection,h=t.isEnabled&&c==o&&r(c)&&!d.isCollapsed&&!i;if(o=null,h){const t=d.getFirstRange(),o=new Wo(n,"delete",t),i={unit:uu,direction:s(c),selectionToRemove:d};n.fire(o,new _r(e,l,i))}})),n.on("beforeinput",((t,{inputType:e})=>{const n=pu[e];r(o)&&n&&n.direction==s(o)&&(i=!0)})),n.on("beforeinput",((t,{inputType:e,data:n})=>{o==li.delete&&"insertText"==e&&""==n&&t.stop()}),{priority:"high"})}(this)}observe(){}}class ku extends R{static get pluginName(){return"Delete"}init(){const t=this.editor,e=t.editing.view,n=e.document,o=t.model.document;e.addObserver(fu),this._undoOnBackspace=!1;const i=new du(t,"forward");t.commands.add("deleteForward",i),t.commands.add("forwardDelete",i),t.commands.add("delete",new du(t,"backward")),this.listenTo(n,"delete",((o,i)=>{n.isComposing||i.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:c}=i,l="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==c){const e=Array.from(a.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));d.selection=t.model.createSelection(e)}else d.unit=c;t.execute(l,d),e.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(n,"delete",((e,n)=>{this._undoOnBackspace&&"backward"==n.direction&&1==n.sequence&&"codePoint"==n.unit&&(this._undoOnBackspace=!1,t.execute("undo"),n.preventDefault(),e.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class bu extends k{constructor(){super(),this._stack=[]}add(t,e){const n=this._stack,o=n[0];this._insertDescriptor(t);const i=n[0];o===i||wu(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}remove(t,e){const n=this._stack,o=n[0];this._removeDescriptor(t);const i=n[0];o===i||wu(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}_insertDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t.id));if(wu(t,e[n]))return;n>-1&&e.splice(n,1);let o=0;for(;e[o]&&Au(e[o],t);)o++;e.splice(o,0,t)}_removeDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t));n>-1&&e.splice(n,1)}}function wu(t,e){return t&&e&&t.priority==e.priority&&_u(t.classes)==_u(e.classes)}function Au(t,e){return t.priority>e.priority||!(t.priority