2015-06-03 06:14:26 -04:00
|
|
|
.dropdown(dropdown)
|
2014-08-14 11:33:01 -04:00
|
|
|
a.btn.btn-primary.dropdown-toggle(
|
2014-07-16 09:59:52 -04:00
|
|
|
href="#",
|
2015-06-03 06:14:26 -04:00
|
|
|
data-toggle="dropdown",
|
|
|
|
dropdown-toggle
|
2014-07-30 12:17:13 -04:00
|
|
|
)
|
|
|
|
| #{translate("new_project")}
|
|
|
|
|
2014-07-16 09:59:52 -04:00
|
|
|
ul.dropdown-menu(role="menu")
|
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 11:08:02 -05:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 09:59:52 -04:00
|
|
|
ng-click="openCreateProjectModal()"
|
2014-07-29 10:33:31 -04:00
|
|
|
) #{translate("blank_project")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 11:08:02 -05:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 09:59:52 -04:00
|
|
|
ng-click="openCreateProjectModal('example')"
|
2014-07-29 10:33:31 -04:00
|
|
|
) #{translate("example_project")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 11:08:02 -05:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 09:59:52 -04:00
|
|
|
ng-click="openUploadProjectModal()"
|
2014-07-29 10:33:31 -04:00
|
|
|
) #{translate("upload_project")}
|
2015-02-23 05:18:48 -05:00
|
|
|
!= moduleIncludes("newProjectMenu", locals)
|
2014-08-18 13:26:47 -04:00
|
|
|
if (templates)
|
|
|
|
li.divider
|
|
|
|
li.dropdown-header #{translate("templates")}
|
|
|
|
each item in templates
|
|
|
|
li
|
2015-11-02 11:08:02 -05:00
|
|
|
a.menu-indent(href=item.url, sixpack-convert="first_sign_up") #{translate(item.name)}
|
2014-07-16 09:59:52 -04:00
|
|
|
|
|
|
|
.row-spaced(ng-if="projects.length > 0", ng-cloak)
|
|
|
|
ul.list-unstyled.folders-menu(
|
|
|
|
ng-controller="TagListController"
|
|
|
|
)
|
|
|
|
li(ng-class="{active: (filter == 'all')}")
|
2014-07-29 10:33:31 -04:00
|
|
|
a(href, ng-click="filterProjects('all')") #{translate("all_projects")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li(ng-class="{active: (filter == 'owned')}")
|
2014-07-29 10:33:31 -04:00
|
|
|
a(href, ng-click="filterProjects('owned')") #{translate("your_projects")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li(ng-class="{active: (filter == 'shared')}")
|
2014-07-29 10:33:31 -04:00
|
|
|
a(href, ng-click="filterProjects('shared')") #{translate("shared_with_you")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li(ng-class="{active: (filter == 'archived')}")
|
2014-07-29 10:33:31 -04:00
|
|
|
a(href, ng-click="filterProjects('archived')") #{translate("deleted_projects")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li
|
2014-07-31 12:07:43 -04:00
|
|
|
h2 #{translate("folders")}
|
2014-07-16 09:59:52 -04:00
|
|
|
li(
|
|
|
|
ng-repeat="tag in tags | filter:nonEmpty",
|
|
|
|
ng-class="{active: tag.selected}",
|
|
|
|
ng-cloak
|
|
|
|
)
|
2014-07-16 10:24:30 -04:00
|
|
|
a.tag(href, ng-click="selectTag(tag)")
|
2014-07-16 09:59:52 -04:00
|
|
|
i.icon.fa.fa-fw(
|
|
|
|
ng-class="{\
|
|
|
|
'fa-folder-open-o': tag.selected,\
|
|
|
|
'fa-folder-o': !tag.selected\
|
|
|
|
}"
|
|
|
|
)
|
2014-07-16 10:24:30 -04:00
|
|
|
span.name {{tag.name}}
|
|
|
|
span.subdued ({{tag.project_ids.length}})
|
2014-07-16 09:59:52 -04:00
|
|
|
li(ng-cloak)
|
2014-07-23 06:12:12 -04:00
|
|
|
a.tag(href, ng-click="openNewTagModal()")
|
2014-07-16 09:59:52 -04:00
|
|
|
i.fa.fa-fw.fa-plus
|
2014-07-29 10:33:31 -04:00
|
|
|
span.name #{translate("new_folder")}
|
2014-07-16 09:59:52 -04:00
|
|
|
|
|
|
|
.row-spaced(ng-if="projects.length == 0", ng-cloak)
|
|
|
|
.first-project
|
|
|
|
div
|
|
|
|
i.fa.fa-arrow-up.fa-2x
|
|
|
|
div
|
2014-07-29 10:33:31 -04:00
|
|
|
strong #{translate("create_your_first_project")}
|
2015-11-02 11:08:02 -05:00
|
|
|
|
2014-07-16 09:59:52 -04:00
|
|
|
- if (showUserDetailsArea)
|
2015-06-09 10:36:16 -04:00
|
|
|
- if (Math.random() < 0.5)
|
|
|
|
.row-spaced
|
|
|
|
hr
|
2015-11-02 11:08:02 -05:00
|
|
|
.card.card-thin
|
|
|
|
p.text-center.small
|
|
|
|
| <strong>Python</strong> or <strong>R</strong> user?
|
|
|
|
p.text-center.small
|
2015-11-16 07:21:24 -05:00
|
|
|
a(href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy
|
2015-11-02 11:08:02 -05:00
|
|
|
p.text-center.small(style="font-size: 0.8em")
|
|
|
|
a(href="https://www.getdatajoy.com/", target="_blank") DataJoy
|
|
|
|
| is a new online Python and R editor from ShareLaTeX.
|
2015-10-27 06:58:51 -04:00
|
|
|
|
2015-06-09 10:36:16 -04:00
|
|
|
- else
|
|
|
|
.row-spaced#userProfileInformation(ng-if="projects.length > 0", ng-cloak)
|
|
|
|
div(ng-controller="UserProfileController")
|
|
|
|
hr(ng-show="percentComplete < 100")
|
|
|
|
.text-centered.user-profile(ng-show="percentComplete < 100")
|
|
|
|
.progress
|
|
|
|
.progress-bar.progress-bar-info(ng-style="{'width' : (percentComplete+'%')}")
|
|
|
|
|
|
|
|
p.small #{translate("profile_complete_percentage", {percentval:"{{percentComplete}}"})}
|
|
|
|
|
|
|
|
button#completeUserProfileInformation.btn.btn-info(
|
|
|
|
ng-hide="formVisable",
|
|
|
|
ng-click="openUserProfileModal()"
|
|
|
|
) #{translate("complete")}
|
2014-07-16 09:59:52 -04:00
|
|
|
|
|
|
|
-if (settings.enableSubscriptions && !hasSubscription)
|
|
|
|
.row-spaced(ng-if="projects.length > 0", ng-cloak).text-centered
|
|
|
|
hr
|
2014-07-30 12:17:13 -04:00
|
|
|
p.small #{translate("on_free_sl")}
|
2014-07-16 09:59:52 -04:00
|
|
|
p
|
2014-07-30 12:17:13 -04:00
|
|
|
a(href="/user/subscription/plans").btn.btn-primary #{translate("upgrade")}
|
2014-07-16 09:59:52 -04:00
|
|
|
p.small
|
2014-07-30 12:17:13 -04:00
|
|
|
| #{translate("or_unlock_features_bonus")}
|
2014-08-18 13:26:47 -04:00
|
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|