2015-06-03 10:14:26 +00:00
|
|
|
.dropdown(dropdown)
|
2014-08-14 15:33:01 +00:00
|
|
|
a.btn.btn-primary.dropdown-toggle(
|
2014-07-16 13:59:52 +00:00
|
|
|
href="#",
|
2015-06-03 10:14:26 +00:00
|
|
|
data-toggle="dropdown",
|
|
|
|
dropdown-toggle
|
2014-07-30 16:17:13 +00:00
|
|
|
)
|
|
|
|
| #{translate("new_project")}
|
|
|
|
|
2014-07-16 13:59:52 +00:00
|
|
|
ul.dropdown-menu(role="menu")
|
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 16:08:02 +00:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 13:59:52 +00:00
|
|
|
ng-click="openCreateProjectModal()"
|
2014-07-29 14:33:31 +00:00
|
|
|
) #{translate("blank_project")}
|
2014-07-16 13:59:52 +00:00
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 16:08:02 +00:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 13:59:52 +00:00
|
|
|
ng-click="openCreateProjectModal('example')"
|
2014-07-29 14:33:31 +00:00
|
|
|
) #{translate("example_project")}
|
2014-07-16 13:59:52 +00:00
|
|
|
li
|
|
|
|
a(
|
|
|
|
href,
|
2015-11-02 16:08:02 +00:00
|
|
|
sixpack-convert="first_sign_up",
|
2014-07-16 13:59:52 +00:00
|
|
|
ng-click="openUploadProjectModal()"
|
2014-07-29 14:33:31 +00:00
|
|
|
) #{translate("upload_project")}
|
2015-02-23 10:18:48 +00:00
|
|
|
!= moduleIncludes("newProjectMenu", locals)
|
2014-08-18 17:26:47 +00:00
|
|
|
if (templates)
|
|
|
|
li.divider
|
|
|
|
li.dropdown-header #{translate("templates")}
|
|
|
|
each item in templates
|
|
|
|
li
|
2015-11-02 16:08:02 +00:00
|
|
|
a.menu-indent(href=item.url, sixpack-convert="first_sign_up") #{translate(item.name)}
|
2014-07-16 13:59:52 +00:00
|
|
|
|
|
|
|
.row-spaced(ng-if="projects.length > 0", ng-cloak)
|
|
|
|
ul.list-unstyled.folders-menu(
|
|
|
|
ng-controller="TagListController"
|
|
|
|
)
|
2016-01-28 15:11:57 +00:00
|
|
|
li(ng-class="{active: (filter == 'all')}", ng-click="filterProjects('all')")
|
|
|
|
a(href) #{translate("all_projects")}
|
|
|
|
li(ng-class="{active: (filter == 'owned')}", ng-click="filterProjects('owned')")
|
|
|
|
a(href) #{translate("your_projects")}
|
|
|
|
li(ng-class="{active: (filter == 'shared')}", ng-click="filterProjects('shared')")
|
|
|
|
a(href) #{translate("shared_with_you")}
|
|
|
|
li(ng-class="{active: (filter == 'archived')}", ng-click="filterProjects('archived')")
|
|
|
|
a(href) #{translate("deleted_projects")}
|
2014-07-16 13:59:52 +00:00
|
|
|
li
|
2014-07-31 16:07:43 +00:00
|
|
|
h2 #{translate("folders")}
|
2016-01-28 15:11:57 +00:00
|
|
|
li.tag(
|
|
|
|
ng-repeat="tag in tags | orderBy:name",
|
2014-07-16 13:59:52 +00:00
|
|
|
ng-class="{active: tag.selected}",
|
2016-01-28 15:11:57 +00:00
|
|
|
ng-cloak,
|
|
|
|
ng-click="selectTag(tag)"
|
2014-07-16 13:59:52 +00:00
|
|
|
)
|
2016-01-28 15:11:57 +00:00
|
|
|
a.tag-name(href)
|
2014-07-16 13:59:52 +00:00
|
|
|
i.icon.fa.fa-fw(
|
|
|
|
ng-class="{\
|
|
|
|
'fa-folder-open-o': tag.selected,\
|
|
|
|
'fa-folder-o': !tag.selected\
|
|
|
|
}"
|
|
|
|
)
|
2014-07-16 14:24:30 +00:00
|
|
|
span.name {{tag.name}}
|
|
|
|
span.subdued ({{tag.project_ids.length}})
|
2016-01-28 15:11:57 +00:00
|
|
|
span.dropdown.tag-menu(dropdown)
|
|
|
|
a.dropdown-toggle(
|
|
|
|
href="#",
|
|
|
|
data-toggle="dropdown",
|
|
|
|
dropdown-toggle,
|
|
|
|
stop-propagation="click"
|
|
|
|
)
|
|
|
|
span.caret
|
|
|
|
ul.dropdown-menu.dropdown-menu-right(
|
|
|
|
role="menu"
|
|
|
|
)
|
|
|
|
li
|
2016-01-28 18:18:22 +00:00
|
|
|
a(href, ng-click="renameTag(tag)", stop-propagation="click")
|
2016-01-28 15:11:57 +00:00
|
|
|
| #{translate("rename")}
|
|
|
|
li
|
2016-01-28 18:18:22 +00:00
|
|
|
a(href, ng-click="deleteTag(tag)", stop-propagation="click")
|
2016-01-28 15:11:57 +00:00
|
|
|
| #{translate("delete")}
|
2014-07-16 13:59:52 +00:00
|
|
|
li(ng-cloak)
|
2014-07-23 10:12:12 +00:00
|
|
|
a.tag(href, ng-click="openNewTagModal()")
|
2014-07-16 13:59:52 +00:00
|
|
|
i.fa.fa-fw.fa-plus
|
2014-07-29 14:33:31 +00:00
|
|
|
span.name #{translate("new_folder")}
|
2014-07-16 13:59:52 +00:00
|
|
|
|
|
|
|
.row-spaced(ng-if="projects.length == 0", ng-cloak)
|
|
|
|
.first-project
|
|
|
|
div
|
|
|
|
i.fa.fa-arrow-up.fa-2x
|
|
|
|
div
|
2014-07-29 14:33:31 +00:00
|
|
|
strong #{translate("create_your_first_project")}
|
2015-11-02 16:08:02 +00:00
|
|
|
|
2014-07-16 13:59:52 +00:00
|
|
|
- if (showUserDetailsArea)
|
2015-11-23 15:12:17 +00:00
|
|
|
span(ng-controller="LeftHandMenuPromoController", ng-cloak)
|
|
|
|
|
|
|
|
.row-spaced(ng-if="showDatajoy")
|
2015-06-09 14:36:16 +00:00
|
|
|
hr
|
2015-11-02 16:08:02 +00:00
|
|
|
.card.card-thin
|
|
|
|
p.text-center.small
|
|
|
|
| <strong>Python</strong> or <strong>R</strong> user?
|
|
|
|
p.text-center.small
|
2015-11-16 12:21:24 +00:00
|
|
|
a(href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy
|
2015-11-02 16:08:02 +00: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 10:58:51 +00:00
|
|
|
|
2015-11-23 15:12:17 +00:00
|
|
|
.row-spaced#userProfileInformation(ng-if="hasProjects && !showDatajoy")
|
2015-06-09 14:36:16 +00:00
|
|
|
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 13:59:52 +00:00
|
|
|
|
2015-11-23 15:12:17 +00:00
|
|
|
|
2015-12-16 12:40:34 +00:00
|
|
|
.row-spaced(ng-if="hasProjects && userHasSubscription", ng-cloak, sixpack-switch="left-menu-upgraed-rotation").text-centered
|
2015-11-23 15:12:17 +00:00
|
|
|
span(sixpack-default).text-centered
|
|
|
|
hr
|
|
|
|
p.small #{translate("on_free_sl")}
|
|
|
|
p
|
2015-12-16 12:40:34 +00:00
|
|
|
a(href="/user/subscription/plans", sixpack-convert="left-menu-upgraed-rotation").btn.btn-primary #{translate("upgrade")}
|
2015-11-23 15:12:17 +00:00
|
|
|
p.small.text-centered
|
|
|
|
| #{translate("or_unlock_features_bonus")}
|
|
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
|
|
|
2015-12-16 12:40:34 +00:00
|
|
|
span(sixpack-when="random").text-centered
|
|
|
|
span(ng-if="randomView == 'default'")
|
|
|
|
hr
|
|
|
|
p.small #{translate("on_free_sl")}
|
2015-11-23 15:12:17 +00:00
|
|
|
p
|
2015-12-16 12:40:34 +00:00
|
|
|
a(href="/user/subscription/plans", sixpack-convert="left-menu-upgraed-rotation").btn.btn-primary #{translate("upgrade")}
|
2015-11-23 15:12:17 +00:00
|
|
|
p.small.text-centered
|
|
|
|
| #{translate("or_unlock_features_bonus")}
|
|
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
|
|
|
2015-12-16 12:40:34 +00:00
|
|
|
span(ng-if="randomView == 'dropbox'")
|
|
|
|
hr
|
|
|
|
.card.card-thin
|
|
|
|
p
|
|
|
|
span Get Dropbox Sync
|
|
|
|
p
|
|
|
|
img(src="/img/dropbox/simple_logo.png")
|
|
|
|
p
|
|
|
|
a(href="/user/subscription/plans", sixpack-convert="left-menu-upgraed-rotation").btn.btn-primary #{translate("upgrade")}
|
|
|
|
p.small.text-centered
|
|
|
|
| #{translate("or_unlock_features_bonus")}
|
|
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
|
|
|
|
|
|
span(ng-if="randomView == 'github'")
|
|
|
|
hr
|
|
|
|
.card.card-thin
|
|
|
|
p
|
|
|
|
span Get Github Sync
|
|
|
|
p
|
|
|
|
img(src="/img/github/octocat.jpg")
|
|
|
|
p
|
|
|
|
a(href="/user/subscription/plans", sixpack-convert="left-menu-upgraed-rotation").btn.btn-primary #{translate("upgrade")}
|
|
|
|
p.small.text-centered
|
|
|
|
| #{translate("or_unlock_features_bonus")}
|
|
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
2015-11-23 15:12:17 +00:00
|
|
|
script.
|
|
|
|
window.userHasSubscription = #{settings.enableSubscriptions && !hasSubscription}
|
|
|
|
|
|
|
|
|