Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 306 lines (234 sloc) 10.675 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Readium Cloud Reader</title>
<link rel="stylesheet" type="text/css" href="/css/library.css" />

<!-- Only include Modernizr at the top, everything else is at the bottom -->
<script src="/lib/modernizr-2.5.3.min.js" type="text/javascript" ></script>
        
</head>
<body>

<div class="navbar navbar-fixed-top"><!-- le top bar -->

<div class="navbar-inner" id="inner-top-bar">
<div class="container" style="width: 100%">

<a class="brand" data-toggle="modal" href="#readium-info" id='bar-logo'>
<img src="/images/top_bar/readium_logo.png"/>
</a>

<ul class="nav pull-right">
<li class="divider-vertical stubby"></li>
<li>
<a href="#" id="row-view-btn">
<img src="/images/top_bar/list_view.png" class="small"/>
</a>
</li>
<li>
<a href="#" id='block-view-btn'>
<img src="/images/top_bar/thumb_view.png" class="small"/>
</a>
</li>
<li class="divider-vertical stubby"></li>
<li style="margin-right: 15px" >
<a href="#readium-options-modal" id="options-btn" data-toggle="modal">
<img src="/images/top_bar/options.png" class="small"/>
</a>
</li>

</ul>

</div>
</div>


     </div><!-- end le top bar -->

    

<div class='library-container' >
<div id="flash-container"></div>
<div class='content'>
<div id="library-books-list">
<div id="loading-message">
<h2>Loading Library</h2>
<img src="/images/ajax-loader.gif" alt="loading..." height="42" width="42" />
</div>
</div>


<!--<div class="progress progress-success progress-striped active">
<div class="bar" style="width: 40%;"></div>
</div> -->




<div class="modal fade" id="readium-info" style="display: none" ><!-- le info modal -->
<div>
<img src="/images/info_modal/about_readium_logo.png">
</div>
<div>
<!-- UPDATE VERSION NUMBER -->
<h3 id="version-info">Version 0.4.1 Release Date 6.15.12</h3>
</div>
<p>
Readium<sup>TM</sup>, a project of the International Digital Publishing Forum (IDPF) and supporters, is an open source reference system and rendering engine for EPUB&reg; publications. To learn more, visit the <a href="http://readium.org/">project homepage</a>. To date, the project development has been lead by <a href="http://evidentpoint.com/">Evident Point</a> and <a href="http://www.bluefirereader.com/">Bluefire Productions</a>. To contribute visit the <a href="https://github.com/readium/readium">github repository</a>
</p>
<div>
<img src="/images/info_modal/partner_logos.png">
</div>
</div><!-- end le info modal -->


<div id="add-book-modal" class="modal fade" ><!-- add le book Modal -->

<div class="modal-header">
<a class="close" data-dismiss="modal">&times;</a>
<h3>Add Book To Readium Library:</h3>
</div>

<div class="modal-body">

<form class="form-horizontal">


          
         <div class="control-group">

<label for="book-url">From the web:</label>
<div class='controls'>
<input type='text' id='book-url' class="span3" placeholder="http://">
<p class="help-block">Enter a URL to a .epub file</p>
</div>
</div>
<div class="control-group">
<label for="files">From Local File:</label>
<div class="controls">
<input type="file" id="files" name="files[]" multiple />
</div>


</div>

<div class="control-group" id='unpacked-input'>
<label for="files">Unpacked Directory:</label>
<div class="controls">
<input type="file" id="dir_input" webkitdirectory="" directory="">
</div>


</div>
<div class="control-group">
             <label class="control-label" for="optionsCheckbox">Validate:</label>
             <div class="controls">
               <label class="checkbox">
                 <input type="checkbox" id="optionsCheckbox" value="option1">
                 Confirm that this book complies with ePUB standards
               </label>
             </div>
           </div>

          

</form>


</div>

<div class="modal-footer">
<!--<a href="#" class="btn btn-primary">Save changes</a> Help?-->
<button id='url-button' class='btn btn-primary'>Add Book</button>
<a href="#" class="btn" data-dismiss="modal">Cancel</a>
</div>

</div><!-- end add le book -->


<div class="modal fade" id="readium-options-modal" style="display: none"><!-- le settings modal -->
<div class="modal-header">
<a class="close" data-dismiss="modal">&times;</a>
<h2>Readium Options:</h2>
</div>

<div class="modal-body">

<form class="form">
        <fieldset>
          

          <div class="control-group">
            <label class="control-label" for="optionsCheckbox"></label>
            <div class="controls">
              <label class="checkbox">
                <input type="checkbox" id="paginate_everything" value="paginate_everything">
                Paginate all reflowable ePUB content
              </label>
            </div>
          </div>
           
          <div class="control-group">
            <label class="control-label" for="optionsCheckbox"></label>
            <div class="controls">
              <label class="checkbox">
                <input type="checkbox" id="hijack_epub_urls" value="hijack_epub_urls">
                Automatically open *.epub urls in readium
              </label>
            </div>
          </div>

          <div class="control-group">
            <label class="control-label" for="optionsCheckbox"></label>
            <div class="controls">
              <label class="checkbox">
                <input type="checkbox" id="verbose_unpacking" value="verbose_unpacking">
                Show warning messages when unpacking EPUB files
              </label>
            </div>
          </div>
          
        </fieldset>
      </form>
      </div>

<div class="modal-footer">
                <a href="#" class="btn btn-primary" id="save-settings-btn">Save changes</a>
                <a href="#" class="btn" data-dismiss="modal">Close</a>
            </div>
</div><!-- end le settings modal -->


<div id='progress-container' class='span5' style="display: none">
</div>

</div>
</div>

<!-- Le templates -->
<script type="text/template" id='library-item-template'>
<div class='info-wrap clearfix'>
<div class='caption book-info'>
<h3 class='green info-item title'><%= data.title %></h3>
<h3 class='info-item author'><%= data.author || "Unknown" %></h3>
<h3 class='info-item epub-version'>ePUB <%= data.epub_version || "?" %></h3>

</div>

<img class='cover-image read' src='<%= data.cover_href %>' width='150' height='220' >

<a href="#details-modal-<%= data.key %>" class="info-icon" data-toggle="modal">
<img class='info-icon pull-right' src='/images/library/info-icon.png' height="39px" width="39px" >
</a>
</div>

<div class="caption clearfix buttons">
<a href="#todo" class="btn read" data-book='<%= data.key %>'>Read</a>
<a href="#details-modal-<%= data.key %>" class="btn details" data-toggle="modal" >
Details
</a>
</div>

<div id='details-modal-<%= data.key %>' class='modal fade details-modal'>
<div class="pull-left modal-cover-wrap">
<img class='details-cover-image' src='<%= data.cover_href %>' width='150' height='220' >
<div class="caption clearfix modal-buttons">
</div>
</div>
<div class='caption modal-book-info'>
<h3 class='green modal-title'><%= data.title %></h3>
<div class='modal-detail gap'>Author: <%= data.author || "Unknown" %></div>
<div class='modal-detail'>Publisher: <%= data.publisher || "Unknown" %></div>
<div class='modal-detail'>Pub Date: <%= data.pubdate || "Unknown" %></div>
<div class='modal-detail'>Modified Date: <%= data.modified_date || "Unknown" %></div>
<div class='modal-detail gap'>ID: <%= data.id || "Unknown" %></div>
<div class='modal-detail green'>Format: ePUB <%= data.epub_version || "Unknown" %></div>
<div class='modal-detail'>Added: <%= data.created_at || "Unknown" %></div>
</div>
<div class='modal-detail source'>
<span class='green' style="padding-right: 10px">Source:</span>
<%= data.src_url || "Unknown" %>
</div>
</div>
</script>


<script type="text/template" id='library-items-template'>
<div id='empty-message'>
<p id='empty-message-text' class='green'>
Add items to your</br>library here!
</p>
<img id='empty-arrow' src='/images/library/empty_library_arrow.png' />

</div>
</script>

<script type="text/template" id='extracting-item-template'>
<h5><%= log_message %></h5>
<div class="progress progress-striped progress-success active ">
<div class="bar" style="width: <%= progress %>%;"></div>
</div>
</script>


<script src="/lib/jquery-1.7.1.min.js" type="text/javascript" ></script>

<!-- This one file: contains a bunch of libs minified and concatenated together -->
<script src="/scripts/libs/web_plugins.js" type="text/javascript" ></script>

<!-- scripts concatenated and minified via build script -->
<!-- Include library data as a global var so we dont have to make an AJAX call-->
<script src="/scripts/readium_library_data.js" type="text/javascript"></script>

<!-- Must iclude the namespace code before any application code -->
<script src="/scripts/namespaces/ws_lib_namespace.js" type="text/javascript"></script>
<script src="/scripts/web_overrides/httpFileApi.js" type="text/javascript" ></script>
<script src="/scripts/utils/local_storage_sync.js" type="text/javascript"></script>
<script src="/scripts/utils/cookie_utils.js" type="text/javascript"></script>
<script src="/scripts/models/readium_options.js" type="text/javascript" ></script>
<script src="/scripts/web_overrides/library.js" type="text/javascript"></script>
<!-- end scripts -->


<!-- Asynchronous Google Analytics snippet: mathiasbynens.be/notes/async-analytics-snippet -->
<script>
var _gaq=[['_setAccount','UA-29665823-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src='http://www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>
Something went wrong with that request. Please try again.