aboutsummaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-11-03 20:53:23 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-11-03 20:53:23 +0000
commite5d30ee4fbfc61f37f5f3b555ad12f24bcb26509 (patch)
tree102cbb360125d45438587beda6a0d4e6acc80895 /priv
parent23d20640b866095a674870ec9d26162eb5560cae (diff)
downloadmediasync-e5d30ee4fbfc61f37f5f3b555ad12f24bcb26509.tar
mediasync-e5d30ee4fbfc61f37f5f3b555ad12f24bcb26509.tar.gz
mediasync-e5d30ee4fbfc61f37f5f3b555ad12f24bcb26509.zip
Add link to source code
Diffstat (limited to 'priv')
-rw-r--r--priv/home.html.eex3
-rw-r--r--priv/static/main.css12
2 files changed, 15 insertions, 0 deletions
diff --git a/priv/home.html.eex b/priv/home.html.eex
index d17cbb8..a12ccd8 100644
--- a/priv/home.html.eex
+++ b/priv/home.html.eex
@@ -35,6 +35,9 @@
<input type="submit" value="host room">
</form>
+ <div id="source-footer">
+ <a href="<%= Application.get_env(:mediasync, :source_url) %>"><%= Application.get_env(:mediasync, :source_link_text) %></a>
+ </div>
</body>
</html>
diff --git a/priv/static/main.css b/priv/static/main.css
index 2a5d4b6..c3c236c 100644
--- a/priv/static/main.css
+++ b/priv/static/main.css
@@ -18,6 +18,14 @@ input {
font-family: inherit;
}
+a:link {
+ color: lightskyblue;
+}
+
+a:visited {
+ color: mediumpurple;
+}
+
@font-face {
font-family: "FontAwesomeSolid";
src: url("/static/vendored/fontawesome-free-6.6.0-web/webfonts/fa-solid-900.woff2")
@@ -31,3 +39,7 @@ input {
.icon-users::before {
content: "\f0c0";
}
+
+#source-footer {
+ text-align: right;
+}