diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2020-04-23 18:32:13 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2020-04-23 18:32:13 +0200 |
| commit | 8933627f6c5f9932f9ee60c1d9284091b7eea522 (patch) | |
| tree | 912530227a17720397c484ff83a74996e004b73a | |
| parent | 05aa6f82594acaeba03856583e4036f5e286f7d4 (diff) | |
Add new theme
| -rw-r--r-- | bcst/themes/hrstv/book.png | bin | 0 -> 622 bytes | |||
| -rw-r--r-- | bcst/themes/hrstv/index.html | 68 | ||||
| -rw-r--r-- | bcst/themes/hrstv/resources.json | 33 | ||||
| -rw-r--r-- | bcst/themes/hrstv/styles.css | 41 | ||||
| -rw-r--r-- | bcst/themes/hrstv/vcrosdmono.ttf | bin | 0 -> 75864 bytes | |||
| -rw-r--r-- | gallery/README.md | 6 | ||||
| -rw-r--r-- | gallery/hrstv.jpg | bin | 0 -> 52567 bytes |
7 files changed, 148 insertions, 0 deletions
diff --git a/bcst/themes/hrstv/book.png b/bcst/themes/hrstv/book.png Binary files differnew file mode 100644 index 0000000..3ff5888 --- /dev/null +++ b/bcst/themes/hrstv/book.png diff --git a/bcst/themes/hrstv/index.html b/bcst/themes/hrstv/index.html new file mode 100644 index 0000000..505a677 --- /dev/null +++ b/bcst/themes/hrstv/index.html @@ -0,0 +1,68 @@ +<!doctype html>
+<html lang='en'>
+ <head>
+ <meta charset='UTF-8' />
+ <meta name='description' content='A simple startpage, suited to my current Windows theme.' />
+ <meta name='author' content='Milen Hristov' />
+ <link rel='favicon' type='image/png' href='book.png' />
+ <title>{{ title }}</title>
+ <link rel='stylesheet' type='text/css' href='styles.css' />
+ </head>
+
+ <body>
+ <div id='content'>
+ <div id='bookmarks'>
+ {%- for key,value in bookmarks.items() %}
+ <h1>{{key}}</h1>
+ {% for link_name, url in value.items() -%}
+ <a href='{{url}}' class='button'>{{link_name}}</a>
+ {% endfor %}
+ {% if not loop.last %}
+ <br><br><br>
+ {%- endif -%}
+ {%- endfor -%}
+
+ </div>
+
+ <br><br><br><br>
+
+ <div id='clock'>
+ <script type='text/javascript'>
+ <!--
+
+ function init ( )
+ {
+ timeDisplay = document.createTextNode ( "" );
+ document.getElementById("clock").appendChild ( timeDisplay );
+ }
+
+ function updateClock ( )
+ {
+ var currentTime = new Date ( );
+
+ var currentHours = currentTime.getHours ( );
+ var currentMinutes = currentTime.getMinutes ( );
+ var currentSeconds = currentTime.getSeconds ( );
+
+ currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
+ currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
+
+ var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
+
+ currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
+
+
+ //currentHours = ( currentHours == 0 ) ? 12 : currentHours; - shows 12 instead of 0 at 12pm
+
+ // Compose the string for display
+ var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + timeOfDay;
+
+ document.getElementById("clock").firstChild.nodeValue = currentTimeString;
+ }
+ // -->
+ </script>
+ <body onload="updateClock(); setInterval('updateClock()', 1000 )">
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/bcst/themes/hrstv/resources.json b/bcst/themes/hrstv/resources.json new file mode 100644 index 0000000..ebae17e --- /dev/null +++ b/bcst/themes/hrstv/resources.json @@ -0,0 +1,33 @@ +{ + "title": "home page", + "bookmarks": { + "P r o d u c t i v i t y": { + "YesJapan":"http://yesjapan.com", + "StackExchange":"https://stackexchange.com/", + "StackOverflow":"http://stackoverflow.com/", + "SoftUni":"https://softuni.bg/", + "Judge":"https://judge.softuni.bg/", + "Slido":"http://sli.do", + "ssavr":"http://ssavr.com/", + "gmail":"https://gmail.com", + "calendar":"https://calendar.google.com/", + "gDocs":"http://docs.google.com/", + "gSheets":"https://docs.google.com/spreadsheets/u/0/", + "gPhotos":"https://photos.google.com/", + "Oriflame":"https://bg.oriflame.com/" + }, + "R e c r e a t i o n": { + "YouTube":"https://www.youtube.com/feed/subscriptions/", + "BitChute":"https://www.bitchute.com/", + "myNoise":"https://mynoise.net/", + "cmd.to":"http://cmd.to/", + "Minds":"http://minds.com", + "reddit":"http://reddit.com", + "DA":"http://deviantart.com", + "ArtStation":"https://www.artstation.com/", + "chrono.gg":"https://www.chrono.gg/", + "Freakz":"https://www.wow-freakz.com/", + "Dalaran":"https://www.dalaran-wow.com/" + } + } +} diff --git a/bcst/themes/hrstv/styles.css b/bcst/themes/hrstv/styles.css new file mode 100644 index 0000000..e36c2f3 --- /dev/null +++ b/bcst/themes/hrstv/styles.css @@ -0,0 +1,41 @@ +@font-face{font-family: VCR OSD MONO; src: url(vcrosdmono.ttf)}
+
+body {
+ margin: 0;
+ color: #21566C;
+ background-color: #161515;
+ font-family: VCR OSD MONO,VCR OSD MONO;
+ font-size: 20px;
+ text-align: center;
+}
+
+#content #bookmarks {
+ margin: 1% auto 0;
+ width: 98%;
+ vertical-align:top
+}
+
+.button {
+ text-decoration: none;
+ background-color: #161515;
+ color: #40A6D0;
+ padding: 6px 12px 6px 12px;
+ border: 2px solid #40A6D0;
+ font-family: Calibri;
+ font-weight: 500;
+ font-size: 18pt;
+ line-height: 55px;
+ text-decoration: none;
+ }
+
+.button:hover {
+ background-color: #40A6D0;
+ color: #161515;
+ text-decoration: overline;
+}
+
+#clock {
+ font-family: VCR OSD MONO;
+ font-size: 40pt;
+ color: #40A6D0;
+}
diff --git a/bcst/themes/hrstv/vcrosdmono.ttf b/bcst/themes/hrstv/vcrosdmono.ttf Binary files differnew file mode 100644 index 0000000..dcca687 --- /dev/null +++ b/bcst/themes/hrstv/vcrosdmono.ttf diff --git a/gallery/README.md b/gallery/README.md index 215911b..382c1ed 100644 --- a/gallery/README.md +++ b/gallery/README.md @@ -24,3 +24,9 @@ *Description*: - Author: Qhungg289 - Url: https://github.com/qhungg289/startpage + +### hrstv + +*Description*: +- Author: m_hrstv +- Url: https://www.reddit.com/r/startpages/comments/etzaih/my_first_attempt_at_creating_a_starpage_from/ diff --git a/gallery/hrstv.jpg b/gallery/hrstv.jpg Binary files differnew file mode 100644 index 0000000..22975d6 --- /dev/null +++ b/gallery/hrstv.jpg |
