cloudstore-developers
Details
response-generator/Procfile 1(+1 -0)
diff --git a/response-generator/Procfile b/response-generator/Procfile
new file mode 100644
index 0000000..caf6722
--- /dev/null
+++ b/response-generator/Procfile
@@ -0,0 +1 @@
+web: gunicorn server:app
response-generator/requirements.txt 1(+1 -0)
diff --git a/response-generator/requirements.txt b/response-generator/requirements.txt
index 44b9a46..76e7705 100644
--- a/response-generator/requirements.txt
+++ b/response-generator/requirements.txt
@@ -3,6 +3,7 @@ Flask-Triangle==0.5.4
Jinja2==2.7.3
MarkupSafe==0.23
Werkzeug==0.9.6
+gunicorn==19.2.0
itsdangerous==0.24
jsonschema==2.4.0
wsgiref==0.1.2
diff --git a/response-generator/static/js/angular/main.js b/response-generator/static/js/angular/main.js
index 1ba4bc2..35a8a75 100644
--- a/response-generator/static/js/angular/main.js
+++ b/response-generator/static/js/angular/main.js
@@ -97,7 +97,7 @@ responseGeneratorApp.service('buildUrlService', function () {
url = '?alpha=' + attr1 + '&beta=' + attr2 + '&k=' + attr3
}
if (dist == 'uniform'){
- url = '?a=' + attr1 + '&b=' + attr2;
+ url = '?a=' + attr1 + '&b=' + attr2 + '&k=' + attr3;
}
if (dist == 'constant')
{
diff --git a/response-generator/templates/index.html b/response-generator/templates/index.html
index 61a41dd..2430831 100644
--- a/response-generator/templates/index.html
+++ b/response-generator/templates/index.html
@@ -16,7 +16,8 @@
<script src="{{ app_path }}/static/js/jstat.min.js"></script>
<script src="{{ app_path }}/static/js/angular/main.js"></script>
<style>
- .right-bottom .github-fork-ribbon {
+ .right-bottom .github-fork-ribbon,
+ .right .github-fork-ribbon{
background-color: #648CAF;
}
</style>
@@ -26,7 +27,7 @@
<div class="col-md-12 text-center" style="margin-bottom:20px">
<div>
<div class="text-left pull-left" style="margin-top: 20px;">
- <img src="{{ app_path }}/static/images/logo-CloudScale.png" />
+ <a href="http://www.cloudscale-project.eu"><img src="{{ app_path }}/static/images/logo-CloudScale.png" /></a>
</div>
<div class="pull-right" style="margin-top: 27px;">
<h2>Response generator</h2>
@@ -77,7 +78,7 @@
<a ng-href="{{ app_path }}/{{ url|angular }}&test=true" class="btn btn-primary">Get value</a>
</div>
- <div class="github-fork-ribbon-wrapper right-bottom">
+ <div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/Cloudscale-project">Fork us on GitHub</a>
</div>