Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Welton <thomaswelton@me.com>2014-06-11 14:06:32 +0400
committerChris Rebert <code@rebertia.com>2014-07-31 22:45:21 +0400
commit9739271c04646ca49d8937043e45a6c9f6930bbc (patch)
tree0d7df4a11e2ddbc46788b82a1ec58f63c2adaf83 /docs/customize.html
parentf026cfb8310f31db94823d031a382de5d5b0520b (diff)
Add drag and drop config import; closes #11004
Closes #13790 by merging a rebased version of it.
Diffstat (limited to 'docs/customize.html')
-rw-r--r--docs/customize.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/customize.html b/docs/customize.html
index 2e067b8f48..2e918bd6ee 100644
--- a/docs/customize.html
+++ b/docs/customize.html
@@ -12,6 +12,7 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge
<!--[if lt IE 9]>
<style>
.bs-customizer,
+ .bs-customizer-import,
.bs-docs-sidebar {
display: none;
}
@@ -23,6 +24,17 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge
<![endif]-->
<!-- Customizer form -->
+
+<div class="bs-docs-section bs-customizer-import">
+ <div id="import-drop-target" class="bs-dropzone">
+ <h2>✍</h2>
+ <p class="lead">Have an existing configuration? Upload your <code>config.json</code> to import it.</p>
+ <p>Drag and drop here, or <label id="import-manual-trigger" class="btn-link">manually upload<input type="file" id="import-file-select" class="hidden"></label>.</p>
+ <hr>
+ <p><strong>Don't have one?</strong> That's okay—just start customizing the fields below.</p>
+ </div>
+</div><!-- /import -->
+
<form class="bs-customizer" role="form">
<div class="bs-docs-section" id="less-section">
<button class="btn btn-default toggle" type="button">Toggle all</button>
@@ -358,8 +370,6 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge
{% include customizer-variables.html %}
</div>
-
-
<div class="bs-docs-section">
<h1 id="download" class="page-header">Download</h1>