forked from openlp/openlp
Removed old unnecessary files.
This commit is contained in:
parent
edc4f4d626
commit
a1b26df5fe
@ -1,32 +0,0 @@
|
|||||||
/*****************************************************************************
|
|
||||||
* OpenLP - Open Source Lyrics Projection *
|
|
||||||
* ------------------------------------------------------------------------- *
|
|
||||||
* Copyright (c) 2008-2010 Raoul Snyman *
|
|
||||||
* Portions copyright (c) 2008-2010 Tim Bentley, Jonathan Corwin, Michael *
|
|
||||||
* Gorven, Scott Guerrieri, Christian Richter, Maikel Stuivenberg, Martin *
|
|
||||||
* Thompson, Jon Tibble, Carsten Tinggaard *
|
|
||||||
* ------------------------------------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; version 2 of the License. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
|
||||||
* Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU General Public License along *
|
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
|
||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* init.js - In certain browsers (yes, IE, I'm looking at you!), DocumentReady
|
|
||||||
* JavaScript functions can only be run very last on the page. This file is the
|
|
||||||
* last JavaScript file to be included on the page, and provides a work-around
|
|
||||||
* for this bug in certain browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
OpenLP.Events.init();
|
|
||||||
});
|
|
@ -1,57 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<title>OpenLP Remote Controller</title>
|
|
||||||
<script type="text/javascript" src="/files/jquery.js"></script>
|
|
||||||
<script type='text/javascript' src="/files/openlp.js"></script>
|
|
||||||
<script type='text/javascript' src="/files/init.js"></script>
|
|
||||||
<link rel="stylesheet" href="/files/style.css" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>OpenLP Controller</h1>
|
|
||||||
<p>Quick Links: <a href="#service-manager">Service Manager</a> | <a href="#slide-controller">Slide Controller</a> | <a href="#miscellaneous">Miscellaneous</a></p>
|
|
||||||
<h2 id="service-manager">Service Manager</h2>
|
|
||||||
<div id="service"></div>
|
|
||||||
<p><em>(Click service item to go live.)</em></p>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Controls</legend>
|
|
||||||
<div id="service-buttons">
|
|
||||||
<input type="button" value="Refresh Service" id="servicemanager_list_request" />
|
|
||||||
</div>
|
|
||||||
<div id="item-buttons">
|
|
||||||
<input type="button" value="<- Previous Item" id="servicemanager_previous_item" />
|
|
||||||
<input type="button" value="Next Item ->" id="servicemanager_next_item" />
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
<hr>
|
|
||||||
<h2 id="slide-controller">Slide Controller</h2>
|
|
||||||
<div id="current-item"></div>
|
|
||||||
<p><em>(Click verse to display.)</em></p>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Controls</legend>
|
|
||||||
<div id="item-buttons">
|
|
||||||
<input type="button" value="Refresh Item" id="slidecontroller_live_text_request" />
|
|
||||||
</div>
|
|
||||||
<div id="slide-buttons">
|
|
||||||
<input type="button" value="<- Previous Slide" id="slidecontroller_live_previous" />
|
|
||||||
<input type="button" value="Next Slide ->" id="slidecontroller_live_next" />
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
<hr>
|
|
||||||
<h2 id="miscellaneous">Miscellaneous</h2>
|
|
||||||
<div id="display-buttons">
|
|
||||||
<input type="button" value="Blank" id="slidecontroller_live_blank" />
|
|
||||||
<input type="button" value="Unblank" id="slidecontroller_live_unblank" />
|
|
||||||
</div>
|
|
||||||
<div id="alert-details">
|
|
||||||
<label for="alert-text">Alert text:</label>
|
|
||||||
<input type="text" id="alert-text" />
|
|
||||||
<input type="button" value="Send" id="alert-send" />
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<a href="http://openlp.org/">OpenLP website</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
|||||||
/*****************************************************************************
|
|
||||||
* OpenLP - Open Source Lyrics Projection *
|
|
||||||
* ------------------------------------------------------------------------- *
|
|
||||||
* Copyright (c) 2008-2010 Raoul Snyman *
|
|
||||||
* Portions copyright (c) 2008-2010 Tim Bentley, Jonathan Corwin, Michael *
|
|
||||||
* Gorven, Scott Guerrieri, Christian Richter, Maikel Stuivenberg, Martin *
|
|
||||||
* Thompson, Jon Tibble, Carsten Tinggaard *
|
|
||||||
* ------------------------------------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; version 2 of the License. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, but *
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
|
||||||
* Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU General Public License along *
|
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
|
||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
OpenLP.Namespace.create("OpenLP.Service", {
|
|
||||||
addServiceItem: function (elem, item)
|
|
||||||
{
|
|
||||||
var trow = $("<tr>")
|
|
||||||
.attr("id", "item-" + item.id)
|
|
||||||
.addClass("item")
|
|
||||||
.append($("<td>").text(item.tag))
|
|
||||||
.append($("<td>").text(item.tag.replace(/\n/g, "<br />")));
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
sendLive: function (e)
|
|
||||||
{
|
|
||||||
var elem = OpenLP.Events.getElement(e);
|
|
||||||
var row = elem.attr("id").substr(5);
|
|
||||||
elem.addStyle("font-weight", "bold");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
OpenLP.Events.load(function (){
|
|
||||||
OpenLP.Events.liveClick(".item", OpenLP.Service.sendLive);
|
|
||||||
});
|
|
@ -1,45 +0,0 @@
|
|||||||
body
|
|
||||||
{
|
|
||||||
background-color: #fff;
|
|
||||||
font-family: Lucida Grande, Lucida Sans, Arial, Helvetica, sans-serif;
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a
|
|
||||||
{
|
|
||||||
color: #3c60a5;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover
|
|
||||||
{
|
|
||||||
color: #304d85;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset
|
|
||||||
{
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
td
|
|
||||||
{
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 3px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:hover
|
|
||||||
{
|
|
||||||
background-color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr.selected:hover
|
|
||||||
{
|
|
||||||
background-color: #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.selected
|
|
||||||
{
|
|
||||||
background-color: #ddd;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user