You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2018/03/22 11:02:51 UTC
qpid-dispatch git commit: DISPATCH-946 Detect if npm install needs to
be run and show a message.
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 6f85537c7 -> 299c69414
DISPATCH-946 Detect if npm install needs to be run and show a message.
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/299c6941
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/299c6941
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/299c6941
Branch: refs/heads/master
Commit: 299c69414bff247af9406e5992aa2eb7eda0473a
Parents: 6f85537
Author: Ernest Allen <ea...@redhat.com>
Authored: Thu Mar 22 07:02:29 2018 -0400
Committer: Ernest Allen <ea...@redhat.com>
Committed: Thu Mar 22 07:02:29 2018 -0400
----------------------------------------------------------------------
console/stand-alone/index.html | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/299c6941/console/stand-alone/index.html
----------------------------------------------------------------------
diff --git a/console/stand-alone/index.html b/console/stand-alone/index.html
index f3894fb..f5d6d21 100644
--- a/console/stand-alone/index.html
+++ b/console/stand-alone/index.html
@@ -76,11 +76,23 @@ under the License.
<div class="container-fluid">
<div class="row">
<div id="main_container" class="col-md-12">
- <div ng-view></div>
+ <div ng-view><div id="no-npm">Please run 'npm install' in the console/stand-alone/ directory.</div></div>
</div>
</div>
</div>
+<style>
+ #no-npm {
+ display: none;
+ }
+</style>
+<script>
+ setTimeout(function () {
+ var no_npm = document.getElementById('no-npm');
+ if (no_npm)
+ no_npm.style.display = "block";
+ }, 1000)
+</script>
<!-- Only needed for IE -->
<script src="node_modules/bluebird/js/browser/bluebird.js"></script>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org