File tree Expand file tree Collapse file tree 6 files changed +18
-19
lines changed Expand file tree Collapse file tree 6 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 3636 "socket.io-client" : " ^1.7.4" ,
3737 "zone.js" : " ^0.8.4" ,
3838 "@angular/cli" : " 1.0.1" ,
39- "@angular/compiler-cli" : " ^4.0.0"
39+ "@angular/compiler-cli" : " ^4.0.0" ,
40+ "@types/socket.io-client" : " ^1.4.29"
4041 },
4142 "devDependencies" : {
4243 "@types/jasmine" : " 2.5.38" ,
Original file line number Diff line number Diff line change 1+ var uristring =
2+ process . env . MONGODB_URI ||
3+ 'mongodb://localhost/gistology' ;
4+
15const express = require ( 'express' ) ;
26const router = express . Router ( ) ;
37var status = require ( 'http-status' ) ;
48var mongoose = require ( 'mongoose' ) ;
5- mongoose . connect ( 'mongodb://localhost/gistology' ) ;
9+ mongoose . connect ( uristring ) ;
610var Gist = require ( '../models/gist' ) ;
711
812
Original file line number Diff line number Diff line change 22
33< div fxLayout ="column " fxFlex >
44 < md-toolbar color ="primary ">
5- < span class ="middle "> {{title}}</ span >
5+ < span class ="middle " routerLink =" / " style =" cursor: pointer; " > {{title}}</ span >
66 < span class ="spacer "> </ span >
77 < button md-icon-button [mdMenuTriggerFor] ="menu ">
88 < md-icon > more_vert</ md-icon >
1919
2020 <!-- intro words -->
2121 < div class ="content " fxFlex >
22- < div [ fxLayout] ="row ">
22+ < div fxLayout ="row ">
2323 < div fxFlex ="20 "> </ div >
2424 < div fxFlex ="60 ">
2525 < md-card fxFlex ="100 ">
4141 < router-outlet > </ router-outlet >
4242
4343 <!-- The footer -->
44- < div class ="footer " [fxLayout] ="row ">
45- < div fxFlex ="35 "> </ div >
46- < div fxFlex ="30 ">
47- < div fxFlex ="100 ">
48- < div fxFlex ="25 "> </ div >
49- < div fxFlex ="10 ">
50- < md-icon > favorite</ md-icon >
51- </ div >
52- < div fxFlex ="40 ">
53- By < a href ="https://www.linkedin.com/in/dassi-orleando-257b04ab/ "> Dassi Orleando</ a >
54- </ div >
44+ < div class ="footer " fxLayout ="row " fxLayoutAlign ="center center ">
45+ < div fxFlex ="100 " style ="text-align: center !important; ">
46+ < md-icon style ="position: relative !important; top: 8px; "> favorite</ md-icon > By < a href ="https://www.linkedin.com/in/dassi-orleando-257b04ab/ "> Dassi Orleando</ a >
5547 </ div >
56- </ div >
57- < div fxFlex ="35 "> </ div >
5848 </ div >
5949</ div >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ <h3 md-line> <b>{{gist.title}}</b> </h3>
1515 < div fxFlex ="30 "> </ div >
1616 </ div >
1717
18- < div [ fxLayout] =" direction " fxLayoutAlign ="center center ">
18+ < div fxLayout =" row " fxLayoutAlign ="center center ">
1919 < a md-raised-button routerLink ="gists "> See Gist List</ a >
2020 </ div >
2121</ div >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ <h3 md-line> <b>{{gist.title}}</b> </h3>
1919 < div fxFlex ="30 "> </ div >
2020 </ div >
2121
22- < div [ fxLayout] =" direction " fxLayoutAlign ="center center ">
22+ < div fxLayout =" row " fxLayoutAlign ="center center ">
2323 < button md-fab (click) ="addGist() "> < md-icon > add</ md-icon > </ button >
2424 </ div >
2525</ div >
Original file line number Diff line number Diff line change 1010 -webkit-box-flex : 1 ;
1111 -ms-flex : 1 1 auto;
1212 flex : 1 1 auto;
13+ }
14+ .toast-top-right {
15+ top : 65px !important ;
16+ right : 0 !important ;
1317}
You can’t perform that action at this time.
0 commit comments