Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html menu #13

Merged
merged 5 commits into from
Jun 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
debug.log
pkg
node_modules/
build
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mkdir build 2> /dev/null
browserify js/menu.jsx > build/menu.js
browserify js/initialize.jsx > build/initialize.js
21 changes: 21 additions & 0 deletions wizard/css/wizard.css → css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
height: 50;
}

#error_row {
display: none;
}

#header h3 {
color: white;
margin-top: 15px;
Expand All @@ -23,4 +27,21 @@ h3 {
.panel-heading {
text-transform: uppercase;
font-weight: bold;
}

label {
padding-top: 8px;
}

.nomargin {
margin: 0;
}

.top-buffer {
margin-top: 10px;
}

.loaderanimation {
margin-right: 10px;
margin-top: 2px;
}
53 changes: 53 additions & 0 deletions css/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
html {
width: 240px;
overflow: hidden;
}

.padding {
padding: 8px;
}

.status {
text-align: right;
}

.value {
text-align: right;
}

.panel {
padding: 4px;
margin-top: 10px;
margin-bottom: 0;
}

#logo {
display: table;
width: 100%;
}

.control {
display: block;
margin-top: 6px;
}

.toggle {
height: 32px !important;
width: 64px !important;
}

.cell {
width: 33%;
display: table-cell;
text-align: center;
padding-bottom: 6px;
}

.version {
text-align: center;
margin-bottom: 4px;
}

.nomarginbottom {
margin-bottom: 0;
}
30 changes: 30 additions & 0 deletions html/help.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<html>
<head>
<title>IPFS Setup</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/common.css"/>
</head>
<body>
<div id="header" class="row">
<div class="col-xs-2">
<img id="logo" src="img/logo.png"/>
</div>
<div class="col-xs-7">
</div>
</div>
<br/>
<div id="error_row" class="row">
<div class="col-xs-9 col-xs-offset-2">
<div class="panel panel-danger">
<div class="panel-heading">
Error
</div>
<div class="panel-body" id="error">
</div>
</div>
</div>
</div>
<script src="../js/help.js"></script>
</body>
</html>
20 changes: 20 additions & 0 deletions html/initialize.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<html>
<head>
<title>IPFS Setup</title>
<meta charset='utf-8'/>
<link rel='stylesheet' href='../node_modules/bootstrap/dist/css/bootstrap.css'/>
<link rel='stylesheet' href='../css/common.css'/>
<script src="../build/initialize.js"></script>
</head>
<body>
<div id='header' class='row'>
<div class='col-xs-2'>
<img id='logo' src='../img/logo.png'/>
</div>
<div class='col-xs-7'>
</div>
</div>
<br/>
<div id='initform'></div>
</body>
</html>
13 changes: 13 additions & 0 deletions html/menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<html>
<head>
<meta charset="utf-8"/>
<title>Example App</title>
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css"/>
<link rel="stylesheet" href="../node_modules/bootstrap-toggle/css/bootstrap2-toggle.css"/>
<link rel="stylesheet" href="../css/menu.css"/>
<script src="../build/menu.js"></script>
</head>
<body>
<div id="menu-app"/>
</body>
</html>
Binary file added img/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading