forked from cpinkham/fpp-BigButtons
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
executable file
·140 lines (118 loc) · 4.64 KB
/
config.php
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
<?
require 'bb-common.php';
?>
<div id="global" class="settings">
<link rel="stylesheet" href="/jquery/colpick/css/colpick.css"/>
<link rel="stylesheet" href="/plugin.php?plugin=fpp-BigButtons&page=config.css&nopage=1"/>
<script src="/jquery/colpick/js/colpick.js"></script>
<script src="/plugin.php?plugin=fpp-BigButtons&page=fa-icons.js&nopage=1"></script>
<script src="/plugin.php?plugin=fpp-BigButtons&page=config.js&nopage=1"></script>
<script language="Javascript">
extraCommands = [
{
"name": "Browser URL",
"args": [
{
"description": "URL",
"name": "URL",
"optional": false,
"type": "string"
}
],
"supportsMulticast" : false
}
];
</script>
<template class="buttonTabTemplate">
<li class="buttonTab">
<div class="buttonTabInner">
<span class="buttonPageTitleValue"></span>
<span class="toggleButtonPageTitleWrap">
<button class="bb_circleButton toggleButtonPageTitle"><i class="fpp-icon-edit"></i><i class="fpp-icon-check"></i></button>
</span>
</div>
<div class="hidden buttonTabSettings">
<div class="form-group">
<label>Title:</label>
<input type="text" class="form-control buttonPageTitleInput" placeholder="Name for this tab of buttons">
</div>
<div class="form-group">
<label>Description:</label>
<textarea class="form-control buttonPageDescription" placeholder="Optional"></textarea>
</div>
</div>
</li>
</template>
<template class="configRowTemplate">
<li class="ui-state-default bb_configRow">
<div class="bb_configRowHandle">
<div class="rowGrip">
<i class="rowGripIcon fpp-icon-grip"></i>
</div>
</div>
<div class="bb_configRowBody">
<div class="bb_iconWrap">
<i class="bb_icon"><span class="bb_iconPlaceholder">Add an icon</span></i>
</div>
<div class="bb_buttonTitleWrap">
<input type='text' class="buttonTitle" placeholder="Name Your Button" id='button_TPL_Title' maxlength='80' value=''></input>
</div>
<div class="bb_commandSummary">
<i class="fas fa-fw fa-terminal fa-nbsp"></i><strong class="bb_commandSummaryTitle"></strong><button class="buttons btn-outline-light bb_commandEditButton"><i class="fas fa-cog"></i></button>
</div>
</div>
<div class="buttonCommandWrap">
<div class="bb_commandTableWrap">
<div class="bb_commandTableCrop">
<table border=0 id='tableButtonTPL' class="tableButton">
<tr><td>Command:</td><td><select id='button_TPL_Command' class="buttonCommand"><option value="" disabled selected>Select a Command</option></select></td>
</table>
</div>
</div>
</div>
<div class="bb_buttonActions">
<button id='button_TPL_color' class="bb_circleButton buttonColor" type="button"><i class="fas fa-paint-brush"></i></button>
<button class="bb_circleButton buttonDelete">Delete</button>
</div>
</li>
</template>
<div class="row tablePageHeader">
<div class="col-md">
<div class="buttonTabWrapper">
<ul class="buttonTabs">
</ul>
<div>
<button id="bb_addNewTab"><i class="fas fa-plus"></i></button>
</div>
</div>
</div>
<div class="col-md-auto ml-lg-auto">
<div class="bb_actionButtons ">
<input type="button" value="Save Buttons" class="buttons btn-success" id="saveBigButtonConfigButton">
</div>
</div>
</div>
<hr>
<div class="buttonListsPanelTop row">
<div class="col-md">
<div class="bb_fontSizeControls">
<span><i class="fas fa-text-width"></i></span>
<div class="bb_fontSizeControlsInputCol"><input type="range" min=10 max=64 id='buttonFontSize'></div>
</div>
</div>
<div class="col-md-auto ml-lg-auto bb_tabActions">
<button class="bb_setButtonTabColor " type="button"><i class="fas fa-circle bb_setButtonTabColorSwatch"></i>Background</button>
<button id="bb_addNewButton" class="buttons btn-outline-success btn-rounded">
<i class="fas fa-plus"></i> Add a Button
</button>
</div>
</div>
<div class="buttonListsPanel">
<div class="buttonLists">
</div>
</div>
<div class="bb_iconSelector hidden">
<input type="text" class="form-control bb_iconSelectorSearch" placeholder="Find an Icon" />
<div class="bb_iconSelectorIcons">
</div>
</div>