Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger-Fury authored Jun 16, 2020
1 parent 862630f commit de83bae
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 0 deletions.
18 changes: 18 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright 2018 Frederick Emmott

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17 changes: 17 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.xsplitter" version="2.0" xmlns="http://www.w3.org/ns/widgets">
<name>Xsplitter</name>
<description>
Xsplitter is a remote control app, it allows you to control Xsplit and OBS over your network. If you have installed this app, you can now hit record or stream remotely on your phone and your PC will take care of the rest.
</description>
<author email="xsplitterapp@teamxpg.com" href="https://www.teamxpg.com/">
Tibre
</author>
<content src="index.html" />
<access origin="*" />
<icon src="icon/appicon.png" />
<platform name="android">
<preference name="android-minSdkVersion" value="24" />
<preference name="android-targetSdkVersion" value="28" />
</platform>
</widget>
234 changes: 234 additions & 0 deletions css/site.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
body {
background-color: #1e73be;
color: white;
font-family: sans-serif;
padding: 2em;
margin: 0;
}

#outputContainer {
display: flex;
flex-direction: row;
}

#connectionParameters {
padding: 15px;
margin-left: auto;
margin-right: auto;
width: fit-content;
background-color: black;
border-radius: 20px;
margin-bottom: 20px;
}

#connectionParameters h1 {
text-align: center;
margin-top: 0px;
font-size: 140%;
font-weight: bold;
}

#connectionParameters label {
color: #ccc;
}

#connectButton {
display: block;
margin-top: 15px;
margin-left: auto;
margin-right: auto;
}

.output {
background-color: black;
border-radius: 5em;
text-align: center;
height: 100%;
flex: 1;
vertical-align: middle;
padding: 0px;
margin-left: 2em;
display: flex;
flex-direction: column;
}

.output h1 {
color: #777;
font-size: 100%;
}

.output h2 {
font-size: 75%;
color: #555;
display: none;
}

.multihost .output h2 {
display: block;
}

.remove {
color: #FFFFFF;
font-size: small;
margin: 1em;
}

.removed {
display: none;
}

.output .state {
margin: 2em;
font-size: x-large;
color: #555;
}

.output svg {
margin: auto;
}

.output .button, #addConnection {
cursor: pointer;
}

.output:first-child {
margin-left: 0;
}

.uninit .output {
background: repeating-linear-gradient(
45deg,
black,
black 10px,
yellow 10px,
yellow 20px
) !important;
}

.output .fillState {
fill: #ccc;
}

.output .strokeState {
stroke: #ccc;
}

.active .fillState {
fill: red !important;
}

.output.active .strokeState {
stroke: red !important;
}

.starting .fillState, .stopping .fillState {
fill: orange !important;
}

.starting .strokeState, .stopping .strokeState {
stroke: orange !important;
}

#templates {
display: none;
}

.streaming svg path {
stroke: #ccc;
stroke-width: 10;
fill: none;
}

input#name::placeholder {
font-style: italic;
}

#newConnectionForm {
display: grid;
grid-template-columns: max-content max-content;
grid-column-gap: 0.5em;
grid-row-gap: 0.5ex;
}

#newConnectionForm label::after {
content: ':';
}

.hide {
display: none;
}

#connectionParameters.uninit {
display: none;
}

#savedConnectionsList {
color: #ccc;
margin-bottom: 15px;
}

#error {
color: #fff;
border: 1px solid #f00;
background-color: #900;
padding: 1em;
margin-bottom: 15px;
font-weight: bold;
border-radius: 10px;
}

#error.uninit {
display: none;
}

#savedConnectionsList {
display: grid;
grid-template-columns: 1fr max-content;
grid-column-gap: 0.5em;
grid-row-gap: 0.5ex;
}

#connecting {
width: 10em;
height: 10em;
border-radius: 10em;
border: 2em solid #777;
border-top: 2em solid #333;
animation: connectingSpin 2s linear infinite;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

@keyframes connectingSpin {
0% {
transform: translate(-50%, -50%) rotate(0deg) ;
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}

#addConnection {
position: absolute;
margin: 0;
padding: 0;
right: 5px;
top: 0px;
font-size: 200%;
font-weight: bold;
color: #333;
}

#addConnection:hover {
color: #fff;
}

.delay {
cursor: pointer;
}

.delay:hover {
text-decoration: underline;
}
Binary file added icon/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions js/bundle.js

Large diffs are not rendered by default.

0 comments on commit de83bae

Please sign in to comment.