Permalink
Browse files

added icons

  • Loading branch information...
1 parent f92bd3e commit 2ebd77bb8adfa84d1a6d3350646d097ed470b630 @richorama committed Nov 14, 2013
Showing with 17 additions and 14 deletions.
  1. +17 −14 index.html
View
@@ -45,6 +45,9 @@
.name{
margin-top: 15px;
}
+ .glyphicon{
+ padding-right:20px;
+ }
</style>
@@ -307,7 +310,7 @@
<div class="navbar-form navbar-left">
<strong>Muon Redux</strong>
{{#if canEdit}}
- <a href="javascript:void(0);" onclick="newPage();" class="btn btn-default">New Page</a>
+ <a href="javascript:void(0);" onclick="newPage();" class="btn btn-default"><i class="glyphicon glyphicon-file"></i>New Page</a>
{{/if}}
</div>
@@ -323,13 +326,13 @@
{{else}}
<h2>All pages in this Wiki</h2>
{{/if}}
- <ul>
+ <ul class="list-unstyled">
{{#each pages}}
{{#if isFile}}
- <li><a href="#page{{path}}">{{name}}</a></li>
+ <li><i class="glyphicon glyphicon-file"></i><a href="#page{{path}}">{{name}}</a></li>
{{/if}}
{{#if isFolder}}
- <li><a href="#folder/{{name}}">[{{name}}]</a></li>
+ <li><i class="glyphicon glyphicon-folder-open"></i><a href="#folder/{{name}}">[{{name}}]</a></li>
{{/if}}
{{/each}}
</ul>
@@ -338,10 +341,10 @@
<script id="markdown-template" type="text/x-handlebars-template">
<div class="navbar navbar-default">
- <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary">All Pages</a>
+ <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary"><i class="glyphicon glyphicon-list"></i>All Pages</a>
{{#if canEdit}}
- <a href="#edit/{{page}}" class="btn btn-default">Edit</a>
- <a href="javascript:void(0);" onclick="newPage();" class="btn btn-default">New Page</a>
+ <a href="#edit/{{page}}" class="btn btn-default"><i class="glyphicon glyphicon-pencil"></i>Edit</a>
+ <a href="javascript:void(0);" onclick="newPage();" class="btn btn-default"><i class="glyphicon glyphicon-file"></i>New Page</a>
{{/if}}
<!--a href="#history/{{page}}" class="btn btn-default">History</a-->
<strong>{{page}}</strong></div>
@@ -356,7 +359,7 @@
<script id="editor-template" type="text/x-handlebars-template">
<div class="navbar navbar-default">
- <div class="navbar-form navbar-left"><a class="btn btn-primary" href="javascript:void(0);" onclick="save('{{page}}');">Save</a> <a href="#page/{{page}}" class="btn btn-default">Cancel</a> <a href="javascript:void(0);" onclick="deletePage('{{page}}');" class="btn btn-danger">Delete</a>
+ <div class="navbar-form navbar-left"><a class="btn btn-primary" href="javascript:void(0);" onclick="save('{{page}}');"><i class="glyphicon glyphicon-floppy-disk"></i>Save</a> <a href="#page/{{page}}" class="btn btn-default"><i class="glyphicon glyphicon-remove"></i>Cancel</a> <a href="javascript:void(0);" onclick="deletePage('{{page}}');" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i>Delete</a>
<strong>Edit {{page}}</strong></div>
{{#if user}}
@@ -366,10 +369,10 @@
<div class="row-fluid">
<div class="navbar">
<ul class="nav nav-pills">
- <li id="edit-link" class="panel-link active"><a onclick="switchPanel('edit');" href="javascript:void(0);">Edit</a></li>
- <li id="preview-link" class="panel-link"><a onclick="switchPanel('preview');" href="javascript:void(0);">Preview</a></li>
- <li id="help-link" class="panel-link"><a onclick="switchPanel('help');" href="javascript:void(0);">Help</a></li>
- </ul>
+ <li id="edit-link" class="panel-link active"><a onclick="switchPanel('edit');" href="javascript:void(0);"><i class="glyphicon glyphicon-pencil"></i>Edit</a></li>
+ <li id="preview-link" class="panel-link"><a onclick="switchPanel('preview');" href="javascript:void(0);"><i class="glyphicon glyphicon-eye-open"></i>Preview</a></li>
+ <li id="help-link" class="panel-link"><a onclick="switchPanel('help');" href="javascript:void(0);"><i class="glyphicon glyphicon-question-sign"></i>Help</a></li>
+ </ul>
</div>
</div>
<div class="row-fluid panel" id="edit-panel">
@@ -474,7 +477,7 @@
<script id="history-template" type="text/x-handlebars-template">
<div class="navbar navbar-default">
- <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary">All Pages</a></div>
+ <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary"><i class="glyphicon glyphicon-list"></i>All Pages</a></div>
{{#if user}}
<div class="navbar-form navbar-right name">{{user.name}}</div>
{{/if}}
@@ -498,7 +501,7 @@
<script id="snapshot-template" type="text/x-handlebars-template">
<div class="navbar navbar-default">
- <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary">All Pages</a>
+ <div class="navbar-form navbar-left"><a href="#" class="btn btn-primary"><i class="glyphicon glyphicon-list"></i>All Pages</a>
<a href="#page/{{page}}" class="btn btn-primary">Current Version</a>
<a href="#history/{{page}}" class="btn btn-default">History</a>
{{#if canEdit}}

0 comments on commit 2ebd77b

Please sign in to comment.