aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmclaugh...@apache.org
Subject aurora git commit: Add banner pointing to new UI
Date Thu, 19 Oct 2017 20:50:00 GMT
Repository: aurora
Updated Branches:
  refs/heads/master a9827fec3 -> b9ede2f7a


Add banner pointing to new UI

Reviewed at https://reviews.apache.org/r/63165/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/b9ede2f7
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/b9ede2f7
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/b9ede2f7

Branch: refs/heads/master
Commit: b9ede2f7a92e17e1a6abadb64122cb175ac387b3
Parents: a9827fe
Author: David McLaughlin <david@dmclaughlin.com>
Authored: Thu Oct 19 13:48:28 2017 -0700
Committer: David McLaughlin <david@dmclaughlin.com>
Committed: Thu Oct 19 13:48:28 2017 -0700

----------------------------------------------------------------------
 src/main/resources/scheduler/assets/css/app.css | 11 +++++++++
 .../scheduler/assets/scheduler/index.html       | 25 ++++++++++++++++++++
 2 files changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/b9ede2f7/src/main/resources/scheduler/assets/css/app.css
----------------------------------------------------------------------
diff --git a/src/main/resources/scheduler/assets/css/app.css b/src/main/resources/scheduler/assets/css/app.css
index 67a0ac5..68b440d 100644
--- a/src/main/resources/scheduler/assets/css/app.css
+++ b/src/main/resources/scheduler/assets/css/app.css
@@ -470,4 +470,15 @@ span.loading {
 
 .clickable {
   cursor: pointer
+}
+
+.beta-banner {
+  background-color: steelblue;
+  padding: 10px 0;
+  text-transform: uppercase;
+  font-weight: 700;
+}
+
+.beta-banner a {
+  color: white;
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aurora/blob/b9ede2f7/src/main/resources/scheduler/assets/scheduler/index.html
----------------------------------------------------------------------
diff --git a/src/main/resources/scheduler/assets/scheduler/index.html b/src/main/resources/scheduler/assets/scheduler/index.html
index 98e465a..417f8f8 100644
--- a/src/main/resources/scheduler/assets/scheduler/index.html
+++ b/src/main/resources/scheduler/assets/scheduler/index.html
@@ -39,6 +39,28 @@
     </div>
   </div>
 </nav>
+<div class='beta-banner'>
+  <div class='container-fluid'>
+    <div class='row'>
+      <!--
+       Licensed under the Apache License, Version 2.0 (the "License");
+       you may not use this file except in compliance with the License.
+       You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing, software
+       distributed under the License is distributed on an "AS IS" BASIS,
+       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+       See the License for the specific language governing permissions and
+       limitations under the License.
+       -->
+      <div class='col-md-12'>
+        <a id='beta-link' href='/beta/scheduler'> <span class='glyphicon glyphicon-hand-right'
></span> Try the Beta of the new Scheduler UI</a>
+      </div>
+    </div>
+  </div>
+</div>
 
 <div class='container-fluid'>
   <ng-view></ng-view>
@@ -74,5 +96,8 @@
 <!-- moment.js -->
 <script src='/assets/bower_components/momentjs/moment.js'></script>
 
+<script type='text/javascript'>
+  document.getElementById('beta-link').href = window.location.href.replace('/scheduler',
'/beta/scheduler');
+</script>
 </body>
 </html>


Mime
View raw message