Skip to content

Commit 8a5a239

Browse files
committed
Fixed wrong download url & added tinote-server link
1 parent 4ac859a commit 8a5a239

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

css/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ header .links .link:hover {
146146
margin-bottom: 32px;
147147
}
148148

149+
.tile-section.col-1 .mini-tile {
150+
width: calc(100% - 80px);
151+
}
152+
149153
.tile-section.col-2 .mini-tile {
150154
width: calc(50% - 80px);
151155
}

index.html

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -148,33 +148,23 @@ <h2>Coming soon</h2>
148148
<a href="https://github.com/ModuleArt/tinote" title="GitHub repository">
149149
<div class="link">
150150
<img src="imgs/icons/github.png"/>
151-
<span>Sticky Notes</span>
152-
<span class="version">v1.0.0</span>
151+
<span class="version">Sticky Notes (Windows)</span>
153152
</div>
154153
</a>
155154
<a href="https://github.com/denisshav/tinote-web" title="GitHub repository">
156155
<div class="link">
157156
<img src="imgs/icons/github.png"/>
158-
<span>Web</span>
159-
<span class="version">v1.0.0</span>
157+
<span class="version">Web</span>
160158
</div>
161159
</a>
162-
</div>
163-
<div class="desc">Lightweight cross-platform note-taking application with RTF support.</div>
164-
</div>
165-
<div class="mini-tile">
166-
<img class="icon" src="https://raw.githubusercontent.com/ModuleArt/quick-picture-viewer/master/quick-picture-viewer/resources/imgs/picture256.png"/>
167-
<span class="title">Quick Picture Viewer</span>
168-
<div class="links">
169-
<a href="https://github.com/ModuleArt/quick-picture-viewer" title="GitHub repository">
160+
<a href="https://github.com/denisshav/tinote-server" title="GitHub repository">
170161
<div class="link">
171162
<img src="imgs/icons/github.png"/>
172-
<span>Windows</span>
173-
<span class="version">v2.0.0</span>
163+
<span class="version">Server</span>
174164
</div>
175165
</a>
176166
</div>
177-
<div class="desc">Major update of design and features.</div>
167+
<div class="desc">Lightweight cross-platform note-taking application with RTF support.</div>
178168
</div>
179169
</div>
180170
<h2>Paused projects</h2>

js/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ function GetLatestReleaseInfo() {
1515
$.each(repositories, function(key, value) {
1616
$.getJSON("https://api.github.com/repos/ModuleArt/" + value + "/tags").done(function (json) {
1717
let link = document.getElementById(value + "-link");
18-
link.href = "https://github.com/ModuleArt/" + value + "/releases/download/" + json[0].name + "/" + filenames[key] + "-Setup.msi";
18+
19+
link.href = "https://github.com/ModuleArt/" + value + "/releases/download/" + json[0].name + "/" + filenames[key] + "-Setup";
20+
if (key == 0) {
21+
link.href += ".exe";
22+
} else {
23+
link.href += ".msi";
24+
}
25+
1926
link.getElementsByClassName("version")[0].innerHTML = json[0].name;
2027
});
2128
});

0 commit comments

Comments
 (0)