Skip to content

Commit

Permalink
Move images from RuStream to open-source
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Feb 18, 2024
1 parent d153d02 commit cd27422
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Pipeline
run-name: Build, test, upload artifact and release crate
name: Build, Test and Upload Artifact

on:
workflow_dispatch:
Expand Down Expand Up @@ -78,7 +77,7 @@ jobs:
release_tag="v${new_version}-prerelease-${epoch}"
prerelease=true
fi
commit_msg="Release compiled executable for $release_tag"
commit_msg="$(git log -1 --pretty=%B | sed ':a;N;$!ba;s/\n/\\n/g')"
release_data="{\"tag_name\":\"$release_tag\",\"name\":\"$release_tag\",\"body\":\"$commit_msg\",\"draft\":false,\"prerelease\":$prerelease}"
response=$(curl -X POST -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \
-d "$release_data" \
Expand Down
Binary file removed src/images/javascript.gif
Binary file not shown.
Binary file removed src/images/logout.gif
Binary file not shown.
Binary file removed src/images/no_auth.gif
Binary file not shown.
Binary file removed src/images/session.gif
Binary file not shown.
4 changes: 2 additions & 2 deletions src/templates/listing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ pub fn get_content() -> String {
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- CSS and JS for night mode -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script type="text/javascript" src="https://rawgit.com/thevickypedia/open-source/main/nightmode/night.js" defer></script>
<link rel="stylesheet" href="https://rawgit.com/thevickypedia/open-source/main/nightmode/night.css">
<script type="text/javascript" src="https://thevickypedia.github.io/open-source/nightmode/night.js" defer></script>
<link rel="stylesheet" type="text/css" href="https://thevickypedia.github.io/open-source/nightmode/night.css">
<!-- Button CSS -->
<style>
body {
Expand Down
4 changes: 2 additions & 2 deletions src/templates/logout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ pub fn get_content() -> String {
<h2 style="margin-top:5%">LOGOUT</h2>
<h3>{{ detail }}</h3>
<p>
<img src="https://github.com/thevickypedia/RuStream/blob/main/src/images/logout.gif?raw=true"
onerror="this.src='https://vigneshrao.com/img/auth_server/logout.gif'"
<img src="https://raw.githubusercontent.com/thevickypedia/open-source/main/images/logout.gif"
onerror="this.src='https://vigneshrao.com/open-source/images/logout.gif'"
width="200" height="200" alt="Image" class="center">
</p>
{% if show_login %}
Expand Down
4 changes: 2 additions & 2 deletions src/templates/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ pub fn get_content() -> String {
<h2 style="margin-top:5%">{{ reason }}</h2>
<h3>Authentication doesn't last forever ¯\_(ツ)_/¯ </h3>
<p>
<img src="https://github.com/thevickypedia/RuStream/blob/main/src/images/session.gif?raw=true"
onerror="this.src='https://vigneshrao.com/img/auth_server/session.gif'"
<img src="https://raw.githubusercontent.com/thevickypedia/open-source/main/images/session.gif"
onerror="this.src='https://vigneshrao.com/open-source/images/session.gif'"
width="200" height="200" alt="Image" class="center">
</p>
<button style="text-align:center" onClick="window.location.href = '/';">LOGIN</button>
Expand Down
4 changes: 2 additions & 2 deletions src/templates/unauthorized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ pub fn get_content() -> String {
<h2 style="margin-top:5%">LOGIN FAILED</h2>
<h3>USER ERROR - REPLACE USER</h3>
<p>
<img src="https://github.com/thevickypedia/RuStream/blob/main/src/images/no_auth.gif?raw=true"
onerror="this.src='https://vigneshrao.com/img/auth_server/no_auth.gif'"
<img src="https://raw.githubusercontent.com/thevickypedia/open-source/main/images/no_auth.gif"
onerror="this.src='https://vigneshrao.com/open-source/images/no_auth.gif'"
width="200" height="170" alt="Image" class="center">
</p>
<button style="text-align:center" onClick="window.location.href = '/';">LOGIN</button>
Expand Down

0 comments on commit cd27422

Please sign in to comment.