Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:kubic:ei-demo
cloud-native-demos
gws-kubic-layout.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gws-kubic-layout.patch of Package cloud-native-demos
diff --git a/elastic_inference/spa/src/components/StreamView.vue b/elastic_inference/spa/src/components/StreamView.vue index 27fd9bb..f353bcc 100644 --- a/elastic_inference/spa/src/components/StreamView.vue +++ b/elastic_inference/spa/src/components/StreamView.vue @@ -2,7 +2,8 @@ .stream-card { width: 500px; display: block; - background-color: lightyellow; + background-color: #505050; + color: #f2f2f2; float:left; } </style> @@ -59,4 +60,4 @@ export default { } } } -</script> \ No newline at end of file +</script> diff --git a/elastic_inference/spa/src/libs/util.js b/elastic_inference/spa/src/libs/util.js index 088df8c..e7c6397 100644 --- a/elastic_inference/spa/src/libs/util.js +++ b/elastic_inference/spa/src/libs/util.js @@ -2,7 +2,7 @@ let util = { }; util.title = function (title) { - title = title ? title + ' - Home' : 'Clear Linux Elastic Inference Demo'; + title = title ? title + ' - Powered by openSUSE Kubic (__CPU__)' : 'Elastic Inference Demo'; window.document.title = title; }; diff --git a/elastic_inference/spa/src/router.js b/elastic_inference/spa/src/router.js index a803ae6..acae9db 100644 --- a/elastic_inference/spa/src/router.js +++ b/elastic_inference/spa/src/router.js @@ -2,9 +2,9 @@ const routers = [ { path: '/', meta: { - title: 'Clear Linux Elastic Inference Demo' + title: 'Elastic Inference Demo' }, component: (resolve) => require(['./views/index.vue'], resolve) } ]; -export default routers; \ No newline at end of file +export default routers; diff --git a/elastic_inference/spa/src/template/index.ejs b/elastic_inference/spa/src/template/index.ejs index 3f0e9c5..809a278 100644 --- a/elastic_inference/spa/src/template/index.ejs +++ b/elastic_inference/spa/src/template/index.ejs @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="zh-CN"> +<html> <head> <title>Clear Linux Elastic Inference Demo</title> diff --git a/elastic_inference/spa/src/views/index.vue b/elastic_inference/spa/src/views/index.vue index 1e69a36..ecf86e0 100644 --- a/elastic_inference/spa/src/views/index.vue +++ b/elastic_inference/spa/src/views/index.vue @@ -6,6 +6,8 @@ bottom: 0; left: 0; text-align: center; + background: #303030; + color: #f2f2f2; } .input-server { width: 50%; @@ -17,12 +19,22 @@ right: 20px; top: 20px; position: relative; + background: #505050; + color: #f2f2f2; } </style> <template> <div class="layout"> - <div> - <h1>Clear Linux Elastic Inference Demo</h1> + <div align="center"> + <br/> + <table> + <tr> + <th valign="center"><h1>Elastic Inference Demo - Powered by openSUSE Kubic (__CPU__)</h1></th> + <th> </th> + <th><img src="openSUSE-Kubic-Logo.png"/></th> + </tr> + </table> + <hr> </div> <div class="stream-area"> <StreamView v-for="stream in streams" v-bind:key="stream.name" v-bind:stream="stream" ></StreamView> @@ -81,4 +93,4 @@ }, } -</script> \ No newline at end of file +</script>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor