aboutsummaryrefslogtreecommitdiffstats
path: root/moon_gui/delivery/html/common
diff options
context:
space:
mode:
Diffstat (limited to 'moon_gui/delivery/html/common')
-rw-r--r--moon_gui/delivery/html/common/404/404.tpl.html1
-rw-r--r--moon_gui/delivery/html/common/compatibility/compatibility.tpl.html1
-rw-r--r--moon_gui/delivery/html/common/footer/footer.tpl.html1
-rw-r--r--moon_gui/delivery/html/common/header/header.tpl.html1
-rw-r--r--moon_gui/delivery/html/common/loader/loader.tpl.html1
-rw-r--r--moon_gui/delivery/html/common/waiting/waiting.tpl.html1
6 files changed, 6 insertions, 0 deletions
diff --git a/moon_gui/delivery/html/common/404/404.tpl.html b/moon_gui/delivery/html/common/404/404.tpl.html
new file mode 100644
index 00000000..f03a2e98
--- /dev/null
+++ b/moon_gui/delivery/html/common/404/404.tpl.html
@@ -0,0 +1 @@
+<div data-translate="moon.global.404">Not found!</div><div>Go <a href="" ui-sref="moon.project.list">Projects ?</a></div> \ No newline at end of file
diff --git a/moon_gui/delivery/html/common/compatibility/compatibility.tpl.html b/moon_gui/delivery/html/common/compatibility/compatibility.tpl.html
new file mode 100644
index 00000000..7a39554e
--- /dev/null
+++ b/moon_gui/delivery/html/common/compatibility/compatibility.tpl.html
@@ -0,0 +1 @@
+<div class="modal" tabindex="-1" data-role="modalCompatibility"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="modal-title" data-translate="moon.compatibility.title"></h4></div><div class="modal-body"><span data-translate="moon.compatibility.content"></span></div><div class="modal-footer"><div class="btn-toolbar" style="float: right"><button ng-click="$hide()" class="btn btn-default" data-translate="moon.compatibility.close">Close</button></div></div></div></div></div> \ No newline at end of file
diff --git a/moon_gui/delivery/html/common/footer/footer.tpl.html b/moon_gui/delivery/html/common/footer/footer.tpl.html
new file mode 100644
index 00000000..6c01bd92
--- /dev/null
+++ b/moon_gui/delivery/html/common/footer/footer.tpl.html
@@ -0,0 +1 @@
+<div class="container footer" ng-controller="FooterController as footer"><div class="row"><div class="pull-right"><span>v<span ng-bind="footer.version"></span></span> - <a href="" ng-click="footer.showBrowsersCompliance()" data-translate="moon.compatibility.label">browser compatibility</a></div></div></div> \ No newline at end of file
diff --git a/moon_gui/delivery/html/common/header/header.tpl.html b/moon_gui/delivery/html/common/header/header.tpl.html
new file mode 100644
index 00000000..6f46cf8f
--- /dev/null
+++ b/moon_gui/delivery/html/common/header/header.tpl.html
@@ -0,0 +1 @@
+<div class="container banner" ng-controller="HeaderController as header"><div class="row"><div class="col-md-3 sub-banner"><a ui-sref="moon.dashboard"><img src="assets/img/logo-orange.gif" alt="Orange"> </a><img src="assets/img/logo-openstack.png" alt="OpenStack"></div><div class="col-md-6 center-block"><h1 data-translate="moon.global.applicationName">Moon UI</h1></div><div class="col-md-3"><span class="pull-right"><a href="" ng-click="header.changeLocale('fr', $event)" ng-class="{'strong' : header.currentLanguage === 'fr'}"><img src="assets/img/arrow-link.gif" alt="fr_">fr</a> <a href="" ng-click="header.changeLocale('en', $event)" ng-class="{'strong' : header.currentLanguage === 'en'}"><img src="assets/img/arrow-link.gif" alt="en_">en</a> <a href="" ng-if="connected" ng-click="header.logout()" class="left30"><span class="glyphicon glyphicon-log-out"></span> <span data-translate="moon.logout.title">Logout</span>(<span ng-bind="header.getUser().token.user.name"></span>) </a><a href="" ng-if="!connected" class="left30"><span class="glyphicon glyphicon-log-in"></span> <span data-translate="moon.login.title">Login</span></a></span></div></div><div class="row"><toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button': true}"></toaster-container></div><div class="row" ng-if="connected"><ul class="nav nav-tabs"><li ng-class="{active: header.isProjectTabActive()}"><a ui-sref="moon.project.list" data-translate="moon.menu.project">Projects</a></li><li ng-class="{active: header.isModelTabActive()}"><a ui-sref="moon.model.list" data-translate="moon.menu.model">Models</a></li><li ng-class="{active: header.isPolicyTabActive()}"><a ui-sref="moon.policy.list" data-translate="moon.menu.policy">Policy</a></li><li ng-class="{active: header.isPDPTabActive()}"><a ui-sref="moon.pdp.list" data-translate="moon.menu.pdp">PDP</a></li><!--<li ng-class="{active: header.isLogsTabActive()}"><a ui-sref="moon.logs" data-translate="moon.menu.logs">Logs</a></li>--></ul></div></div> \ No newline at end of file
diff --git a/moon_gui/delivery/html/common/loader/loader.tpl.html b/moon_gui/delivery/html/common/loader/loader.tpl.html
new file mode 100644
index 00000000..dc52e911
--- /dev/null
+++ b/moon_gui/delivery/html/common/loader/loader.tpl.html
@@ -0,0 +1 @@
+<img src="assets/img/ajax-loader.gif"> \ No newline at end of file
diff --git a/moon_gui/delivery/html/common/waiting/waiting.tpl.html b/moon_gui/delivery/html/common/waiting/waiting.tpl.html
new file mode 100644
index 00000000..eca2ae9e
--- /dev/null
+++ b/moon_gui/delivery/html/common/waiting/waiting.tpl.html
@@ -0,0 +1 @@
+<div class="modal" tabindex="-1" data-role="modalWaiting"><div class="modal-dialog"><div class="modal-content"><div class="modal-body centered"><img src="assets/img/ajax-waiting.gif"></div></div></div></div> \ No newline at end of file