James Allen 11 лет назад
Родитель
Сommit
f75376124e

+ 2 - 17
services/web/app/views/layout/footer.jade

@@ -3,7 +3,7 @@
 footer.site-footer
 	.container
 		.row
-			ul.col-md-10
+			ul.col-md-9
 				
 				if Object.keys(settings.i18n.subdomainLang).length > 1
 					li.dropdown.dropup.subdued
@@ -32,7 +32,7 @@ footer.site-footer
 						else
 							| !{translate(item.text)}
 
-			ul.col-md-2.text-right
+			ul.col-md-3.text-right
 
 				each item in nav.right_footer
 					li
@@ -41,18 +41,3 @@ footer.site-footer
 						else
 							| !{item.text}
 
-
-
-
-				//- li
-				//- 	a(href="http://www.twitter.com/sharelatex")
-				//- 		i.fa.fa-twitter-square
-				//- li
-				//- 	a(href="http://www.facebook.com/pages/ShareLaTeX/301671376556660")
-				//- 		i.fa.fa-facebook-square
-				//- li
-				//- 	a(href="https://plus.google.com/115074691861228882827", rel="publisher")
-				//- 		i.fa.fa-google-plus-square
-				//- li
-				//- 	a(href="https://github.com/sharelatex/sharelatex")
-				//- 		i.fa.fa-github-square

+ 4 - 1
services/web/app/views/layout/navbar.jade

@@ -3,7 +3,10 @@ nav.navbar.navbar-default
 		.navbar-header
 			button.navbar-toggle(ng-init="navCollapsed = true", ng-click="navCollapsed = !navCollapsed", ng-class="{active: !navCollapsed}")
 				i.fa.fa-bars
-			a(href='/').navbar-brand
+			if nav.title
+				a(href='/').navbar-title #{nav.title}
+			else
+				a(href='/').navbar-brand
 
 		.navbar-collapse.collapse(collapse="navCollapsed")
 			

+ 3 - 1
services/web/config/settings.defaults.coffee

@@ -264,12 +264,14 @@ module.exports =
 	# 	projectId: ""
 
 	nav:
+		title: "ShareLaTeX Community Edition"
+		
 		left_footer: [{
 			text: "Powered by <a href='https://www.sharelatex.com'>ShareLaTeX</a> © 2014"
 		}]
 
 		right_footer: [{
-			text: "<i class='fa fa-github-square'></i> Contribute on Github"
+			text: "<i class='fa fa-github-square'></i> Fork on Github!"
 			url: "https://github.com/sharelatex/sharelatex"
 		}]
 

+ 11 - 0
services/web/public/stylesheets/components/navbar.less

@@ -170,6 +170,17 @@
   // }
 }
 
+.navbar-title {
+    font-size: 20px;
+    display: inline-block;
+    margin-top: 2px;
+    color: #666;
+    &:hover, &:active, &:focus {
+        color: #333;
+        text-decoration: none;
+    }
+}
+
 
 // Navbar toggle
 //