add bower.json file
Change-Id: I2c88e8893d138e26a01bf6981076b94d11ec8bd7
This commit is contained in:
parent
23c2fb125b
commit
e77fabefdf
95
kb_web/.idea/workspace.xml
generated
95
kb_web/.idea/workspace.xml
generated
@ -38,16 +38,16 @@
|
||||
<caret line="133" column="0" selection-start-line="133" selection-start-column="0" selection-end-line="133" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
|
||||
<marker date="1446685928000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
<marker date="1446694331000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="login.js" pinned="false" current-in-tab="true">
|
||||
<file leaf-file-name="login.js" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/app/scripts/controllers/login.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.4144144">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="139" column="0" selection-start-line="139" selection-start-column="0" selection-end-line="139" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
@ -58,7 +58,7 @@
|
||||
<entry file="file://$PROJECT_DIR$/app/scripts/controllers/about.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="207" column="0" selection-start-line="207" selection-start-column="0" selection-end-line="207" selection-end-column="0" />
|
||||
<caret line="201" column="17" selection-start-line="201" selection-start-column="17" selection-end-line="201" selection-end-column="17" />
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
<element signature="e#4003#4515#0" expanded="false" />
|
||||
@ -69,6 +69,19 @@
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.52904236">
|
||||
<caret line="30" column="27" selection-start-line="30" selection-start-column="27" selection-end-line="30" selection-end-column="27" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
<provider editor-type-id="MarkdownPreviewEditor">
|
||||
<state />
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
@ -104,7 +117,6 @@
|
||||
<option value="$PROJECT_DIR$/app/views/main.html" />
|
||||
<option value="$PROJECT_DIR$/app/views/log.html" />
|
||||
<option value="$PROJECT_DIR$/app/views/run.html" />
|
||||
<option value="$PROJECT_DIR$/README.md" />
|
||||
<option value="$PROJECT_DIR$/app/scripts/controllers/main.js" />
|
||||
<option value="$PROJECT_DIR$/app/scripts/controllers/run.js" />
|
||||
<option value="$PROJECT_DIR$/app/scripts/controllers/log.js" />
|
||||
@ -118,6 +130,7 @@
|
||||
<option value="$PROJECT_DIR$/Gruntfile.js" />
|
||||
<option value="$PROJECT_DIR$/app/scripts/controllers/about.js" />
|
||||
<option value="$PROJECT_DIR$/app/scripts/controllers/login.js" />
|
||||
<option value="$PROJECT_DIR$/README.md" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
@ -450,7 +463,7 @@
|
||||
<caret line="61" column="69" selection-start-line="61" selection-start-column="69" selection-end-line="61" selection-end-column="69" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
|
||||
<marker date="1446685928000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
<marker date="1446694331000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
@ -523,7 +536,7 @@
|
||||
<caret line="86" column="21" selection-start-line="86" selection-start-column="18" selection-end-line="86" selection-end-column="21" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
|
||||
<marker date="1446685928000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
<marker date="1446694331000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
@ -728,17 +741,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.7645212">
|
||||
<caret line="46" column="0" selection-start-line="46" selection-start-column="0" selection-end-line="46" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
<provider editor-type-id="MarkdownPreviewEditor">
|
||||
<state />
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/views/run.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="1.0633663">
|
||||
@ -820,14 +822,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/package.json">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/styles/bootstrap.theme.flatly.css">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.62910795">
|
||||
@ -871,7 +865,7 @@
|
||||
<caret line="133" column="0" selection-start-line="133" selection-start-column="0" selection-end-line="133" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
|
||||
<marker date="1446685928000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
<marker date="1446694331000" expanded="true" signature="1574:1687" placeholder="..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
@ -884,19 +878,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/scripts/controllers/about.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="207" column="0" selection-start-line="207" selection-start-column="0" selection-end-line="207" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
<element signature="e#4003#4515#0" expanded="false" />
|
||||
<element signature="e#4560#5454#0" expanded="false" />
|
||||
<element signature="e#5493#5856#0" expanded="false" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/.gitignore">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.07042254">
|
||||
@ -907,11 +888,43 @@
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/scripts/controllers/login.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.4144144">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="139" column="0" selection-start-line="139" selection-start-column="0" selection-end-line="139" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/scripts/controllers/about.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="201" column="17" selection-start-line="201" selection-start-column="17" selection-end-line="201" selection-end-column="17" />
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
<element signature="e#4003#4515#0" expanded="false" />
|
||||
<element signature="e#4560#5454#0" expanded="false" />
|
||||
<element signature="e#5493#5856#0" expanded="false" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/package.json">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.1635514">
|
||||
<caret line="7" column="33" selection-start-line="7" selection-start-column="33" selection-end-line="7" selection-end-column="33" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.52904236">
|
||||
<caret line="30" column="27" selection-start-line="30" selection-start-column="27" selection-end-line="30" selection-end-column="27" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
<provider editor-type-id="MarkdownPreviewEditor">
|
||||
<state />
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
1
kb_web/.yo-rc.json
Normal file
1
kb_web/.yo-rc.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
@ -1,15 +1,11 @@
|
||||
# KloudBuster Web UI
|
||||
|
||||
***
|
||||
|
||||
KloudBuster integrates a Python based web server to host the KloudBuster front-end website.
|
||||
|
||||
If you want to change the UI code, you need to install NodeJS, npm, grunt and bower.
|
||||
|
||||
## Installation
|
||||
|
||||
***
|
||||
|
||||
### NodeJS & npm
|
||||
|
||||
download nodeJS & npm. For more detail see [nodejs.org](https://nodejs.org/)
|
||||
@ -37,8 +33,6 @@ Then execute the `bower install` command to install all of the packages which sp
|
||||
|
||||
## Build & development
|
||||
|
||||
***
|
||||
|
||||
Run `grunt serve` for preview UI.
|
||||
|
||||
Run `grunt build` to compress all files to kb_web/dist.
|
||||
|
35
kb_web/bower.json
Normal file
35
kb_web/bower.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "kb-web",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"angular": "~1.3.0",
|
||||
"angular-animate": "~1.3.0",
|
||||
"angular-bootstrap": "~0.13.0",
|
||||
"angular-cookies": "~1.3.0",
|
||||
"angular-resource": "~1.3.0",
|
||||
"angular-route": "~1.3.0",
|
||||
"angular-sanitize": "~1.3.0",
|
||||
"angular-touch": "~1.3.0",
|
||||
"bootstrap": "~3.2.0",
|
||||
"d3": "~3.5.6",
|
||||
"moment": "~2.10.6",
|
||||
"ng-table": "~0.8.3",
|
||||
"angular-loading-bar": "~0.8.0",
|
||||
"jquery-touchswipe": "~1.6.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular-mocks": "^1.3.0"
|
||||
},
|
||||
"appPath": "app",
|
||||
"moduleName": "kbWebApp",
|
||||
"overrides": {
|
||||
"bootstrap": {
|
||||
"main": [
|
||||
"less/bootstrap.less",
|
||||
"dist/css/bootstrap.css",
|
||||
"dist/js/bootstrap.js"
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user