손장민

Bittrex API Added

...@@ -25,8 +25,8 @@ app.use(bodyParser.urlencoded({extended: true})); ...@@ -25,8 +25,8 @@ app.use(bodyParser.urlencoded({extended: true}));
25 app.get('/', function(req, res) { 25 app.get('/', function(req, res) {
26 // res.sendFile(__dirname + "/index.html"); 26 // res.sendFile(__dirname + "/index.html");
27 // let posts = blogRealm.objects('Post').sorted('timestamp', true); 27 // let posts = blogRealm.objects('Post').sorted('timestamp', true);
28 - // res.render('index2.ejs',{posts: posts}); 28 +// res.render('index.ejs',{title : "첫번째 화면"});
29 - res.sendFile(__dirname+"/pages/index.html"); 29 + res.sendFile(__dirname+"/pages/main.html");
30 }); 30 });
31 31
32 app.get('/login', function(req, res) { 32 app.get('/login', function(req, res) {
......
1 -<!DOCTYPE html>
2 -<html>
3 -<head>
4 -<meta http-equiv="refresh" content="0;url=pages/index.html">
5 -<title>SB Admin 2</title>
6 -<script language="javascript">
7 - window.location.href = "pages/index.html"
8 -</script>
9 -</head>
10 -<body>
11 -Go to <a href="pages/index.html">/pages/index.html</a>
12 -</body>
13 -</html>
...@@ -11,17 +11,17 @@ ...@@ -11,17 +11,17 @@
11 "license": "ISC", 11 "license": "ISC",
12 "dependencies": { 12 "dependencies": {
13 "body-parser": "^1.18.2", 13 "body-parser": "^1.18.2",
14 + "browser-sync": "^2.13.0",
14 "ejs": "^2.5.7", 15 "ejs": "^2.5.7",
15 "express": "^4.16.2", 16 "express": "^4.16.2",
16 - "realm": "^2.0.12",
17 -
18 - "browser-sync": "^2.13.0",
19 "gulp": "^3.9.1", 17 "gulp": "^3.9.1",
20 "gulp-clean-css": "^2.0.10", 18 "gulp-clean-css": "^2.0.10",
21 "gulp-header": "^1.8.7", 19 "gulp-header": "^1.8.7",
22 "gulp-less": "^3.1.0", 20 "gulp-less": "^3.1.0",
23 "gulp-rename": "^1.2.2", 21 "gulp-rename": "^1.2.2",
24 - "gulp-uglify": "^1.5.4" 22 + "gulp-uglify": "^1.5.4",
23 + "node-bittrex-api": "^0.8.1",
24 + "realm": "^2.0.12"
25 }, 25 },
26 "devDependencies": { 26 "devDependencies": {
27 "nodemon": "^1.12.5" 27 "nodemon": "^1.12.5"
......
...@@ -469,6 +469,7 @@ ...@@ -469,6 +469,7 @@
469 <p>Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks, and interactive features. In SB Admin, we are using the most recent version of Flot along with a few plugins to enhance the user experience. The Flot plugins being used are the tooltip plugin for hoverable tooltips, and the resize plugin for fully responsive charts. The documentation for Flot Charts is available on their website, <a target="_blank" href="http://www.flotcharts.org/">http://www.flotcharts.org/</a>.</p> 469 <p>Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks, and interactive features. In SB Admin, we are using the most recent version of Flot along with a few plugins to enhance the user experience. The Flot plugins being used are the tooltip plugin for hoverable tooltips, and the resize plugin for fully responsive charts. The documentation for Flot Charts is available on their website, <a target="_blank" href="http://www.flotcharts.org/">http://www.flotcharts.org/</a>.</p>
470 <a target="_blank" class="btn btn-default btn-lg btn-block" href="http://www.flotcharts.org/">View Flot Charts Documentation</a> 470 <a target="_blank" class="btn btn-default btn-lg btn-block" href="http://www.flotcharts.org/">View Flot Charts Documentation</a>
471 </div> 471 </div>
472 +
472 <!-- /.panel-body --> 473 <!-- /.panel-body -->
473 </div> 474 </div>
474 <!-- /.panel --> 475 <!-- /.panel -->
......
1 -<!DOCTYPE html> 1 +<!-- <!DOCTYPE html>
2 <html lang="en"> 2 <html lang="en">
3 <!-- 합쳐지고 최소화된 최신 CSS --> 3 <!-- 합쳐지고 최소화된 최신 CSS -->
4 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> 4 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
...@@ -943,4 +943,4 @@ ...@@ -943,4 +943,4 @@
943 943
944 </body> 944 </body>
945 945
946 -</html> 946 +</html> -->
......
1 +
2 +<!DOCTYPE html>
3 +<html lang="en">
4 +<!-- 합쳐지고 최소화된 최신 CSS -->
5 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
6 +
7 +<!-- 부가적인 테마 -->
8 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
9 +
10 +<!-- 합쳐지고 최소화된 최신 자바스크립트 -->
11 +<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
12 + <head>
13 + <meta charset="utf-8">
14 + <meta http-equiv="X-UA-Compatible" content="IE=edge">
15 + <meta name="viewport" content="width=device-width, initial-scale=1">
16 + <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
17 + <meta name="description" content="">
18 + <meta name="author" content="">
19 + <link rel="icon" href="../../favicon.ico">
20 +
21 + <title>Narrow Jumbotron Template for Bootstrap</title>
22 +
23 + <!-- Bootstrap core CSS -->
24 + <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
25 +
26 + <!-- Custom styles for this template -->
27 + <link href="jumbotron-narrow.css" rel="stylesheet">
28 +
29 + <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
30 + <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
31 + <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
32 +
33 + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
34 + <!--[if lt IE 9]>
35 + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
36 + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
37 + <![endif]-->
38 + </head>
39 +
40 + <body>
41 +
42 + <div class="container">
43 + <div class="header">
44 + <nav>
45 + <ul class="nav nav-pills pull-right">
46 + <li role="presentation" class="active"><a href="#">Home</a></li>
47 + <li role="presentation"><a href="#">About</a></li>
48 + <li role="presentation"><a href="#">Contact</a></li>
49 + </ul>
50 + </nav>
51 + <h3 class="text-muted">Project name</h3>
52 + </div>
53 +
54 + <div class="jumbotron">
55 + <h1>Jumbotron heading</h1>
56 + <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
57 + <p><a class="btn btn-lg btn-success" href="#" role="button">Sign up today</a></p>
58 + </div>
59 +
60 + <div class="row marketing">
61 + <div class="col-lg-6">
62 + <h4>Subheading</h4>
63 + <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
64 +
65 + <h4>Subheading</h4>
66 + <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
67 +
68 + <h4>Subheading</h4>
69 + <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
70 + </div>
71 +
72 + <div class="col-lg-6">
73 + <h4>Subheading</h4>
74 + <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
75 +
76 + <h4>Subheading</h4>
77 + <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
78 +
79 + <h4>Subheading</h4>
80 + <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
81 + </div>
82 + </div>
83 +
84 + <footer class="footer">
85 + <p>&copy; Company 2014</p>
86 + </footer>
87 +
88 + </div> <!-- /container -->
89 +
90 +
91 + <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
92 + <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
93 + </body>
94 +</html>
1 +<!DOCTYPE html>
2 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
3 +
4 +<!-- 부가적인 테마 -->
5 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
6 +
7 +<!-- 합쳐지고 최소화된 최신 자바스크립트 -->
8 +<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
9 +<html lang="en">
10 +
11 +
12 +
13 +
14 +<head>
15 + <meta charset="utf-8">
16 + <meta http-equiv="X-UA-Compatible" content="IE=edge">
17 + <meta name="viewport" content="width=device-width, initial-scale=1">
18 + <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
19 + <meta name="description" content="">
20 + <meta name="author" content="">
21 + <link rel="icon" href="../../favicon.ico">
22 +
23 + <title>Coin Community</title>
24 +
25 + <!-- Bootstrap core CSS -->
26 + <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
27 +
28 + <!-- Custom styles for this template -->
29 + <link href="navbar-fixed-top.css" rel="stylesheet">
30 +
31 + <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
32 + <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
33 + <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
34 +
35 + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
36 + <!--[if lt IE 9]>
37 + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
38 + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
39 + <![endif]-->
40 +</head>
41 +
42 +<body>
43 + <!-- <style type = "text/css">
44 + .jumbotron{
45 + background-image: url('images/background.jpg');
46 + background-size: cover;
47 + text-shadow: black 0.2em 0.2em 0.2em;
48 + color: whites;
49 + }
50 + </style> -->
51 + <!-- Fixed navbar -->
52 + <nav class="navbar navbar-default">
53 + <div class="container-fluid">
54 + <!-- Brand and toggle get grouped for better mobile display -->
55 + <div class="navbar-header">
56 + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
57 + <span class="sr-only">Toggle navigation</span>
58 + <span class="icon-bar"></span>
59 + <span class="icon-bar"></span>
60 + <span class="icon-bar"></span>
61 + </button>
62 + <a class="navbar-brand" href="#">Coin Community</a>
63 + </div>
64 +
65 + <!-- Collect the nav links, forms, and other content for toggling -->
66 + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
67 + <ul class="nav navbar-nav">
68 + <li class="active"><a href="#">View Chart <span class="sr-only">(current)</span></a></li>
69 + <li><a href="#">Freeboard</a></li>
70 +
71 + </ul>
72 + <form class="navbar-form navbar-left" role="search">
73 + <div class="form-group">
74 + <input type="text" class="form-control" placeholder="Search">
75 + </div>
76 + <button type="submit" class="btn btn-default">Search</button>
77 + </form>
78 + <ul class="nav navbar-nav navbar-right">
79 + <li><a href="#">Login</a></li>
80 + <li><a href="#">About us</a></li>
81 +
82 + </ul>
83 + </div>
84 + <!-- /.navbar-collapse -->
85 + </div>
86 + <!-- /.container-fluid -->
87 + </nav>
88 +
89 + <div class="container">
90 +
91 + <!-- Main component for a primary marketing message or call to action -->
92 + <div class="jumbotron">
93 + <h1>Navbar example</h1>
94 + <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
95 + <p>To see the difference between static and fixed top navbars, just scroll.</p>
96 + <p>
97 + <a class="btn btn-lg btn-primary" href="http://localhost:3000/login" role="button">View navbar docs &raquo;</a>
98 + </p>
99 + </div>
100 + <div class="col-lg-12">
101 + <div class="panel panel-default">
102 + <div class="panel-heading">
103 + Line Chart Example
104 + </div>
105 + <!-- /.panel-heading -->
106 + <div class="panel-body">
107 + <div class="flot-chart">
108 + <div class="flot-chart-content" id="flot-line-chart"></div>
109 + </div>
110 + </div>
111 + <!-- /.panel-body -->
112 + </div>
113 + <!-- /.panel -->
114 + </div>
115 + </div>
116 + <!-- /container -->
117 +
118 + <script src="https://mining-profit.com/js/mp-btc-chart.js"></script>
119 + <script type="text/javascript">
120 + MiningProfitBTCChart.setChartWidth(550);
121 + MiningProfitBTCChart.setChartHeight(400);
122 + MiningProfitBTCChart.isDisplayControlRanges(true);
123 + MiningProfitBTCChart.isDisplayControlInterval(false);
124 + MiningProfitBTCChart.setInitialRange('20h');
125 + MiningProfitBTCChart.setChartRanges(['6h', '10h', '20h', '2d', '1w', '2w', '1m']);
126 + MiningProfitBTCChart.setChartExchanges([{mpvaluation: '#428bca'}, {bitstamp: '#B4CD3E'}, {coinbase: '#D54E88'}, {btce: '#F0522B'}]);
127 + MiningProfitBTCChart.setInitialExchange('coinbase');
128 + MiningProfitBTCChart.setMajorColor('rgb(35, 119, 58)');
129 + MiningProfitBTCChart.draw();
130 + </script>
131 + <!-- Bootstrap core JavaScript
132 + ================================================== -->
133 + <!-- Placed at the end of the document so the pages load faster -->
134 + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
135 + <script src="../../dist/js/bootstrap.min.js"></script>
136 + <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
137 + <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
138 + <script scr="https://code.jquery.com/jquery-3.1.1.min.js"></script>
139 + <script src="js/bootstrap.js"></script>
140 +</body>
141 +
142 +</html>
1 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
2 +
3 +<!-- 부가적인 테마 -->
4 +<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
5 +
6 +<!-- 합쳐지고 최소화된 최신 자바스크립트 -->
7 +<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
8 +
9 +<div class="jumbotron jumbotron-billboard">
10 + <div class="img"></div>
11 + <div class="container">
12 + <div class="row">
13 + <div class="col-lg-12">
14 + <h2>Jumbotron</h2>
15 + <p>
16 + Lorem ipsum is the best
17 + </p>
18 + <a href="#" class="btn btn-success btn-lg">Sign Up</a>
19 + </div>
20 + </div>
21 + </div>
22 +</div>
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.