refstack/refstack-ui/app/index.html
sslypushenko 4624c926fd Improve authentication alerts
If OpenStackID returns failure user will be shown failure message.
Steps to check:
Setup RefStack as usual but point REFSTACK_HOST=127.0.0.1. It will
cause OpenStackID auth failure. So try to auth and you should get
error message in popup (instead of plain json document as it was before).

Change-Id: Icda5b219429047e89b393245a3a6eeadf171bd90
2015-09-03 15:41:17 -07:00

60 lines
2.5 KiB
HTML

<!DOCTYPE html>
<!--
Copyright (c) 2015 IBM Corp.
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.
-->
<html id="ng-app">
<head>
<meta charset="utf-8">
<meta name="description" content="Refstack">
<meta name="viewport" content="width=device-width">
<title>Refstack</title>
<link rel="shorcut icon" href="favicon.ico">
<link rel="stylesheet" href="assets/lib/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/lib/angular-busy/dist/angular-busy.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<script src="assets/lib/angular/angular.js"></script>
<script src="assets/lib/angular-ui-router/release/angular-ui-router.js"></script>
<script src="assets/lib/angular-resource/angular-resource.min.js"></script>
<script src="assets/lib/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="assets/lib/angular-busy/dist/angular-busy.min.js"></script>
<script src="assets/lib/angular-confirm-modal/angular-confirm.js"></script>
<script src="app.js"></script>
<script src="assets/js/refstack.js"></script>
<!-- Controllers -->
<script src="shared/header/headerController.js"></script>
<script src="shared/alerts/alertModalFactory.js"></script>
<script src="components/capabilities/capabilitiesController.js"></script>
<script src="components/results/resultsController.js"></script>
<script src="components/results-report/resultsReportController.js"></script>
<script src="components/profile/profileController.js"></script>
<script src="components/auth-failure/authFailureController.js"></script>
<!-- Filters -->
<script src="shared/filters.js"></script>
</head>
<body class="container">
<header ng-include src="'shared/header/header.html'"></header>
<div ui-view></div>
</body>
</html>