[update] Latest version on top
This commit is contained in:
@@ -35,14 +35,15 @@ keppler "My project"
|
|||||||
Share the URL that should appear with the viewers.
|
Share the URL that should appear with the viewers.
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
- [ ] Lastest version on top
|
- [ ] Log project URL and open in default browser
|
||||||
|
- [ ] Fix debug in packaged version
|
||||||
|
- [x] Lastest version on top
|
||||||
- [ ] Copy file to clipboard button
|
- [ ] Copy file to clipboard button
|
||||||
- [ ] Download file button
|
- [ ] Download file button
|
||||||
- [ ] Font size buttons
|
- [ ] Font size buttons
|
||||||
|
|
||||||
### Futur features
|
### Futur features
|
||||||
|
|
||||||
- Log project URL and open in default browser
|
|
||||||
- 404
|
- 404
|
||||||
- Config file
|
- Config file
|
||||||
- Keyboard navigation
|
- Keyboard navigation
|
||||||
|
|||||||
@@ -72,6 +72,9 @@ application.factory(
|
|||||||
_version = reformat_version( _version );
|
_version = reformat_version( _version );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reverse version
|
||||||
|
_file.versions.reverse();
|
||||||
|
|
||||||
// Icon
|
// Icon
|
||||||
var icon = 'random',
|
var icon = 'random',
|
||||||
possible_icons = {
|
possible_icons = {
|
||||||
@@ -168,7 +171,7 @@ application.factory(
|
|||||||
if( typeof file !== 'undefined' )
|
if( typeof file !== 'undefined' )
|
||||||
{
|
{
|
||||||
data.version = reformat_version( data.version );
|
data.version = reformat_version( data.version );
|
||||||
file.versions.push( data.version );
|
file.versions.unshift( data.version );
|
||||||
file.notif++;
|
file.notif++;
|
||||||
|
|
||||||
// Apply callback
|
// Apply callback
|
||||||
|
|||||||
@@ -20,17 +20,6 @@ script(type="text/ng-template",id="folder_template.html")
|
|||||||
|
|
||||||
div(ng-controller="ProjectController as controller",ng-init="init('" + project_slug + "')")
|
div(ng-controller="ProjectController as controller",ng-init="init('" + project_slug + "')")
|
||||||
|
|
||||||
header
|
|
||||||
.logo
|
|
||||||
.disks
|
|
||||||
.disk.index-4
|
|
||||||
.disk.index-3
|
|
||||||
.disk.index-2
|
|
||||||
.disk.index-1
|
|
||||||
.disk.index-0
|
|
||||||
a.title(href="/")
|
|
||||||
| Keppler
|
|
||||||
|
|
||||||
aside.aside
|
aside.aside
|
||||||
header.aside-header
|
header.aside-header
|
||||||
.name
|
.name
|
||||||
@@ -74,6 +63,17 @@ div(ng-controller="ProjectController as controller",ng-init="init('" + project_s
|
|||||||
a.button.default.mark-all-as-read(ng-click="mark_all_as_read_click()",href="#")
|
a.button.default.mark-all-as-read(ng-click="mark_all_as_read_click()",href="#")
|
||||||
| Mark all as read
|
| Mark all as read
|
||||||
|
|
||||||
|
header
|
||||||
|
.logo
|
||||||
|
.disks
|
||||||
|
.disk.index-4
|
||||||
|
.disk.index-3
|
||||||
|
.disk.index-2
|
||||||
|
.disk.index-1
|
||||||
|
.disk.index-0
|
||||||
|
a.title(href="/")
|
||||||
|
| Keppler
|
||||||
|
|
||||||
section.main
|
section.main
|
||||||
section.no-file.big-centered-text(ng-if="!file")
|
section.no-file.big-centered-text(ng-if="!file")
|
||||||
.text
|
.text
|
||||||
|
|||||||
Reference in New Issue
Block a user