dockercon2021

dockercon2021
Efertone 1 year ago
parent cfcf6b61c0
commit c3637123c7
No known key found for this signature in database
GPG Key ID: 07AB750DDFD9EE50
  1. 16
      public/application.css
  2. 4
      public/index.html
  3. 21
      src/View.elm

@ -72,4 +72,18 @@ footer > a:hover {
.downloadList > a:hover {
color: #ccc;
}
}
.extra-text {
margin-left: auto;
margin-right: auto;
margin-top: 1em;
margin-bottom: 1em;
display: block;
width: 960px;
color: #555;
}
.extra-text > strong {
display: block;
}

@ -8,7 +8,6 @@
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
@ -21,8 +20,7 @@
{ debug: true
, withDownload: true
, extentions:
[ { extention: "mkv", mime: "video/x-matroska" }
, { extention: "mp4", mime: "video/mp4" }
[ { extention: "mp4", mime: "video/mp4" }
]
}
});

@ -4,8 +4,8 @@ import Browser exposing (Document)
import Dropdown
import Html
import Html.Attributes
import Msg
import Model exposing (Model)
import Msg
import Video
@ -16,6 +16,7 @@ view model =
[ dropdown model.videos
, player model
, download model
, text
, Html.footer []
[ Html.text "Handmade with love (and Vim and elm) ;)"
, Html.a
@ -28,6 +29,24 @@ view model =
}
text : Html.Html Msg.Msg
text =
Html.p
[ Html.Attributes.class "extra-text" ]
[ Html.strong [] [ Html.text "Why are these available here?" ]
, Html.span []
[ Html.text
"""
I have no intention to make pirate copy of all these videos,"
but I think they are useful or interesting. The UI of cube365
is very slow and painful to use and all VODs are available only there.
The other reason is, it requires a cube365 registration which I don't
think is necessary, not only unnecessary, but annoying as well.
"""
]
]
dropdown : List Video.Video -> Html.Html Msg.Msg
dropdown videos =
if List.isEmpty videos then

Loading…
Cancel
Save