mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
143 lines
4.6 KiB
Text
143 lines
4.6 KiB
Text
.dropdown(dropdown)
|
|
a.btn.btn-primary.dropdown-toggle(
|
|
href="#",
|
|
data-toggle="dropdown",
|
|
dropdown-toggle
|
|
)
|
|
| #{translate("new_project")}
|
|
|
|
ul.dropdown-menu(role="menu")
|
|
li
|
|
a(
|
|
href,
|
|
sixpack-convert="first_sign_up",
|
|
ng-click="openCreateProjectModal()"
|
|
) #{translate("blank_project")}
|
|
li
|
|
a(
|
|
href,
|
|
sixpack-convert="first_sign_up",
|
|
ng-click="openCreateProjectModal('example')"
|
|
) #{translate("example_project")}
|
|
li
|
|
a(
|
|
href,
|
|
sixpack-convert="first_sign_up",
|
|
ng-click="openUploadProjectModal()"
|
|
) #{translate("upload_project")}
|
|
!= moduleIncludes("newProjectMenu", locals)
|
|
if (templates)
|
|
li.divider
|
|
li.dropdown-header #{translate("templates")}
|
|
each item in templates
|
|
li
|
|
a.menu-indent(href=item.url, sixpack-convert="first_sign_up") #{translate(item.name)}
|
|
|
|
.row-spaced(ng-if="projects.length > 0", ng-cloak)
|
|
ul.list-unstyled.folders-menu(
|
|
ng-controller="TagListController"
|
|
)
|
|
li(ng-class="{active: (filter == 'all')}")
|
|
a(href, ng-click="filterProjects('all')") #{translate("all_projects")}
|
|
li(ng-class="{active: (filter == 'owned')}")
|
|
a(href, ng-click="filterProjects('owned')") #{translate("your_projects")}
|
|
li(ng-class="{active: (filter == 'shared')}")
|
|
a(href, ng-click="filterProjects('shared')") #{translate("shared_with_you")}
|
|
li(ng-class="{active: (filter == 'archived')}")
|
|
a(href, ng-click="filterProjects('archived')") #{translate("deleted_projects")}
|
|
li
|
|
h2 #{translate("folders")}
|
|
li(
|
|
ng-repeat="tag in tags | filter:nonEmpty",
|
|
ng-class="{active: tag.selected}",
|
|
ng-cloak
|
|
)
|
|
a.tag(href, ng-click="selectTag(tag)")
|
|
i.icon.fa.fa-fw(
|
|
ng-class="{\
|
|
'fa-folder-open-o': tag.selected,\
|
|
'fa-folder-o': !tag.selected\
|
|
}"
|
|
)
|
|
span.name {{tag.name}}
|
|
span.subdued ({{tag.project_ids.length}})
|
|
li(ng-cloak)
|
|
a.tag(href, ng-click="openNewTagModal()")
|
|
i.fa.fa-fw.fa-plus
|
|
span.name #{translate("new_folder")}
|
|
|
|
.row-spaced(ng-if="projects.length == 0", ng-cloak)
|
|
.first-project
|
|
div
|
|
i.fa.fa-arrow-up.fa-2x
|
|
div
|
|
strong #{translate("create_your_first_project")}
|
|
|
|
- if (showUserDetailsArea)
|
|
span(ng-controller="LeftHandMenuPromoController", ng-cloak)
|
|
|
|
.row-spaced(ng-if="showDatajoy")
|
|
hr
|
|
.card.card-thin
|
|
p.text-center.small
|
|
| <strong>Python</strong> or <strong>R</strong> user?
|
|
p.text-center.small
|
|
a(href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy
|
|
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.
|
|
|
|
.row-spaced#userProfileInformation(ng-if="hasProjects && !showDatajoy")
|
|
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")}
|
|
|
|
|
|
.row-spaced(ng-if="hasProjects && userHasSubscription", ng-cloak, sixpack-switch="left-menu-upgrade-reason").text-centered
|
|
span(sixpack-default).text-centered
|
|
hr
|
|
p.small #{translate("on_free_sl")}
|
|
p
|
|
a(href="/user/subscription/plans", sixpack-convert="left-menu-upgrade-reason").btn.btn-primary #{translate("upgrade")}
|
|
p.small.text-centered
|
|
| #{translate("or_unlock_features_bonus")}
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
|
|
span(sixpack-when="dropbox").text-centered
|
|
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-upgrade-reason").btn.btn-primary #{translate("upgrade")}
|
|
p.small.text-centered
|
|
| #{translate("or_unlock_features_bonus")}
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
|
|
span(sixpack-when="github").text-centered
|
|
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-upgrade-reason").btn.btn-primary #{translate("upgrade")}
|
|
p.small.text-centered
|
|
| #{translate("or_unlock_features_bonus")}
|
|
a(href="/user/bonus") #{translate("sharing_sl")} .
|
|
script.
|
|
window.userHasSubscription = #{settings.enableSubscriptions && !hasSubscription}
|
|
|
|
|