File tree Expand file tree Collapse file tree 6 files changed +19
-3
lines changed
.vs/VueJsTutorial/v16/Server/sqlite3 Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 3333<div class =" col-6" >
3434<otextboxfor v-model-name =" result.productActivityForJson.InvoiceNumber" asp-for =" @Model.ProductActivityForJson.InvoiceNumber" input-css =" form-control col-8" has-parent =" true" parent-css =" form-group row" has-label =" true" label-css =" control-label col-4" required-css =" text-red" ></otextboxfor >
3535</div >
36+ <div class =" col-6" >
37+ <div class =" form-group row" >
38+ <label class =" control-label col-4" >Date</label >
39+ <input type =" text" class =" form-control date-control col-8" />
40+ </div >
41+ </div >
3642</div >
3743<br />
3844<button v-on:click.prevent =" submit" class =" btn btn-primary pull-right" >Add Product Detail</button >
Original file line number Diff line number Diff line change 1717<link href =" https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap&subset=latin-ext" rel =" stylesheet" />
1818<link href =" https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel =" stylesheet" />
1919<link href =" ~/lib/noty/noty.min.css" rel =" stylesheet" />
20+ <link href =" ~/lib/flatpickr/flatpickr.min.css" rel =" stylesheet" />
21+ <link href =" ~/lib/flatpickr/ie.css" rel =" stylesheet" />
2022<link rel =" stylesheet" href =" ~/css/site.css" />
2123</head >
2224<body >
7880</script>*@
7981</environment >
8082
83+ <script src =" ~/lib/flatpickr/flatpickr.min.js" ></script >
8184<script src =" ~/lib/noty/noty.min.js" ></script >
8285<script src =" ~/js/vuehelpers.js" asp-append-version =" true" ></script >
8386<script src =" ~/js/events.js" asp-append-version =" true" ></script >
Original file line number Diff line number Diff line change 11window . onload = function ( ) {
22pageInit ( ) ;
3- myNoty ( "Hi there!" , "success" ) ;
3+ showNoty ( "Hi there!" , "success" ) ;
44}
Original file line number Diff line number Diff line change @@ -12,10 +12,16 @@ Array.prototype.insert = function (value) {
1212}
1313}
1414
15- function myNoty ( message , type ) {
15+ // #region noty
16+
17+ function showNoty ( message , type ) {
1618var n = new Noty ( {
1719text : message , type : type ,
1820layout : "bottomRight" ,
19- container : ".asdasd"
21+ theme : "light" ,
22+ timeout : 2000 ,
23+ progressBar : true
2024} ) . show ( ) ;
2125}
26+
27+ // #endregion
Original file line number Diff line number Diff line change @@ -66,4 +66,5 @@ function pageInit() {
6666selectedSubRows . length = 0 ;
6767selected = 0 ;
6868selectedObj = { } ;
69+ flatpickr ( ".date-control" ) ;
6970}
You can’t perform that action at this time.
0 commit comments