Upgrade to Bootstrap 3
This commit is contained in:
parent
54870aab39
commit
25ca30ce28
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# Sun 4 Aug 2013 18:48:25 IST
|
||||
# Wed 7 Aug 2013 23:32:48 IST
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
|
@ -1,9 +1,10 @@
|
||||
define([
|
||||
"jquery",
|
||||
"underscore",
|
||||
"utils",
|
||||
"classes/Extension",
|
||||
"text!../../version",
|
||||
"text!html/dialogAbout.html",
|
||||
], function($, _, Extension, dialogAboutHTML) {
|
||||
], function(_, utils, Extension, version, dialogAboutHTML) {
|
||||
|
||||
var dialogAbout = new Extension("dialogAbout", 'Dialog "About"');
|
||||
|
||||
@ -42,9 +43,10 @@ define([
|
||||
};
|
||||
|
||||
dialogAbout.onReady = function() {
|
||||
$("#modal-about .modal-body").html(_.template(dialogAboutHTML, {
|
||||
utils.addModal('modal-about', _.template(dialogAboutHTML, {
|
||||
libraries: libraries,
|
||||
projects: projects
|
||||
projects: projects,
|
||||
version: version
|
||||
}));
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
<li class="stick">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="icon-search"></i></span><input
|
||||
type="text" id="file-search" class="col-lg-3 form-control">
|
||||
type="text" id="file-search" class="form-control">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -43,16 +43,6 @@
|
||||
<div class="ui-layout-south preview-container"></div>
|
||||
|
||||
|
||||
<div class="document-panel collapse width">
|
||||
<button class="btn btn-success collapse-button" data-toggle="collapse"
|
||||
data-target=".document-panel" title="Menu">
|
||||
<i class="icon-folder-open"></i> <i class="icon-right-dir"></i>
|
||||
</button>
|
||||
<div class="panel-content">
|
||||
<div class="list-group">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu-panel collapse width">
|
||||
<button class="btn btn-success collapse-button" data-toggle="collapse"
|
||||
data-target=".menu-panel" title="Menu">
|
||||
@ -131,6 +121,18 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="document-panel collapse width">
|
||||
<button class="btn btn-success collapse-button" data-toggle="collapse"
|
||||
data-target=".document-panel" title="Menu">
|
||||
<i class="icon-folder-open"></i> <i class="icon-right-dir"></i>
|
||||
</button>
|
||||
<div class="panel-content">
|
||||
<div class="list-group">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="modal-insert-link" class="modal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
@ -879,24 +881,6 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div id="modal-about" class="modal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
<img src="img/stackedit-promo.png" />
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="modal-non-unique" class="modal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
@ -1,17 +1,27 @@
|
||||
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
<img src="img/stackedit-promo.png" />
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<dl>
|
||||
<dt>About:</dt>
|
||||
<dd>
|
||||
<a target="_blank" href="https://github.com/benweet/stackedit/">GitHub
|
||||
project</a> / <a target="_blank"
|
||||
href="https://github.com/benweet/stackedit/issues">issue tracker</a><br />
|
||||
<a target="_blank"
|
||||
href="https://github.com/benweet/stackedit/issues">issue
|
||||
tracker</a><br /> <a target="_blank"
|
||||
href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg">Chrome
|
||||
app</a> (thanks for your review!)<br /> <a target="_blank"
|
||||
href="https://twitter.com/stackedit/">Follow on Twitter</a><br /> <a
|
||||
target="_blank" href="https://www.facebook.com/stackedit/">Follow
|
||||
href="https://twitter.com/stackedit/">Follow on Twitter</a><br />
|
||||
<a target="_blank" href="https://www.facebook.com/stackedit/">Follow
|
||||
on Facebook</a><br /> <a target="_blank"
|
||||
href="https://plus.google.com/110816046787593496375" rel="publisher">Follow
|
||||
on Google+</a><br />
|
||||
href="https://plus.google.com/110816046787593496375"
|
||||
rel="publisher">Follow on Google+</a><br />
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
@ -35,7 +45,16 @@
|
||||
href="<%= url %>"><%= name %></a><br /> <% }); %>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>Copyright 2013 <a target="_blank"
|
||||
href="http://www.benoitschweblin.com">Benoit Schweblin</a><br />
|
||||
Licensed under an <a target="_blank"
|
||||
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a></p>
|
||||
<p>
|
||||
StackEdit <%= version %><br /> Copyright 2013 <a
|
||||
target="_blank" href="http://www.benoitschweblin.com">Benoit
|
||||
Schweblin</a><br /> Licensed under an <a target="_blank"
|
||||
href="http://www.apache.org/licenses/LICENSE-2.0">Apache
|
||||
License</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
479
js/main-min.js
vendored
479
js/main-min.js
vendored
File diff suppressed because one or more lines are too long
@ -175,7 +175,7 @@ define([
|
||||
class: 'modal'
|
||||
});
|
||||
modal.innerHTML = content;
|
||||
document.getElementsByTagName('body')[0].appendChild(modal);
|
||||
document.body.appendChild(modal);
|
||||
};
|
||||
|
||||
// Create an centered popup window
|
||||
|
@ -2,8 +2,6 @@
|
||||
set -e
|
||||
echo '### Optimizing resources ###'
|
||||
tools/run_optimize
|
||||
echo '### Modifying cache.manifest ###'
|
||||
sed -i '' "s/^#.*/# `date`/" cache.manifest
|
||||
echo '### Commit and push ###'
|
||||
git commit -a -m "Prepare deployment"
|
||||
git branch -f gh-pages master
|
||||
|
@ -2,3 +2,5 @@
|
||||
npm install requirejs
|
||||
export PATH=${PATH}:node_modules/requirejs/bin/
|
||||
r.js -o tools/optimize-js.json
|
||||
sed -i '' "s/^#.*/# `date`/" cache.manifest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user