airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [6/8] airavata-django-portal git commit: AIRAVATA-2534 Setup build for common js and scss
Date Tue, 26 Sep 2017 16:17:16 GMT
http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/package.json
----------------------------------------------------------------------
diff --git a/django_airavata/package.json b/django_airavata/package.json
new file mode 100644
index 0000000..6099bfd
--- /dev/null
+++ b/django_airavata/package.json
@@ -0,0 +1,30 @@
+{
+  "name": "django-airavata-common",
+  "description": "Common JS code for the Airavata Django Portal",
+  "version": "1.0.0",
+  "author": "Marcus Christie <machristie@apache.org>",
+  "private": true,
+  "scripts": {
+    "dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
+    "watch": "cross-env NODE_ENV=development webpack --watch",
+    "build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
+  },
+  "dependencies": {
+    "vue": "^2.3.3"
+  },
+  "devDependencies": {
+    "babel-core": "^6.0.0",
+    "babel-loader": "^7.1.2",
+    "babel-preset-env": "^1.5.1",
+    "cross-env": "^3.0.0",
+    "css-loader": "^0.25.0",
+    "extract-text-webpack-plugin": "^3.0.0",
+    "file-loader": "^0.9.0",
+    "node-sass": "^4.5.3",
+    "sass-loader": "^6.0.6",
+    "vue-loader": "^12.1.0",
+    "vue-template-compiler": "^2.3.3",
+    "webpack": "^3.6.0",
+    "webpack-dev-server": "^2.4.5"
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/common/js/index.js
----------------------------------------------------------------------
diff --git a/django_airavata/static/common/js/index.js b/django_airavata/static/common/js/index.js
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/common/scss/main.scss
----------------------------------------------------------------------
diff --git a/django_airavata/static/common/scss/main.scss b/django_airavata/static/common/scss/main.scss
new file mode 100644
index 0000000..e5d88cf
--- /dev/null
+++ b/django_airavata/static/common/scss/main.scss
@@ -0,0 +1,208 @@
+html,
+body {
+    height: 100%;
+}
+
+body {
+    color: #333;
+    background-color: #f7f7f7;
+}
+
+.c-header {
+    display: flex;
+    align-items: center;
+    border-bottom: 1px solid #ddd;
+    background-color: #ffffff;
+    
+    &__logo {
+        margin-right: 1rem;
+        width: 70px;
+        background-color: #990000;
+        
+        svg {
+            display: block;
+        }
+    }
+    
+    &__title {
+        font-size: 1.25rem;
+        line-height: 1;
+        
+        a {
+            color: #333;
+        }
+    }
+    
+    &__controls {
+        margin-left: auto;
+        margin-right: 2rem;
+    }
+}
+
+.c-nav {
+    background-color: #444;
+    min-width: 70px;
+    min-height: 60px;
+    padding: 1rem 0;
+    margin-top: -1px;
+    display: flex;
+    
+    &__item {
+        color: #ccc;
+        font-size: 1.5rem;
+        display: block;
+        text-align: center;
+        line-height: 1;
+        flex-grow: 1;
+        
+        &:hover,
+        &:focus {
+            color: #ffffff;
+        }
+        
+        &:active {
+            color: #bbb;
+        }
+        
+        &.is-active {
+            color: #ffffff;
+        }
+    }
+}
+
+@media screen and (min-width: 768px) {
+    .c-nav {
+        height: 100%;
+        flex-direction: column;
+        
+        &__item {
+            flex-grow: 0;
+            margin-bottom: 2rem;
+        }
+    }
+}
+
+.stage {
+    width: 100%;
+    height: 100%;
+    display: flex;
+    flex-direction: column;
+}
+
+@media screen and (min-width: 768px) {
+    .stage {
+        flex-direction: row;
+    }
+}
+
+
+.main-content {
+    flex-grow: 1;
+    padding: 1rem;
+}
+
+.sidebar {
+    flex-basis: 200px;
+    background-color: #ffffff;
+}
+
+.sidebar-header {
+    padding: 1.5rem;
+    display: flex;
+    align-items: center;
+    border-bottom: 1px solid #eee;
+    
+    &__title {
+        font-size: .825rem;
+        text-transform: uppercase;
+        letter-spacing: .04rem;
+        margin: 0;
+    }
+    
+    &__action {
+        margin-left: auto;
+        font-size: .825rem;
+    }
+}
+
+@media screen and (min-width: 768px) {
+    .sidebar {
+        min-width: 310px;
+        border-left: 1px solid #ddd;
+    }
+}
+
+.card {
+    background-color: #fff;
+    border-radius: 4px;
+    border: none;
+    box-shadow: 0 2px 0 #eee;
+    margin-bottom: 30px;
+}
+
+/**
+ * Make a small card text modifier so we can still use
+ * Bootstrap's default styles if needed.
+ */
+.card-text--small {
+    line-height: 1.4;
+    font-size: .825rem;
+}
+
+.card.is-disabled {
+    background-color: #ddd;
+
+    .card-title {
+        color: #999999;
+    }
+
+    .badge {
+        background-color: #ccc;
+        color: #999999;
+    }
+}
+
+.card-link:hover {
+    text-decoration: none;
+    background-color: #fafafa;
+}
+
+.card.is-disabled .card-link:hover {
+    background-color: #ddd;
+    cursor: not-allowed;
+}
+
+
+/**
+ * Feed
+ */
+
+.feed {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+    
+    &__list-item {
+        padding: 1.5rem;
+        border-bottom: 1px solid #eee;
+    }
+    
+    &__label {
+        font-size: .825rem;
+        text-transform: uppercase;
+    }
+    
+    &__title {
+        font-size: 1rem;
+        margin: 0;
+        
+        a {
+            color: #212529;
+        }
+    }
+    
+    &__item-meta {
+        margin: 0;
+        font-size: .825rem;
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/css/app.css
----------------------------------------------------------------------
diff --git a/django_airavata/static/css/app.css b/django_airavata/static/css/app.css
deleted file mode 100644
index 990f63a..0000000
--- a/django_airavata/static/css/app.css
+++ /dev/null
@@ -1 +0,0 @@
-.new_app{width:100%}.new_app_header{width:100%;display:inline}.new_app_header button{background-color:#2e73bc;color:#fff;border:1px
solid #2e73bc;border-radius:3px;float:right;padding:3px 15px}.new_app_header button:hover{cursor:pointer}.new_app_header
button span{font-weight:900;font-size:larger}.applications{margin-top:50px}.new_app{margin:45px}.main{width:100%;margin-top:50px}.tab{text-align:center;width:120px;margin-bottom:15px;border-bottom:1px
solid #999;color:#007bff}.tab .lbl:hover{cursor:pointer}.active .lbl:hover{cursor:default}.lbl{margin:10px}.lbl,.link{color:inherit}.active{color:#333;border-top:1px
solid #999;border-left:1px solid #999;border-right:1px solid #999;border-bottom:hidden;border-top-right-radius:3px;border-top-left-radius:3px}.tabs{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.main_section{width:100%;display:block;margin-top:50px}.entry{margin-top:20px;display:block}.entry
.heading{font-size:1em;font-weight:700;margin-bottom:10px}.entry i
 nput,textarea{width:100%;border-radius:2px;border:1px solid #ddd}.btns{margin-top:50px;display:inline-block;width:100%}.btns
input{float:right;margin-left:20px;text-align:center;border-color:#007bff;border-style:solid;border-radius:3px;padding:5px
15px}.btns input:hover{background-color:#3ca41a;color:#f1fff3}.save{background-color:#007bff;color:#fff}.cancel{color:#007bff;background-color:#fff}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/css/app.css.map
----------------------------------------------------------------------
diff --git a/django_airavata/static/css/app.css.map b/django_airavata/static/css/app.css.map
deleted file mode 100644
index d03d2f1..0000000
--- a/django_airavata/static/css/app.css.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///./src/dashboards/AdminDashboardHome.vue","webpack:///./src/components/admin/NewApplication.vue","webpack:///./src/components/admin/ApplicationDetails.vue"],"names":[],"mappings":"AACA,SACE,YACA,UAAY,CAEd,gBACE,WACA,cAAgB,CAElB,uBACE,yBACA,WACA,yBACA,kBACA,YAEA,gBAAmB,CAIrB,6BACE,cAAgB,CAElB,4BACE,gBACA,gBAAkB,CAEpB,cACE,eAAiB,CC3BnB,SACE,WAAa,CAEf,MACE,WACA,eAAiB,CAEnB,KACE,kBACA,YACA,mBACA,6BACA,aAAe,CAEjB,gBACE,cAAgB,CAElB,mBACE,cAAgB,CAElB,KACE,WAAa,CAGf,WAFE,aAAe,CAKjB,QACE,WACA,0BACA,2BACA,4BACA,qBACA,4BACA,0BAA4B,CAE9B,MACE,oBACA,oBACA,aACA,UAAY,CAEd,cACE,WACA,cACA,eAAiB,CC7CnB,OACE,gBACA,aAAe,CAEjB,gBACE,cACA,gBACA,kBAAoB,CAEtB,sBACE,WACA,kBACA,qBAA0B,CAE5B,MACE,gBACA,qBACA,UAAY,CAEd,YACE,YACA,iBACA,kBACA,qBACA,mBACA,kBAGA,gBAAkB,CAGpB,kBACE,yBACA,aAAe,CAEjB,MACE,yBACA,UAAa,CAEf,QACE,cACA,qBAAwB","file":"static/css/app.css","sourcesContent":["\n.new_app
{\n  margin: 45px;\n  width: 100%;\n}\n.new_app_header{\n  width: 100%;\n  display: inli
 ne;\n}\n.new_app_header button{\n  background-color: #2e73bc;\n  color: white;\n  border:
solid #2e73bc 1px ;\n  border-radius: 3px;\n  float: right;\n  padding-right: 15px;\n  padding-left:
15px;\n  padding-bottom: 3px;\n  padding-top: 3px;\n}\n.new_app_header button:hover{\n  cursor:
pointer;\n}\n.new_app_header button span{\n  font-weight: 900;\n  font-size: larger;\n}\n.applications{\n
 margin-top: 50px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/dashboards/AdminDashboardHome.vue","\n.new_app
{\n  margin: 45px;\n}\n.main {\n  width: 100%;\n  margin-top: 50px;\n}\n.tab {\n  text-align:
center;\n  width: 120px;\n  margin-bottom: 15px;\n  border-bottom: solid #999999 1px;\n  color:
#007BFF;\n}\n.tab .lbl:hover {\n  cursor: pointer;\n}\n.active .lbl:hover {\n  cursor: default;\n}\n.lbl
{\n  margin: 10px;\n  color: inherit;\n}\n.link{\n  color: inherit;\n}\n.active {\n  color:
#333333;\n  border-top: solid #999999 1px;\n  border-left: solid #999999 1px;\n  border-right:
solid #999999 1
 px;\n  border-bottom: hidden;\n  border-top-right-radius: 3px;\n  border-top-left-radius:
3px;\n}\n.tabs {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  width:
100%;\n}\n.main_section {\n  width: 100%;\n  display: block;\n  margin-top: 50px;\n}\n\n\n\n\n\n//
WEBPACK FOOTER //\n// ./src/components/admin/NewApplication.vue","\n.entry{\n  margin-top:20px;\n
 display: block;\n}\n.entry .heading{\n  font-size:1.0em;\n  font-weight: bold;\n  margin-bottom:
10px;\n}\n.entry input,textarea{\n  width: 100%;\n  border-radius: 2px;\n  border: solid #dddddd
1px;\n}\n.btns{\n  margin-top:50px;\n  display: inline-block;\n  width: 100%;\n}\n.btns input{\n
 float: right;\n  margin-left: 20px;\n  text-align: center;\n  border-color: #007BFF;\n  border-style:
solid;\n  border-radius: 3px;\n  padding-top: 5px;\n  padding-bottom:5px;\n  padding-left:15px;\n
 padding-right: 15px;\n}\n.btns input:hover{\n  background-color: #3ca41a;\n  color: #f1fff3;\n}\n.save{\n
 background-col
 or: #007BFF;\n  color: white;\n}\n.cancel{\n  color:  #007BFF;\n  background-color: white;\n}\n\n\n\n//
WEBPACK FOOTER //\n// ./src/components/admin/ApplicationDetails.vue"],"sourceRoot":""}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/css/base.css
----------------------------------------------------------------------
diff --git a/django_airavata/static/css/base.css b/django_airavata/static/css/base.css
deleted file mode 100644
index 529571b..0000000
--- a/django_airavata/static/css/base.css
+++ /dev/null
@@ -1,30 +0,0 @@
-
-#mainheader {
-    height: 84px;
-    position: relative;
-}
-#mainheader .logo {
-    max-height: 100%;
-    background-color: #3D84A8;
-    vertical-align: top;
-}
-#mainheader > * {
-    display: inline-block;
-}
-#mainheader header {
-    margin-left: 40px;
-    margin-right: 40px;
-}
-#mainheader h1 {
-    font-size: 20px;
-    color: #666666;
-    line-height: 84px;
-    margin-top: 0px;
-    margin-bottom: 0px;
-}
-#user-nav {
-    top: 50%;
-    margin-top: -25px;
-    right: 0px;
-    position: absolute;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/css/main.css
----------------------------------------------------------------------
diff --git a/django_airavata/static/css/main.css b/django_airavata/static/css/main.css
deleted file mode 100644
index 9e4e12b..0000000
--- a/django_airavata/static/css/main.css
+++ /dev/null
@@ -1,210 +0,0 @@
-html,
-body {
-  height: 100%;
-}
-
-body {
-  color: #333;
-  background-color: #f7f7f7;
-}
-
-.c-header {
-  display: -webkit-box;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-box-align: center;
-      -ms-flex-align: center;
-          align-items: center;
-  border-bottom: 1px solid #ddd;
-  background-color: #ffffff;
-}
-.c-header__logo {
-  margin-right: 1rem;
-  width: 70px;
-  background-color: #990000;
-}
-.c-header__logo svg {
-  display: block;
-}
-.c-header__title {
-  font-size: 1.25rem;
-  line-height: 1;
-}
-.c-header__title a {
-  color: #333;
-}
-.c-header__controls {
-  margin-left: auto;
-  margin-right: 2rem;
-}
-
-.c-nav {
-  background-color: #444;
-  min-width: 70px;
-  min-height: 60px;
-  padding: 1rem 0;
-  margin-top: -1px;
-  display: -webkit-box;
-  display: -ms-flexbox;
-  display: flex;
-}
-.c-nav__item {
-  color: #ccc;
-  font-size: 1.5rem;
-  display: block;
-  text-align: center;
-  line-height: 1;
-  -webkit-box-flex: 1;
-      -ms-flex-positive: 1;
-          flex-grow: 1;
-}
-.c-nav__item:hover, .c-nav__item:focus {
-  color: #ffffff;
-}
-.c-nav__item:active {
-  color: #bbb;
-}
-.c-nav__item.is-active {
-  color: #ffffff;
-}
-
-@media screen and (min-width: 768px) {
-  .c-nav {
-    height: 100%;
-    -webkit-box-orient: vertical;
-    -webkit-box-direction: normal;
-        -ms-flex-direction: column;
-            flex-direction: column;
-  }
-  .c-nav__item {
-    -webkit-box-flex: 0;
-        -ms-flex-positive: 0;
-            flex-grow: 0;
-    margin-bottom: 2rem;
-  }
-}
-.stage {
-  width: 100%;
-  height: 100%;
-  display: -webkit-box;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-box-orient: vertical;
-  -webkit-box-direction: normal;
-      -ms-flex-direction: column;
-          flex-direction: column;
-}
-
-@media screen and (min-width: 768px) {
-  .stage {
-    -webkit-box-orient: horizontal;
-    -webkit-box-direction: normal;
-        -ms-flex-direction: row;
-            flex-direction: row;
-  }
-}
-.main-content {
-  -webkit-box-flex: 1;
-      -ms-flex-positive: 1;
-          flex-grow: 1;
-  padding: 1rem;
-}
-
-.sidebar {
-  -ms-flex-preferred-size: 200px;
-      flex-basis: 200px;
-  background-color: #ffffff;
-}
-
-.sidebar-header {
-  padding: 1.5rem;
-  display: -webkit-box;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-box-align: center;
-      -ms-flex-align: center;
-          align-items: center;
-  border-bottom: 1px solid #eee;
-}
-.sidebar-header__title {
-  font-size: .825rem;
-  text-transform: uppercase;
-  letter-spacing: .04rem;
-  margin: 0;
-}
-.sidebar-header__action {
-  margin-left: auto;
-  font-size: .825rem;
-}
-
-@media screen and (min-width: 768px) {
-  .sidebar {
-    min-width: 310px;
-    border-left: 1px solid #ddd;
-  }
-}
-.card {
-  background-color: #fff;
-  border-radius: 4px;
-  border: none;
-  box-shadow: 0 2px 0 #eee;
-  margin-bottom: 30px;
-}
-
-/**
- * Make a small card text modifier so we can still use
- * Bootstrap's default styles if needed.
- */
-.card-text--small {
-  line-height: 1.4;
-  font-size: .825rem;
-}
-
-.card.is-disabled {
-  background-color: #ddd;
-}
-.card.is-disabled .card-title {
-  color: #999999;
-}
-.card.is-disabled .badge {
-  background-color: #ccc;
-  color: #999999;
-}
-
-.card-link:hover {
-  text-decoration: none;
-  background-color: #fafafa;
-}
-
-.card.is-disabled .card-link:hover {
-  background-color: #ddd;
-  cursor: not-allowed;
-}
-
-/**
- * Feed
- */
-.feed {
-  list-style: none;
-  margin: 0;
-  padding: 0;
-}
-.feed__list-item {
-  padding: 1.5rem;
-  border-bottom: 1px solid #eee;
-}
-.feed__label {
-  font-size: .825rem;
-  text-transform: uppercase;
-}
-.feed__title {
-  font-size: 1rem;
-  margin: 0;
-}
-.feed__title a {
-  color: #212529;
-}
-.feed__item-meta {
-  margin: 0;
-  font-size: .825rem;
-}

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/css/main.css.map
----------------------------------------------------------------------
diff --git a/django_airavata/static/css/main.css.map b/django_airavata/static/css/main.css.map
deleted file mode 100644
index 3f5b826..0000000
--- a/django_airavata/static/css/main.css.map
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"version": 3,
-"mappings": "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",
-"sources": ["main.scss"],
-"names": [],
-"file": "main.css"
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/840789b5/django_airavata/static/js/app.js
----------------------------------------------------------------------
diff --git a/django_airavata/static/js/app.js b/django_airavata/static/js/app.js
deleted file mode 100644
index 062c40f..0000000
--- a/django_airavata/static/js/app.js
+++ /dev/null
@@ -1,2 +0,0 @@
-var AiravataApp=webpackJsonpAiravataApp([0],[,function(t,e,a){var n=a(0)(a(16),a(28),null,null,null);t.exports=n.exports},,function(t,e,a){var
n=a(0)(a(11),a(27),null,null,null);t.exports=n.exports},function(t,e,a){function n(t){a(20)}var
s=a(0)(a(13),a(29),n,null,null);t.exports=s.exports},function(t,e,a){var n=a(0)(null,a(30),null,null,null);t.exports=n.exports},function(t,e,a){function
n(t){a(21)}var s=a(0)(a(14),a(31),n,null,null);t.exports=s.exports},function(t,e,a){"use strict";var
n=a(24),s=a.n(n),i=a(6),r=a.n(i),c=a(1),l=a.n(c),o=a(4),p=a.n(o),u=a(5),d=a.n(u),_=a(23),v=a.n(_),m=a(2),f=[{path:"/new/application",component:r.a,name:"newapp",children:[{path:"details",component:p.a,name:"details"},{path:"interface",component:d.a,name:"interface"},{path:"deployments",component:v.a,name:"deployments"}]},{path:"/",component:s.a},{path:"/experiments",component:l.a}];e.a=new
m.a({routes:f})},function(t,e,a){var n=a(0)(null,a(32),null,null,null);t.exports=n.exports},,,function(t,e,a){"
 use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"dashboard-item",props:["dashboard_item","tags","height"],data:function(){return{height:100}}}},function(t,e,a){"use
strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"recent-experiment",props:["experiment"]}},function(t,e,a){"use
strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{}}}},function(t,e,a){"use
strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(4),s=a.n(n),i=a(5),r=a.n(i);e.default={components:{ApplicationDetails:s.a,ApplicationInterface:r.a},data:function(){return{current_active_tab:0,previous_active_tab:-1}},computed:{tabs:function(){var
t=new Array(3).fill("");return t[this.current_active_tab]="active",this.previous_active_tab>0&&this.previous_active_tab<3&&(t[this.previous_active_tab]=""),t}},methods:{tab_handler:function(t){this.current_active_tab!=t&&(this.previous_active_tab=this.current_active_tab,this.current_a
 ctive_tab=t)}}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var
n=a(3),s=a.n(n),i=a(6),r=a.n(i);e.default={data:function(){return{applications:[]}},components:{DashboardItem:s.a,NewApplication:r.a},mounted:function(){this.fetchApplications()},methods:{fetchApplications:function(){var
t=this;this.$http.get("/api/applications").then(function(e){t.applications=e.body},function(e){t.applications=[{appModuleId:"",appModuleName:"No
Applications Found",appModuleDescription:"",appModuleVersion:""}]})}}}},function(t,e,a){"use
strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(3),s=a.n(n),i=a(22),r=a.n(i),c=a(18);e.default={name:"main-section",components:{DashboardItem:s.a,RecentExperiment:r.a},data:function(){var
t={view_all:!1,default_experiment_count:3,height:180,applications:[],experiments:[{name:"Gaussian",description:"My
very first test experiment",status:"Failed",updated:"14 minutes ago"},{name:"Lampps",description:"A
really BIG experime
 nt That Has a Really Long Title",status:"Completed",updated:"20 hours ago"},{name:"Gromacs",description:"exp_4a56w4892s23r6p9y_1",status:"Created",updated:"2
days ago"},{name:"RandExpr",description:"exp_4a56w4892s23r6p9y_1",status:"Failed",updated:"5
days ago"}]};return a.i(c.a)(t.experiments),t},mounted:function(){this.fetchApplications()},methods:{views_all_click_handler:function(){this.view_all=!this.view_all},fetchApplications:function(){var
t=this;this.$http.get("/api/applications").then(function(e){t.applications=e.body},function(e){t.applications=[{appModuleId:"",appModuleName:"No
Applications Found",appModuleDescription:"",appModuleVersion:""}]})}}}},function(t,e,a){"use
strict";function n(t){return new s.a({el:"#app",router:u.a,template:"<"+t+"/>",components:{ExperimentsDashboard:l.a,AdminDashboard:p.a}})}Object.defineProperty(e,"__esModule",{value:!0}),e.initializeApacheAiravataDashboard=n;var
s=a(10),i=a(9),r=a(2),c=a(1),l=a.n(c),o=a(8),p=a.n(o),u=a(7);s.a.config.producti
 onTip=!1,s.a.use(i.a),s.a.use(r.a)},function(t,e,a){"use strict";function n(t){for(var e=0;e<t.length;e++)t[e].index=e;return
t}e.a=n},function(t,e){},function(t,e){},function(t,e){},function(t,e,a){var n=a(0)(a(12),a(25),null,null,null);t.exports=n.exports},function(t,e,a){var
n=a(0)(null,a(33),null,null,null);t.exports=n.exports},function(t,e,a){function n(t){a(19)}var
s=a(0)(a(15),a(26),n,null,null);t.exports=s.exports},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"feed__list-item"},[a("span",{staticClass:"feed__label
text-secondary"},[t._v(t._s(t.experiment.name))]),t._v(" "),a("h2",{staticClass:"feed__title
mb-2"},[a("a",{attrs:{href:"#0"}},[t._v(t._s(t.experiment.description))])]),t._v(" "),"Completed"==t.experiment.status?a("span",{staticClass:"badge
badge-success"},[t._v(t._s(t.experiment.status))]):"Created"==t.experiment.status?a("span",{staticClass:"badge
badge-primary"},[t._v(t._s(t.experiment.status)
 )]):a("span",{staticClass:"badge badge-danger"},[t._v(t._s(t.experiment.status))]),t._v("
"),a("div",{staticClass:"feed__item-meta text-secondary mt-1"},[a("span",[t._v("Updated")]),t._v("
"),a("time",[t._v(t._s(t.experiment.updated))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"new_app"},[a("div",{staticClass:"new_app_header"},[a("h4",{staticStyle:{display:"inline-block"}},[t._v("Application
Catalog")]),t._v(" "),a("router-link",{attrs:{to:{name:"details"}}},[a("button",t._g({},this.$emit("new_application")),[t._v("New
Application "),a("span",[t._v("+")])])])],1),t._v(" "),a("div",{staticClass:"applications"},[a("h6",{staticStyle:{color:"#666666"}},[t._v("APPLICATIONS")]),t._v("
"),a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},t._l(t.applications,function(t){return
a("DashboardItem",{key:t.title,attrs:{dashboard_item:t}})}))])])])},staticRenderFns:[]}},functio
 n(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return
a("div",{staticClass:"col-md-6 col-xl-4"},[a("div",{staticClass:"card"},[a("a",{staticClass:"card-link
text-dark",style:"min-height:"+t.height+"px;",attrs:{href:"#0"}},[a("div",{staticClass:"card-body"},[a("h2",{staticClass:"card-title
h5"},[t._v(t._s(t.dashboard_item.appModuleName))]),t._v(" "),t._l(t.dashboard_item.tags,function(e){return
a("span",{staticClass:"badge badge-primary mr-1"},[t._v(t._s(e))])}),t._v(" "),t.dashboard_item.appModuleVersion?a("span",{staticClass:"badge
badge-primary mr-1"},[t._v(t._s(t.dashboard_item.appModuleVersion))]):t._e(),t._v(" "),a("p",{staticClass:"card-text
card-text--small mt-3 text-secondary"},[t._v(t._s(t.dashboard_item.appModuleDescription))])],2)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"stage"},[a("main",{staticClass:"main-content"},[t._m(0),t._v("
"
 ),a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},t._l(t.applications,function(e){return
a("DashboardItem",{key:e.title,attrs:{dashboard_item:e,height:t.height}})}))])]),t._v(" "),a("aside",{staticClass:"sidebar"},[a("header",{staticClass:"sidebar-header"},[a("h1",{staticClass:"sidebar-header__title"},[t._v("Recent
Experiments")]),t._v(" "),a("a",{staticClass:"sidebar-header__action",attrs:{href:"#0"},on:{click:t.views_all_click_handler}},[t._v("View
all")])]),t._v(" "),a("ol",{staticClass:"feed"},t._l(t.experiments,function(e){return e.index<t.default_experiment_count||t.view_all?a("RecentExperiment",{key:e.name,attrs:{experiment:e}}):t._e()}))])])},staticRenderFns:[function(){var
t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container-fluid"},[a("h1",{staticClass:"h4
mb-4"},[t._v("Dashboard")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c;return
t._m(0)},staticRenderFns:[function(){var t=thi
 s,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main_section"},[a("h4",[t._v("Application
Details")]),t._v(" "),a("div",{staticClass:"entry"},[a("div",{staticClass:"heading"},[t._v("Application
Name")]),t._v(" "),a("input",{attrs:{type:"text"}})]),t._v(" "),a("div",{staticClass:"entry"},[a("div",{staticClass:"heading"},[t._v("Application
Version")]),t._v(" "),a("input",{attrs:{type:"text"}})]),t._v(" "),a("div",{staticClass:"entry"},[a("div",{staticClass:"heading"},[t._v("Experiment
Description")]),t._v(" "),a("textarea",{staticStyle:{height:"80px"},attrs:{type:"text"}})]),t._v("
"),a("div",{staticClass:"btns"},[a("input",{staticClass:"cancel",attrs:{type:"button",value:"Cancel"}}),t._v("
"),a("input",{staticClass:"save",attrs:{type:"button",value:"Save"}})])])}]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement;t._self._c;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return
a("div",{staticClass:"
 main_section"},[a("h4",[t._v("Application Interface")])])}]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"new_app"},[a("h3",[t._v("Create
A New Application")]),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"tabs"},[a("div",{staticClass:"tab",class:t.tabs[0],on:{click:function(e){t.tab_handler(0)}}},[a("label",{staticClass:"lbl"},[a("router-link",{staticClass:"link",attrs:{to:{name:"details"}}},[t._v("Details")])],1)]),t._v("
"),a("div",{staticClass:"tab",class:t.tabs[1],on:{click:function(e){t.tab_handler(1)}}},[a("label",{staticClass:"lbl"},[a("router-link",{staticClass:"link",attrs:{to:{name:"interface"}}},[t._v("Interface")])],1)]),t._v("
"),a("div",{staticClass:"tab",class:t.tabs[2],on:{click:function(e){t.tab_handler(2)}}},[a("label",{staticClass:"lbl"},[a("router-link",{staticClass:"link",attrs:{to:{name:"deployments"}}},[t._v("Deployments")])],1)]),t._v("
"),a("div",{staticClass:"tab",sta
 ticStyle:{width:"100%"}})]),t._v(" "),a("router-view")],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement;return(t._self._c||e)("router-view")},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var
t=this,e=t.$createElement;t._self._c;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return
a("div",{staticClass:"main_section"},[a("h4",[t._v("Application Deployments")])])}]}},,,function(t,e){}],[17]);
-//# sourceMappingURL=app.js.map
\ No newline at end of file


Mime
View raw message