forked from fxbois/web-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
406 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,372 @@ | ||
import React, { Component } from "react"; | ||
import Counter from "./counter"; | ||
|
||
class Counters extends Component { | ||
render() { | ||
const { | ||
onReset, | ||
onIncrement, | ||
onDelete, | ||
onDecrement, | ||
counters, | ||
onRestart | ||
} = this.props; | ||
return ( | ||
<div> | ||
|
||
<button | ||
className="bsxsdstn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-succsssssecqsdscqsdcs m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs csd csqdc dsc ds cqdscd dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
|
||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
|
||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
|
||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs je jsjsjs sjsjsjsjsj jsjsjsjsjsj fsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fkfkfkf kfkfkfkf fkfkfkfkf fkfkfkfkfkf fjfjfjfjfjfjfjfjfjfjfj jsjsjsjsjsjsjsjs f"> | ||
<i className="fa akakakakk akkakakaka kakakakaka kakaakakaka kakakakakakaka kakakakak akakakak kakakaka kakakakafao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
|
||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
<button | ||
className="btn btn-success m-2" | ||
onClick={onReset} | ||
disabled={counters.length === 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fa-refresh" aria-hidden="true" /> | ||
</button> | ||
<button | ||
className="btn btn-primary m-2" | ||
onClick={onRestart} | ||
disabled={counters.length !== 0 ? "disabled" : ""} | ||
> | ||
<i className="fa fao ajjfdfjs dfjfsjfjsefj efdscdsc ds dcsd cds csdc sjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" /> | ||
</button> | ||
{counters.map(counter => ( | ||
<Counter | ||
key={counter.id} | ||
counter={counter} | ||
onIncrement={onIncrement} | ||
onDecrement={onDecrement} | ||
onDelete={onDelete} | ||
/> | ||
))} | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default Counters; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<% | ||
set objBrowserCapabilities = Server.CreateObject("MSWC.BrowserType") | ||
bCookiesSupported = objBrowserCapabilities.cookies | ||
session("sGotoPage") = "" | ||
'' vsdf | ||
''if bDebug then | ||
'' response.write bCookiesSupported | ||
'' response.write Session.SessionID | ||
'' response.end | ||
''end if | ||
%> | ||
<% ''^^^ End Startup Code %> | ||
|
||
<html> | ||
<body> | ||
<div> | ||
Test | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.