Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Change home.html (#786)
Browse files Browse the repository at this point in the history
* Fix #741 Remove the usage of view

* change button to phglyphicon, start and stop button combine into one

* add tooltip

* add tooltip for rules and actions

* change home.html

* change about smart modal content
  • Loading branch information
yanpingyou authored and zhiqiang committed Jul 27, 2017
1 parent 504a5ad commit bdbf424
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion smart-zeppelin/zeppelin-web/src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var zeppelinWebApp = angular.module('zeppelinWebApp', [

$routeProvider
.when('/', {
templateUrl: 'app/home/home.html'
templateUrl: 'app/dashboard/views/cluster/cluster_hottestFiles.html'
})
.when('/notebook/:noteId', {
templateUrl: 'app/notebook/notebook.html',
Expand Down Expand Up @@ -250,10 +250,12 @@ var zeppelinWebApp = angular.module('zeppelinWebApp', [
.constant('conf', {
restapiProtocol: 'v1',
restapiRoot: 'http://localhost:8080/',
// restapiRoot: rootPath,
restapiQueryInterval: 3 * 1000, // in milliseconds
restapiQueryTimeout: 30 * 1000, // in milliseconds
restapiTaskLevelMetricsQueryLimit: 100,
loginUrl: 'http://localhost:8080/' + 'login'
// loginUrl: rootPath + 'login'
})
.constant('TRASH_FOLDER_ID', '~Trash');

Expand Down
9 changes: 6 additions & 3 deletions smart-zeppelin/zeppelin-web/src/components/navbar/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#/">
<img style="margin-top: -7px;" src="assets/images/zepLogoW.png" width="50" alt="I'm smart" /> Smart
<a class="navbar-brand" href="#/cluster/hotTestFiles">
<!--<img style="margin-top: -7px;" src="assets/images/zepLogoW.png" width="50" alt="I'm smart" /> -->
Smart
</a>
</div>

Expand Down Expand Up @@ -133,15 +134,17 @@ <h4 class="modal-title">About Smart</h4>
<div class="row about">
<div class="hidden-xs col-sm-4 logo">
<img src="assets/images/zepLogo.png" alt="Smart" title="Smart" />
<small>Powered by Apache Zeppelin!</small>
</div>
<div class="col-xs-12 col-sm-8 content">
<h3>Smart</h3>
<br/>
<br/>
<span id="i18n-14">Version</span>
{{zeppelinVersion}}
<br/>
<br/>
<a href="http://zeppelin.apache.org/" target="_blank"><span id="i18n-15">Get involved!</span></a>
<a href="https://github.com/Intel-bigdata/SSM" target="_blank"><span id="i18n-15">Get involved!</span></a>
<br/>
<a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank"><span id="i18n-16">Licensed under the Apache License, Version 2.0</span></a>
</div>
Expand Down

0 comments on commit bdbf424

Please sign in to comment.