diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-08-08 21:45:55 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-08-11 07:36:47 -0700 |
commit | 06b9c345c926324b246f899235b5c1c01cacf3c8 (patch) | |
tree | fdbba551cc10c6d33de3ad4da522998b1bc955a7 /theme/templates | |
parent | 152276c1d72146ef6778f29264a7b4d93849a201 (diff) | |
download | gitbook-06b9c345c926324b246f899235b5c1c01cacf3c8.zip gitbook-06b9c345c926324b246f899235b5c1c01cacf3c8.tar.gz gitbook-06b9c345c926324b246f899235b5c1c01cacf3c8.tar.bz2 |
Improve design of search bar
Diffstat (limited to 'theme/templates')
-rwxr-xr-x | theme/templates/includes/book/progress.html | 10 | ||||
-rw-r--r-- | theme/templates/includes/book/summary.html | 2 | ||||
-rw-r--r-- | theme/templates/site.html | 2 |
3 files changed, 1 insertions, 13 deletions
diff --git a/theme/templates/includes/book/progress.html b/theme/templates/includes/book/progress.html deleted file mode 100755 index 176c95f..0000000 --- a/theme/templates/includes/book/progress.html +++ /dev/null @@ -1,10 +0,0 @@ -<div class="book-progress"> - <div class="bar"> - <div class="inner" style="width: {{ progress.percent }}%;min-width: {{ progress.prevPercent }}%;"></div> - </div> - <div class="chapters"> - {% for p in progress.chapters %} - <a href="{{ basePath }}/{{ p.path|mdLink }}" title="{{ p.title }}" class="chapter {% if p.done %}done{% endif %} {% if p.level.length == 1 %}new-chapter{% endif %}" data-progress="{{ p.level }}" style="left: {{ p.percent }}%;"></a> - {% endfor %} - </div> -</div>
\ No newline at end of file diff --git a/theme/templates/includes/book/summary.html b/theme/templates/includes/book/summary.html index b110c00..c5cdb1f 100644 --- a/theme/templates/includes/book/summary.html +++ b/theme/templates/includes/book/summary.html @@ -34,7 +34,7 @@ <div class="book-summary"> <div class="book-search"> - <input type="text" placeholder="Search" class="form-control" /> + <input type="text" placeholder="Type to search" class="form-control" /> </div> <ul class="summary"> {% set _divider = false %} diff --git a/theme/templates/site.html b/theme/templates/site.html index 46d738c..0a11f7b 100644 --- a/theme/templates/site.html +++ b/theme/templates/site.html @@ -23,8 +23,6 @@ {% include "includes/book/header.html" %} <div class="body-inner"> <div class="page-wrapper" tabindex="-1"> - {% include "includes/book/progress.html" %} - <div class="page-inner"> {% for section in content %} <section class="{{ section.type }}" id="section-{{ section.id }}"> |