mirror of
https://github.com/S2-/gitlit
synced 2025-08-02 20:30:05 +02:00
initial commit
This commit is contained in:
5
app/js/index.js
Normal file
5
app/js/index.js
Normal 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
17
app/js/templates.js
Normal 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>
|
||||
`)
|
||||
};
|
Reference in New Issue
Block a user