etcher/lib/gui/index.html
Benedict Aas a7d713c323 feat(GUI): rewrite svg-icon directive in react (#1464)
We change from using an Angular directive to using React through
react2angular in the SVGIcon module.
2017-06-12 08:42:52 -04:00

67 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Etcher</title>
<link rel="stylesheet" type="text/css" href="../../node_modules/flexboxgrid/dist/flexboxgrid.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/desktop.css">
<link rel="stylesheet" type="text/css" href="css/angular.css">
<!-- Enable debug information from all modules that use `debug` -->
<!-- See https://github.com/visionmedia/debug#browser-support -->
<script>window.localStorage.debug = '*';</script>
<script src="./app.js"></script>
</head>
<body ng-app="Etcher">
<header class="section-header" ng-controller="HeaderController as header">
<button class="button button-link" ng-click="header.openHelpPage()">
<span class="glyphicon glyphicon-question-sign"></span>
</button>
<button class="button button-link" ui-sref="settings" hide-if-state="settings">
<span class="glyphicon glyphicon-cog"></span>
</button>
<button class="button button-link" ui-sref="main" show-if-state="settings">
<span class="glyphicon glyphicon-chevron-left"></span> Back
</button>
</header>
<main class="wrapper" ui-view></main>
<footer class="section-footer" ng-controller="StateController as state"
ng-hide="state.currentName === 'success'">
<span os-open-external="https://etcher.io?ref=etcher_footer">
<svg-icon path="'../assets/etcher.svg'"
width="'83px'"
height="'13px'"></svg-icon>
</span>
<span class="caption">
is <span class="caption" os-open-external="https://github.com/resin-io/etcher">an open source project</span> by
</span>
<span os-open-external="https://resin.io?ref=etcher">
<svg-icon path="'../assets/resin.svg'"
width="'79px'"
height="'23px'"></svg-icon>
</span>
<span class="caption footer-right"
manifest-bind="version"
os-open-external="https://github.com/resin-io/etcher/blob/master/CHANGELOG.md"></span>
</footer>
<div class="section-loader"
ng-controller="StateController as state"
ng-class="{
isFinish: state.currentName === 'success'
}">
<safe-webview
src="'https://etcher.io/success-banner/'"
refresh-now="state.previousName === 'success'"></safe-webview>
</div>
</body>
</html>