mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
NIyWeb: fix display of imageinfo ...
and disable online check; needs several fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 477c394f29
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Origin message was:
------------------
- NIyWeb: fix display of imageinfo ...
and disable online check; needs several fixes
------------------
This commit was generated by Migit
This commit is contained in:
@@ -69,7 +69,8 @@ jQuery(document).ready(function(){
|
|||||||
<td valign="top" width="10%">
|
<td valign="top" width="10%">
|
||||||
<b>Image</b>:<br/>
|
<b>Image</b>:<br/>
|
||||||
Version:<br/>
|
Version:<br/>
|
||||||
Commits:<br/>
|
Branch:<br/>
|
||||||
|
Commit:<br/>
|
||||||
Datum:<br/>
|
Datum:<br/>
|
||||||
Ersteller:<br/>
|
Ersteller:<br/>
|
||||||
</td>
|
</td>
|
||||||
@@ -77,28 +78,31 @@ jQuery(document).ready(function(){
|
|||||||
{=ini-get:/.version;imagename=}<br/>
|
{=ini-get:/.version;imagename=}<br/>
|
||||||
<abbr class="version" title="{=L:ni.about.your_image=}">
|
<abbr class="version" title="{=L:ni.about.your_image=}">
|
||||||
<script type="text/javascript">getVersion("{=ini-get:/.version;version=}");</script><br/>
|
<script type="text/javascript">getVersion("{=ini-get:/.version;version=}");</script><br/>
|
||||||
NI: <a href="https://bitbucket.org/neutrino-images/ni-neutrino-hd/commits/{=ini-get:/.version;origin-commit=}" class="exlink" target="_blank" title="NI-Neutrino-HD Sources">{=ini-get:/.version;origin-commit=}</a>;
|
{=ini-get:/.version;branch=}<br/>
|
||||||
CST: <a href="http://git.c00lstreamtech.de/?p=cst-public-gui-neutrino.git;a=commit;h={=ini-get:/.version;remote-commit=}" class="exlink" target="_blank" title="Coolstream GIT repositories">{=ini-get:/.version;remote-commit=}</a><br/>
|
<a href="https://bitbucket.org/neutrino-images/ni-neutrino-hd/commits/{=ini-get:/.version;commit=}" class="exlink" target="_blank" title="NI-Neutrino-HD Sources">{=ini-get:/.version;commit=}</a><br/>
|
||||||
<script type="text/javascript">getBuild("{=ini-get:/.version;version=}");</script><br/>
|
<script type="text/javascript">getBuild("{=ini-get:/.version;version=}");</script><br/>
|
||||||
</abbr>
|
</abbr>
|
||||||
{=ini-get:/.version;creator=}<br/>
|
{=ini-get:/.version;creator=}<br/>
|
||||||
</td>
|
</td>
|
||||||
|
<!--
|
||||||
<td valign="top" width="38%">
|
<td valign="top" width="38%">
|
||||||
{=if-file-exists:/tmp/NI_update.txt~
|
{=if-file-exists:/tmp/update.txt~
|
||||||
<script type="text/javascript">compareVersion("{=ini-get:/.version;version=}", "{=ini-get:/tmp/NI_update.txt;version=}");</script>
|
<script type="text/javascript">compareVersion("{=ini-get:/.version;version=}", "{=ini-get:/tmp/update.txt;version=}");</script>
|
||||||
<span class="upd_no">{=L:ni.about.image_upd_no=}</span>
|
<span class="upd_no">{=L:ni.about.image_upd_no=}</span>
|
||||||
<span class="upd_yes">{=L:ni.about.image_upd_yes=}</span>
|
<span class="upd_yes">{=L:ni.about.image_upd_yes=}</span>
|
||||||
<br/>
|
<br/>
|
||||||
<abbr class="version" title="{=L:ni.about.actual_image=}">
|
<abbr class="version" title="{=L:ni.about.actual_image=}">
|
||||||
<script type="text/javascript">getVersion("{=ini-get:/tmp/NI_update.txt;version=}");</script><br/>
|
<script type="text/javascript">getVersion("{=ini-get:/tmp/update.txt;version=}");</script>
|
||||||
<br/>
|
<br/>
|
||||||
<script type="text/javascript">getBuild("{=ini-get:/tmp/NI_update.txt;version=}");</script><br/>
|
<br/>
|
||||||
|
<script type="text/javascript">getBuild("{=ini-get:/tmp/update.txt;version=}");</script><br/>
|
||||||
</abbr>
|
</abbr>
|
||||||
<br/>
|
<br/>
|
||||||
~
|
~
|
||||||
<input type="button" onclick='get_update_txt();' value="{=L:info.check_for_updates=}" />
|
<input type="button" onclick='get_update_txt();' value="{=L:info.check_for_updates=}" />
|
||||||
=}
|
=}
|
||||||
</td>
|
</td>
|
||||||
|
-->
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
|
@@ -139,13 +139,14 @@ case "$action" in
|
|||||||
;;
|
;;
|
||||||
get_update_txt)
|
get_update_txt)
|
||||||
version="n/a"
|
version="n/a"
|
||||||
wget -O /tmp/NI_release.txt "http://neutrino-images.de/neutrino-images/release/release.txt"
|
#FIXME align url to box specs
|
||||||
test -e /tmp/NI_release.txt && version=$(cat /tmp/NI_release.txt | grep ".img" | cut -d" " -f2)
|
wget -O /tmp/release.txt "http://neutrino-images.de/neutrino-images/update.php"
|
||||||
echo "version=${version// /}" > /tmp/NI_update.txt
|
test -e /tmp/release.txt && version=$(cat /tmp/release.txt | grep ".img" | cut -d" " -f2)
|
||||||
rm -f /tmp/NI_release.txt
|
echo "version=${version// /}" > /tmp/update.txt
|
||||||
|
rm -f /tmp/release.txt
|
||||||
;;
|
;;
|
||||||
rm_update_txt)
|
rm_update_txt)
|
||||||
rm -f /tmp/NI_update.txt
|
rm -f /tmp/update.txt
|
||||||
;;
|
;;
|
||||||
get_flash_info)
|
get_flash_info)
|
||||||
MTPT=""
|
MTPT=""
|
||||||
|
Reference in New Issue
Block a user