Skip to content

Commit

Permalink
All done
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahtab Alam committed Dec 21, 2016
1 parent 5e2a6a5 commit 505f9b6
Show file tree
Hide file tree
Showing 17 changed files with 1,342 additions and 96 deletions.
72 changes: 2 additions & 70 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 9,7 @@
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />
<link rel="stylesheet" href="vendor/AngularJS-Toaster/toaster.min.css" charset="utf-8">
<link rel="stylesheet" href="css/modal.css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="vendor/bootstrap-additions/dist/bootstrap-additions.css" charset="utf-8">
<style>
.modal-backdrop.am-fade {
opacity: .7;
Expand All @@ -29,76 30,6 @@
}



.tag-input-ctn {
border: 1px solid #ccc;
padding: 4.5px 3px;
display: inline-block;
/*width: 470px;*/
width:100%;
border-radius: 3px;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.075);
}

.tag-input-ctn input {
display: inline-block;
float: left;
height: 18px;
padding: 0px;
font-size: 13px;
line-height: 18px;
color: black;
border: 0px;
margin: 2px;
}

.tag-input-ctn input:focus {
outline: 0;
box-shadow: 0px;
}

.tag-input-ctn .input-tag {
padding: 2px 4px;
line-height: 12px;
font-size: 11px;
background-color: #e3eaf6;
display: inline-block;
float: left;
border-radius: 2px;
margin: 2px 5px 2px 0px;
border: 1px solid #a9b6d2;
}

.tag-input-ctn .input-tag .delete-tag {
display: inline-block;
font-size: 12px;
cursor: pointer;
padding: 0px 2px;
}

.tag-input-ctn .input-tag .delete-tag:hover {
background-color: #96b4d2;
}

.tag {
margin-right: 2px;
color: white;
}
.label-info {
background-color: #5bc0de;
}
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
.modal.center .modal-dialog {
position:fixed;
top:30%;
Expand Down Expand Up @@ -137,5 68,6 @@
<script src="js/controllers/EditController.js" ></script>
<script src="js/app.js" ></script>


</body>
</html>
3 changes: 2 additions & 1 deletion models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,8 @@ var mongoose = require( 'mongoose' );
var bcrypt=require('bcrypt');
var SALT_WORK_FACTOR = 10;

var dbURI = 'mongodb://localhost/test';
//var dbURI = 'mongodb://localhost/test';
var dbURI =process.env.dbURI
//var dbURI = 'mongodb://your_username:[email protected]:43615/leavethemarks';
mongoose.connect(dbURI);

Expand Down
Loading

0 comments on commit 505f9b6

Please sign in to comment.