1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-02 20:30:05 +02:00

initial commit

This commit is contained in:
s2
2018-05-18 10:48:24 +02:00
commit f96e61fd63
1674 changed files with 277039 additions and 0 deletions

5
app/js/index.js Normal file
View File

@@ -0,0 +1,5 @@
(function($) {
require('electron').ipcRenderer.on('ping', (event, message) => {
console.log(message) // Prints 'whoooooooh!'
})
})(jQuery);

17
app/js/templates.js Normal file
View File

@@ -0,0 +1,17 @@
window.gitlit = window.gitlit || {};
gitlit.templates = {
main: ejs.compile(`
<table class="table table-striped">
<tr>
<th>file</th>
<th>status</th>
<th>action</th>
</tr>
<tr>
<td>ciccio.txt</td>
<td>locked</td>
<td></td>
</tr>
</table>
`)
};