mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
y-web: show hostname as page-title
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: c06e5e114a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Origin message was:
------------------
- y-web: show hostname as page-title
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4,6 +4,15 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>yWeb</title>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
xmlhttp.open("GET", "/etc/hostname", false);
|
||||
xmlhttp.send();
|
||||
if (xmlhttp.status == 200)
|
||||
document.title = xmlhttp.responseText;
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="*,1300,*" frameborder="0" framespacing="0">
|
||||
<frame name="top_left" src="Y_Dyn_Pages.yhtm?page=page_frame_rest" marginwidth="0" marginheight="0" frameborder="0" border="0"/>
|
||||
|
Reference in New Issue
Block a user