Import project button in project list title

stable
Xavier Julián 2015-04-27 10:57:09 +02:00 committed by Juanfran
parent a69e230126
commit 83ab7e2c69
2 changed files with 12 additions and 3 deletions

View File

@ -1,9 +1,9 @@
div.project-list-wrapper.centered
div.project-list-title
h1 My projects
a.create-project-btn.button-green(href="#", ng-click="vm.newProject()", title="{{'PROJECT.NAVIGATION.ACTION_CREATE_PROJECT' | translate}}", translate="PROJECT.NAVIGATION.ACTION_CREATE_PROJECT")
div(tg-import-project-button)
a.button-blackish.import-project-button(href="", title="{{'PROJECT.NAVIGATION.TITLE_ACTION_IMPORT' | translate}}")
div.create-options
a.create-project-btn.button-green(href="#", ng-click="vm.newProject()", title="{{'PROJECT.NAVIGATION.ACTION_CREATE_PROJECT' | translate}}", translate="PROJECT.NAVIGATION.ACTION_CREATE_PROJECT")
a.button-blackish.import-project-button(href="", title="{{'PROJECT.NAVIGATION.TITLE_ACTION_IMPORT' | translate}}", tg-import-project-button)
span.icon.icon-upload
input.import-file.hidden(type="file")

View File

@ -11,6 +11,15 @@
margin: 0;
}
}
.import-project-button {
padding: .33rem .5rem;
&:hover {
background: $grayer;
}
.icon-upload {
margin: 0;
}
}
.project-list-section {
display: flex;
}