Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
plinkaSRPOL authored Apr 13, 2022
1 parent 90895f2 commit 36a4128
Show file tree
Hide file tree
Showing 6 changed files with 593 additions and 0 deletions.
22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* ! Copyright (c) 2021, Samsung Electronics Co., Ltd


* 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. */
12 changes: 12 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/TIZEN65timesettings" version="1.0.0" viewmodes="maximized">
<tizen:application id="TwYmPjPiED.TIZEN65timesettings" package="TwYmPjPiED" required_version="6.5"/>
<content src="index.html"/>
<feature name="http://tizen.org/feature/screen.size.normal.1080.1920"/>
<name>TIZEN65timesettings</name>
<tizen:privilege name="http://developer.samsung.com/privilege/devicetimer"/>
<tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/>
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>
<tizen:profile name="tv-samsung"/>
<tizen:setting screen-orientation="landscape" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
</widget>
102 changes: 102 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/* ! Copyright (c) 2021, Samsung Electronics Co., Ltd
* 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. */

@font-face{
font-family:SamsungOneUI;
src:url(../fonts/SamsungOneUI-400.ttf);
font-weight:700;
font-style:normal
}

body {
font-size: 1.5em;
padding: 0;
margin: 0;
width: 1920px;
height: 1080px;
overflow: hidden;
background-color: #222222;
color: silver;
text-shadow: #000 3px 3px 3px;
font-family: SamsungOneUI;
}

body:after {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
background-image: url('lightblue_empty_grid.svg');
width: 100%;
height: 100%;
opacity: 0.05;
z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
font-family: sans-serif;
text-align: center;
padding: 10px;
color: lightgray;
background: rgba(0, 0, 0, 0.2);
margin: 0;
}
p {
margin: 8px 0;
}

.left, .right {
width: 50%;
float: left;
padding: 10px;
box-sizing: border-box;
}

.left {
width: 60%;
}

.right {
width: 40%;
font-size: 0.9em;
}

.logs {
border: 0px;
overflow: auto;
height: 375px;
width: 100%;
font-family: SamsungOneUI;
}

fieldset {
margin-top: 10px;
clear: left;
}

#version {
position: fixed;
top: 5px;
left: 5px;
}
Binary file added fonts/SamsungOneUI-400.ttf
Binary file not shown.
69 changes: 69 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!-- ! Copyright (c) 2021, Samsung Electronics Co., Ltd
* 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. */ -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="Tizen basic template generated by Tizen Web IDE"/>

<title>Tizen Web IDE - Tizen - Samsung Tizen TV basic Application</title>
<script type='text/javascript' src='$WEBAPIS/webapis/webapis.js'></script>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/main.js"></script>
</head>

<body>
<header>
<hgroup>
<h1>Tizen app</h1>
<h2>Time settings for Tizen 6.5</h2>
</hgroup>
</header>

<nav>
<ul>
<li>1: Set Current Time</li>
<li>2: Get Current Time</li>
<li>3: Set On Timer</li>
<li>4: Get On Timer</li>
<li>5: Set Off Timer</li>
<li>6: Get Off Timer</li>
<li>7: Add Holiday</li>
<li>8: Delete Holiday</li>
<li>RED: Set Holiday Timer</li>
<li>GREEN: Get Holiday Timer</li>
<li>Yellow: Set NTP</li>
<li>BLUE: Get NTP</li>
<li>RIGHT: Set DST</li>
<li>LEFT: Get DST</li>
<li>DOWN: Set SyncTimeout</li>
<li>UP: Get SyncTimeout</li>
</ul>
</nav>
<fieldset>
<legend>Logs</legend>
<div class="logs" id="logs"></div>
</fieldset>
</body>
</html>
Loading

0 comments on commit 36a4128

Please sign in to comment.