1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
iiab/roles/xsce-admin/files/console/htmlf/40-install_content.html
2017-05-27 11:09:50 -07:00

136 lines
7.2 KiB
HTML

<!-- Start InstallContent Top Level Pane -->
<div class="row-fluid"> <!-- InstallContent Top Level Header -->
<div class="col-md-9 col-md-offset-3">
<h1>Install School Server Content</h1>
</div>
</div> <!-- row-fluid -->
<div class="tabbable"> <!-- Start InstallContent Sublevel Menu Items and Options -->
<div class="row-fluid"> <!-- Start containing row -->
<div class="col-md-3 xsce-left-nav"> <!-- Start left column -->
<h2>Installation Tasks</h2>
<ul class="nav nav-pills nav-stacked"> <!-- Start XXX Sub Level Menu -->
<li class="active"><a href="#instConStart">Get Started</a></li>
<li><a href="#instConZims" call-after="checkKiwixCatalogDate">Get Zim Files from Kiwix</a></li>
<li><a href="#instConKAlite">Download Khan Academy Videos</a></li>
<!-- <li><a href="#instConRachel" call-after="getRachelStat">Get RACHEL</a></li> -->
<li><a href="#instDelDownloads" call-after="getDownloadList">Remove Downloaded Files</a></li>
<!-- <li><a href="#">Services Enabled</a></li> -->
</ul> <!-- End XXX Sub Level Menu -->
<h2>Actions</h2>
<div class="action-buttons">
<!-- <button id="ZIM-STATUS-REFRESH" type="button" class="btn btn-lg btn-success">Refresh Zims Installed List </button> -->
<button id="RESTART-KIWIX" type="button" class="btn btn-lg btn-success">Restart Kiwix Server</button>
<button id="KIWIX-LIB-REFRESH" type="button" class="btn btn-lg btn-success">Refresh Kiwix Catalog</button>
</div>
</div> <!-- left column -->
<div class="col-md-9"> <!-- Start right column -->
<div class="tab-content"> <!-- Start Container for Sub Menu Options Panes -->
<div class="tab-pane active" id="instConStart"> <!-- Start instConStart Submenu Option Pane -->
<h2>Get Started</h2>
<p>The options on this menu allow you to download and install content onto the School Server. As of this release all of this content comes from the internet, but in the future there will be menu options to copy from a portable hard disk drive.</p>
<p>These options are aimed at people who plan to set up the server in a location where there is a relatively high bandwidth connection and then deploy it where there is little or no connectivity.</p>
<p>Options planned but not yet implemented</p>
<ul>
<li>Search for media-based content such as RACHEL or IIAB on removable media to permit installation.</li>
<li>Ability to set removable storage as working disk for downloads.</li>
<li>Flag to allow downloads of content to be valid only for each session.</li>
</ul>
</div> <!-- End instConStart Submenu Option Pane -->
<div class="tab-pane" id="instConZims"> <!-- Start instConZims Submenu Option Pane -->
<h2>Install Kiwix Zim Files</h2>
<p>Kiwix has a large number of files containing compressed content which you can select by language.</p>
<div class="row">
<div class="col-sm-3"><button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#selectLangCodes">Select Languages</button></div>
<div class="col-sm-4"><span id="zimDiskSpace" >Disk Space: </span></div>
<div class="col-sm-2"><button id="INST-ZIMS" type="button" class="btn btn-lg btn-primary">Install Selected Zims</button></div>
</div>
<div id="ZimDownload" > </div>
</div> <!-- End instConZims Submenu Option Pane -->
<div class="tab-pane" id="instConRachel"> <!-- Start instConRachel Submenu Option Pane -->
<h2>Install Rachel</h2>
<p>RACHEL is a collection of a variety of educational content currated by World Possible. This menu option allows you to download and install it.</p>
<h3>PLEASE NOTE</h3>
<p>There is an error in one or two files of the current version of RACHEL in use here, so it may be necessary to <b>run this command a second time</b> if the job fails.</p>
<div class="row">
<div class="col-sm-4">
<h3>Rachel Status: </h3>
<table>
<tr><td>Installed:&nbsp;</td><td id="rachelInstalled"></td></tr>
<tr><td>Enabled:&nbsp;</td><td id="rachelEnabled"></td></tr>
<tr><td>Content Found:&nbsp;</td><td id="rachelContentFound"></td></tr>
</table>
</div>
<div class="col-sm-4">
<h3>Disk Space:</h3>
<span id="rachelDiskSpace" >Disk Space: </span><BR><BR>
<button id="DOWNLOAD-RACHEL" type="button" class="btn btn-lg btn-primary">Download RACHEL Content</button></div>
</div>
<div id=rachelModules class="row">
<div class="col-sm-4">
<h3>Rachel Modules: </h3>
<div> <!-- Start rachelModules Table -->
<table class="rachelModules">
<thead>
<tr>
<th style="width:40%">Title</th>
<th style="width:10%">Enabled</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div> <!-- End rachelModules Table -->
</div>
<div class="col-sm-4"><BR><BR><BR>
<!-- <button id="ENABLE-RACHEL" type="button" class="btn btn-lg btn-primary">Enable RACHEL Content</button>-->
</div>
</div>
<div id="RachelDownload" > </div>
</div> <!-- End instConRachel Submenu Option Pane -->
<div class="tab-pane" id="instDelDownloads"> <!-- Start instDelDownloads Submenu Option Pane -->
<h2>Remove Downloaded Files</h2>
<p>In the process of installing ZIM files and RACHEL a number of downloads are performed and accumulated. Use this option to remove any of them.<BR>
Please <b>make sure</b> the content contained in the downloads has been <b>installed</b> prior to deleting these files.
</p>
<div class="row">
<div class="col-sm-4">
<h3>Disk Space:</h3>
<span id="dnldDiskSpace" >Disk Space: </span><BR><BR>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<h3>Downloaded Files: </h3>
<div> <!-- Start downloadedFiles Table -->
<table>
<thead>
<tr>
<th style="width:40%">File Name</th>
<th style="width:10%">Size</th>
<th style="width:10%">Delete</th>
</tr>
</thead>
<tbody id="downloadedFilesRachel"></tbody>
<tbody id="downloadedFilesZims"></tbody>
</table>
</div> <!-- End downloadedFiles Table -->
</div>
</div>
<div class="row">
<div class="col-sm-4">
<button id="DEL-DOWNLOADS" type="button" class="btn btn-lg btn-primary">Delete Checked Files</button>
</div>
</div>
</div> <!-- End instDelDownloads Submenu Option Pane -->
<div class="tab-pane" id="instConKAlite"> <!-- Start instConStart Submenu Option Pane -->
<h2>Download Khan Academy Videos</h2>
<p>Khan Academ Lite has the ability to download selected portions of the available videos in several different languages.</p>
<p>Click the Button below to launch it.</p>
<button id="launchKaliteButton" type="button" class="btn btn-lg btn-success">Launch KA Lite</button>
</div> <!-- End instConKAlite Submenu Option Pane -->
</div> <!-- End Container for Sub Menu Options Panes -->
</div> <!-- right column -->
</div> <!-- End containing row -->
</div> <!-- End XXX Sublevel Menu Items and Options -->
</div> <!-- End InstallContent Top Level Pane -->