mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add in link to go back to projects
This commit is contained in:
parent
cd6234570c
commit
1ce5062800
2 changed files with 92 additions and 76 deletions
|
@ -2,9 +2,17 @@ aside#left-menu.full-size(
|
|||
ng-class="{ 'shown': ui.leftMenuShown }"
|
||||
ng-cloak
|
||||
)
|
||||
ul.list-unstyled.nav
|
||||
li
|
||||
a(
|
||||
href="/project"
|
||||
)
|
||||
i.fa.fa-list-alt.fa-fw
|
||||
| View All Projects
|
||||
|
||||
h4 Download
|
||||
|
||||
ul.unformatted-list.nav.nav-downloads
|
||||
ul.list-unstyled.nav.nav-downloads
|
||||
li
|
||||
a(
|
||||
ng-href="/project/{{project_id}}/download/zip"
|
||||
|
@ -35,9 +43,7 @@ aside#left-menu.full-size(
|
|||
form.settings(ng-controller="SettingsController")
|
||||
.containter-fluid
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="compiler") Compiler
|
||||
.col-md-6
|
||||
label(for="compiler") Compiler
|
||||
select.form-control(
|
||||
name="compiler"
|
||||
ng-model="project.compiler"
|
||||
|
@ -48,9 +54,7 @@ aside#left-menu.full-size(
|
|||
option(value='lualatex') LuaLaTeX
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="spellCheckLanguage") Spell Check
|
||||
.col-md-6
|
||||
label(for="spellCheckLanguage") Spell Check
|
||||
select.form-control(
|
||||
name="spellCheckLanguage"
|
||||
ng-model="project.spellCheckLanguage"
|
||||
|
@ -63,9 +67,7 @@ aside#left-menu.full-size(
|
|||
)= language.name
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="autoComplete") Auto-Complete
|
||||
.col-md-6
|
||||
label(for="autoComplete") Auto-Complete
|
||||
select.form-control(
|
||||
name="autoComplete"
|
||||
ng-model="settings.autoComplete"
|
||||
|
@ -73,9 +75,7 @@ aside#left-menu.full-size(
|
|||
)
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="theme") Theme
|
||||
.col-md-6
|
||||
label(for="theme") Theme
|
||||
select.form-control(
|
||||
name="theme"
|
||||
ng-model="settings.theme"
|
||||
|
@ -84,9 +84,7 @@ aside#left-menu.full-size(
|
|||
option(value=theme) #{theme}
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="mode") Keybindings
|
||||
.col-md-6
|
||||
label(for="mode") Keybindings
|
||||
select.form-control(
|
||||
name="mode"
|
||||
ng-model="settings.mode"
|
||||
|
@ -96,9 +94,7 @@ aside#left-menu.full-size(
|
|||
option(value='emacs') Emacs
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="fontSize") Font Size
|
||||
.col-md-6
|
||||
label(for="fontSize") Font Size
|
||||
select.form-control(
|
||||
name="fontSize"
|
||||
ng-model="settings.fontSize"
|
||||
|
@ -107,9 +103,7 @@ aside#left-menu.full-size(
|
|||
option(value=size) #{size}px
|
||||
|
||||
.form-controls
|
||||
.row
|
||||
label.col-md-6(for="pdfViewer") PDF Viewer
|
||||
.col-md-6
|
||||
label(for="pdfViewer") PDF Viewer
|
||||
select.form-control(
|
||||
name="pdfViewer"
|
||||
ng-model="settings.pdfViewer"
|
||||
|
|
|
@ -31,6 +31,23 @@
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
ul.nav {
|
||||
a {
|
||||
&:hover, &:active {
|
||||
background-color: @link-color;
|
||||
color: white;
|
||||
i {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
i {
|
||||
color: @gray;
|
||||
}
|
||||
padding: (@line-height-computed / 4);
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
ul.nav-downloads {
|
||||
li {
|
||||
display: inline-block;
|
||||
|
@ -38,28 +55,27 @@
|
|||
width: 100px;
|
||||
a {
|
||||
color: @gray-dark;
|
||||
&:hover, &:active {
|
||||
background-color: @link-color;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.pdf-disabled {
|
||||
color: @gray-light;
|
||||
}
|
||||
i {
|
||||
margin-bottom: (@line-height-computed / 4);
|
||||
margin: (@line-height-computed / 4) 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
form.settings {
|
||||
label {
|
||||
float: left;
|
||||
font-weight: normal;
|
||||
color: @gray-dark;
|
||||
margin-bottom: 0;
|
||||
padding-top: 8px;
|
||||
padding-top: 7px;
|
||||
}
|
||||
select.form-control {
|
||||
float: right;
|
||||
width: 50%;
|
||||
height: 34px;
|
||||
background: none;
|
||||
border: none;
|
||||
|
@ -70,6 +86,7 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
.form-controls {
|
||||
clear: both;
|
||||
padding: 0 (@line-height-computed / 4);
|
||||
&:hover {
|
||||
background-color: @link-color;
|
||||
|
@ -80,6 +97,11 @@
|
|||
color: white;
|
||||
}
|
||||
}
|
||||
&:after {
|
||||
content:"";
|
||||
display:table;
|
||||
clear:both;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue