2014-06-03 12:35:44 -04:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
mixin projectList(projects)
|
|
|
|
-each project in projects
|
|
|
|
- project_id = project._id.toString()
|
|
|
|
.project_entry(id=project_id)
|
2014-06-04 07:45:04 -04:00
|
|
|
.project-actions
|
2014-06-03 12:35:44 -04:00
|
|
|
a.btn(href='/project/'+project_id+'/restore', data-csrf=csrfToken, data-id=project_id).restoreProject Restore
|
2014-06-04 07:45:04 -04:00
|
|
|
|
|
|
|
|
a.btn.btn-danger(href='/project/'+project_id+'?forever=true', data-csrf=csrfToken, data-name=project.name, data-id=project_id).deleteProject Delete Forever
|
2014-06-03 12:35:44 -04:00
|
|
|
.projectName #{project.name}
|
|
|
|
|
|
|
|
include ../general/sidebar
|
|
|
|
|
|
|
|
.content-with-navigation-sidebar
|
|
|
|
.box#projectListArea
|
|
|
|
.row-fluid
|
|
|
|
.span12
|
|
|
|
.page-header
|
|
|
|
h1 Archived Projects
|
|
|
|
- if (projects.length > 0)
|
|
|
|
.row-fluid
|
2014-06-04 06:58:53 -04:00
|
|
|
.span12
|
2014-06-03 12:35:44 -04:00
|
|
|
ul#projectList
|
|
|
|
mixin projectList(projects)
|
|
|
|
|
|
|
|
|
|
|
|
- else
|
|
|
|
.row-fluid
|
|
|
|
.span12 You don't have any archived projects
|
|
|
|
|
|
|
|
include ../general/small-footer
|
|
|
|
|
|
|
|
- locals.supressDefaultJs = true
|
|
|
|
|
|
|
|
script
|
|
|
|
window.requirejs = {
|
|
|
|
"paths" : {
|
|
|
|
"moment": "libs/moment"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
script(
|
|
|
|
data-main=jsPath+'list.js?fingerprint='+fingerprint(jsPath + 'list.js'),
|
|
|
|
baseurl=jsPath,
|
|
|
|
src=jsPath+'libs/require.js?fingerprint='+fingerprint(jsPath + 'libs/require.js')
|
|
|
|
)
|
|
|
|
|