2014-06-26 11:39:52 -04:00
|
|
|
header.toolbar.toolbar-header(ng-cloak, ng-hide="state.loading")
|
|
|
|
a.btn.btn-full-height(
|
|
|
|
href,
|
|
|
|
ng-click="ui.leftMenuShown = true"
|
|
|
|
tooltip="Menu",
|
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
|
|
|
i.fa.fa-fw.fa-bars
|
|
|
|
|
2014-07-03 11:18:49 -04:00
|
|
|
.toolbar-center.project-name(ng-controller="ProjectNameController")
|
|
|
|
span.name(
|
|
|
|
ng-dblclick="startRenaming()",
|
|
|
|
ng-show="!state.renaming"
|
|
|
|
) {{ project.name }}
|
2014-06-26 11:39:52 -04:00
|
|
|
|
2014-07-03 11:18:49 -04:00
|
|
|
input.form-control(
|
|
|
|
type="text"
|
|
|
|
ng-model="inputs.name",
|
|
|
|
ng-show="state.renaming",
|
|
|
|
on-enter="finishRenaming()",
|
|
|
|
ng-blur="finishRenaming()",
|
|
|
|
select-name-when="state.renaming"
|
|
|
|
)
|
|
|
|
|
|
|
|
a.rename(
|
|
|
|
href='#',
|
|
|
|
tooltip-placement="bottom",
|
|
|
|
tooltip="Rename",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="startRenaming()",
|
|
|
|
ng-show="!state.renaming"
|
|
|
|
)
|
|
|
|
i.fa.fa-pencil
|
2014-06-26 11:39:52 -04:00
|
|
|
|
|
|
|
.toolbar-right
|
2014-07-01 09:12:28 -04:00
|
|
|
a.btn.btn-full-height(
|
|
|
|
href,
|
2014-07-03 10:05:35 -04:00
|
|
|
ng-if="permissions.admin",
|
2014-07-01 09:12:28 -04:00
|
|
|
tooltip="Share",
|
|
|
|
tooltip-placement="bottom",
|
|
|
|
ng-click="openShareProjectModal()",
|
|
|
|
ng-controller="ShareController"
|
|
|
|
)
|
2014-06-26 11:39:52 -04:00
|
|
|
i.fa.fa-fw.fa-group
|
|
|
|
a.btn.btn-full-height(
|
|
|
|
href,
|
|
|
|
ng-click="toggleTrackChanges()",
|
|
|
|
ng-class="{ active: (ui.view == 'track-changes') }"
|
|
|
|
tooltip="Recent Changes",
|
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
|
|
|
i.fa.fa-fw.fa-history
|
2014-07-02 08:23:04 -04:00
|
|
|
a.btn.btn-full-height(
|
|
|
|
href,
|
|
|
|
tooltip="Chat",
|
|
|
|
tooltip-placement="bottom",
|
|
|
|
ng-class="{ active: ui.chatOpen }",
|
|
|
|
ng-click="toggleChat()",
|
|
|
|
ng-controller="ChatButtonController"
|
|
|
|
)
|
2014-06-26 11:39:52 -04:00
|
|
|
i.fa.fa-fw.fa-comment
|