Skip to content

Commit e28bc84

Browse files
committed
upgrade
1 parent ad6466e commit e28bc84

File tree

122 files changed

+4492
-25860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+4492
-25860
lines changed

src/MineCase.ControlPanel/.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/MineCase.ControlPanel/.gitignore

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
/Properties/launchSettings.json
2+
3+
## Ignore Visual Studio temporary files, build results, and
4+
## files generated by popular Visual Studio add-ons.
5+
6+
# User-specific files
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
build/
23+
bld/
24+
bin/
25+
Bin/
26+
obj/
27+
Obj/
28+
29+
# Visual Studio 2015 cache/options directory
30+
.vs/
31+
/wwwroot/dist/
32+
33+
/yarn.lock
34+
35+
# MSTest test Results
36+
[Tt]est[Rr]esult*/
37+
[Bb]uild[Ll]og.*
38+
39+
# NUNIT
40+
*.VisualState.xml
41+
TestResult.xml
42+
43+
# Build Results of an ATL Project
44+
[Dd]ebugPS/
45+
[Rr]eleasePS/
46+
dlldata.c
47+
48+
# DNX
49+
artifacts/
50+
51+
*_i.c
52+
*_p.c
53+
*_i.h
54+
*.ilk
55+
*.meta
56+
*.obj
57+
*.pch
58+
*.pdb
59+
*.pgc
60+
*.pgd
61+
*.rsp
62+
*.sbr
63+
*.tlb
64+
*.tli
65+
*.tlh
66+
*.tmp
67+
*.tmp_proj
68+
*.log
69+
*.vspscc
70+
*.vssscc
71+
.builds
72+
*.pidb
73+
*.svclog
74+
*.scc
75+
76+
# Chutzpah Test files
77+
_Chutzpah*
78+
79+
# Visual C++ cache files
80+
ipch/
81+
*.aps
82+
*.ncb
83+
*.opendb
84+
*.opensdf
85+
*.sdf
86+
*.cachefile
87+
88+
# Visual Studio profiler
89+
*.psess
90+
*.vsp
91+
*.vspx
92+
*.sap
93+
94+
# TFS 2012 Local Workspace
95+
$tf/
96+
97+
# Guidance Automation Toolkit
98+
*.gpState
99+
100+
# ReSharper is a .NET coding add-in
101+
_ReSharper*/
102+
*.[Rr]e[Ss]harper
103+
*.DotSettings.user
104+
105+
# JustCode is a .NET coding add-in
106+
.JustCode
107+
108+
# TeamCity is a build add-in
109+
_TeamCity*
110+
111+
# DotCover is a Code Coverage Tool
112+
*.dotCover
113+
114+
# NCrunch
115+
_NCrunch_*
116+
.*crunch*.local.xml
117+
nCrunchTemp_*
118+
119+
# MightyMoose
120+
*.mm.*
121+
AutoTest.Net/
122+
123+
# Web workbench (sass)
124+
.sass-cache/
125+
126+
# Installshield output folder
127+
[Ee]xpress/
128+
129+
# DocProject is a documentation generator add-in
130+
DocProject/buildhelp/
131+
DocProject/Help/*.HxT
132+
DocProject/Help/*.HxC
133+
DocProject/Help/*.hhc
134+
DocProject/Help/*.hhk
135+
DocProject/Help/*.hhp
136+
DocProject/Help/Html2
137+
DocProject/Help/html
138+
139+
# Click-Once directory
140+
publish/
141+
142+
# Publish Web Output
143+
*.[Pp]ublish.xml
144+
*.azurePubxml
145+
# TODO: Comment the next line if you want to checkin your web deploy settings
146+
# but database connection strings (with potential passwords) will be unencrypted
147+
*.pubxml
148+
*.publishproj
149+
150+
# NuGet Packages
151+
*.nupkg
152+
# The packages folder can be ignored because of Package Restore
153+
**/packages/*
154+
# except build/, which is used as an MSBuild target.
155+
!**/packages/build/
156+
# Uncomment if necessary however generally it will be regenerated when needed
157+
#!**/packages/repositories.config
158+
159+
# Microsoft Azure Build Output
160+
csx/
161+
*.build.csdef
162+
163+
# Microsoft Azure Emulator
164+
ecf/
165+
rcf/
166+
167+
# Microsoft Azure ApplicationInsights config file
168+
ApplicationInsights.config
169+
170+
# Windows Store app package directory
171+
AppPackages/
172+
BundleArtifacts/
173+
174+
# Visual Studio cache files
175+
# files ending in .cache can be ignored
176+
*.[Cc]ache
177+
# but keep track of directories ending in .cache
178+
!*.[Cc]ache/
179+
180+
# Others
181+
ClientBin/
182+
~$*
183+
*~
184+
*.dbmdl
185+
*.dbproj.schemaview
186+
*.pfx
187+
*.publishsettings
188+
orleans.codegen.cs
189+
190+
/node_modules
191+
192+
# RIA/Silverlight projects
193+
Generated_Code/
194+
195+
# Backup & report files from converting an old project file
196+
# to a newer Visual Studio version. Backup files are not needed,
197+
# because we have git ;-)
198+
_UpgradeReport_Files/
199+
Backup*/
200+
UpgradeLog*.XML
201+
UpgradeLog*.htm
202+
203+
# SQL Server files
204+
*.mdf
205+
*.ldf
206+
207+
# Business Intelligence projects
208+
*.rdl.data
209+
*.bim.layout
210+
*.bim_*.settings
211+
212+
# Microsoft Fakes
213+
FakesAssemblies/
214+
215+
# GhostDoc plugin setting file
216+
*.GhostDoc.xml
217+
218+
# Node.js Tools for Visual Studio
219+
.ntvs_analysis.dat
220+
221+
# Visual Studio 6 build log
222+
*.plg
223+
224+
# Visual Studio 6 workspace options file
225+
*.opt
226+
227+
# Visual Studio LightSwitch build output
228+
**/*.HTMLClient/GeneratedArtifacts
229+
**/*.DesktopClient/GeneratedArtifacts
230+
**/*.DesktopClient/ModelManifest.xml
231+
**/*.Server/GeneratedArtifacts
232+
**/*.Server/ModelManifest.xml
233+
_Pvt_Extensions
234+
235+
# Paket dependency manager
236+
.paket/paket.exe
237+
238+
# FAKE - F# Make
239+
.fake/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import './css/site.css';
2+
import 'bootstrap';
3+
import Vue from 'vue';
4+
import VueRouter from 'vue-router';
5+
Vue.use(VueRouter);
6+
7+
const routes = [
8+
{ path: '/', component: require('./components/home/home.vue.html') },
9+
{ path: '/counter', component: require('./components/counter/counter.vue.html') },
10+
{ path: '/fetchdata', component: require('./components/fetchdata/fetchdata.vue.html') }
11+
];
12+
13+
new Vue({
14+
el: '#app-root',
15+
router: new VueRouter({ mode: 'history', routes: routes }),
16+
render: h => h(require('./components/app/app.vue.html'))
17+
});
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Vue from 'vue';
2+
import { Component } from 'vue-property-decorator';
3+
4+
@Component({
5+
components: {
6+
MenuComponent: require('../navmenu/navmenu.vue.html')
7+
}
8+
})
9+
export default class AppComponent extends Vue {
10+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template>
2+
<div id='app-root' class="container-fluid">
3+
<div class="row">
4+
<div class="col-sm-3">
5+
<menu-component />
6+
</div>
7+
<div class="col-sm-9">
8+
<router-view></router-view>
9+
</div>
10+
</div>
11+
</div>
12+
</template>
13+
14+
<script src="./app.ts"></script>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Vue from 'vue';
2+
import { Component } from 'vue-property-decorator';
3+
4+
@Component
5+
export default class CounterComponent extends Vue {
6+
currentcount: number = 0;
7+
8+
incrementCounter() {
9+
this.currentcount++;
10+
}
11+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<template>
2+
<div>
3+
<h1>Counter</h1>
4+
5+
<p>This is a simple example of a Vue.js component.</p>
6+
7+
<p>Current count: <strong>{{ currentcount }}</strong></p>
8+
9+
<button @click="incrementCounter">Increment</button>
10+
</div>
11+
</template>
12+
13+
<script src="./counter.ts"></script>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import Vue from 'vue';
2+
import { Component } from 'vue-property-decorator';
3+
4+
interface WeatherForecast {
5+
dateFormatted: string;
6+
temperatureC: number;
7+
temperatureF: number;
8+
summary: string;
9+
}
10+
11+
@Component
12+
export default class FetchDataComponent extends Vue {
13+
forecasts: WeatherForecast[] = [];
14+
15+
mounted() {
16+
fetch('api/SampleData/WeatherForecasts')
17+
.then(response => response.json() as Promise<WeatherForecast[]>)
18+
.then(data => {
19+
this.forecasts = data;
20+
});
21+
}
22+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<template>
2+
<div>
3+
<h1>Weather forecast</h1>
4+
5+
<p>This component demonstrates fetching data from the server.</p>
6+
7+
<table v-if="forecasts.length" class="table">
8+
<thead>
9+
<tr>
10+
<th>Date</th>
11+
<th>Temp. (C)</th>
12+
<th>Temp. (F)</th>
13+
<th>Summary</th>
14+
</tr>
15+
</thead>
16+
<tbody>
17+
<tr v-for="item in forecasts">
18+
<td>{{ item.dateFormatted }}</td>
19+
<td>{{ item.temperatureC }}</td>
20+
<td>{{ item.temperatureF }}</td>
21+
<td>{{ item.summary }}</td>
22+
</tr>
23+
</tbody>
24+
</table>
25+
26+
<p v-else><em>Loading...</em></p>
27+
</div>
28+
</template>
29+
30+
<script src="./fetchdata.ts"></script>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div>
3+
<h1>Hello, world!</h1>
4+
<p>Welcome to your new single-page application, built with:</p>
5+
<ul>
6+
<li><a href="https://get.asp.net/">ASP.NET Core</a> and <a href="https://msdn.microsoft.com/en-us/library/67ef8sbd.aspx">C#</a> for cross-platform server-side code</li>
7+
<li><a href="https://vuejs.org/">Vue.js</a> and <a href="http://www.typescriptlang.org/">TypeScript</a> for client-side code</li>
8+
<li><a href="https://webpack.github.io/">Webpack</a> for building and bundling client-side resources</li>
9+
<li><a href="http://getbootstrap.com/">Bootstrap</a> for layout and styling</li>
10+
</ul>
11+
<p>To help you get started, we've also set up:</p>
12+
<ul>
13+
<li><strong>Client-side navigation</strong>. For example, click <em>Counter</em> then <em>Back</em> to return here.</li>
14+
<li><strong>Webpack dev middleware</strong>. In development mode, there's no need to run the <code>webpack</code> build tool. Your client-side resources are dynamically built on demand. Updates are available as soon as you modify any file.</li>
15+
<li><strong>Hot module replacement</strong>. In development mode, you don't even need to reload the page after making most changes. Within seconds of saving changes to files, your Vue app will be rebuilt and a new instance injected is into the page.</li>
16+
<li><strong>Efficient production builds</strong>. In production mode, development-time features are disabled, and the <code>webpack</code> build tool produces minified static CSS and JavaScript files.</li>
17+
</ul>
18+
</div>
19+
</template>

0 commit comments

Comments
 (0)