Showing 2 changed files with 36 additions and 31 deletions
+7 -3
public/css/bootstrap.css
... ...
@@ -56,7 +56,7 @@ input[type=text], input[type=password] {
56 56
 .project-tabs li {
57 57
   display:block;
58 58
   float:left;
59
-  width:80px;
59
+  width:90px;
60 60
   margin-bottom:0px;
61 61
 }
62 62
 
... ...
@@ -72,11 +72,15 @@ input[type=text], input[type=password] {
72 72
   display:block;
73 73
   width:100%;
74 74
   text-decoration:none;
75
-  padding:5px 10px 7px 10px;
75
+  padding:8px 10px 7px 10px;
76 76
   text-align:center;
77 77
   color:#565656;
78 78
 }
79 79
 
80
+.project-tabs li.active a {
81
+  padding:5px 10px 7px 10px;
82
+}
83
+
80 84
 .admin-users {
81 85
   width:70%;
82 86
 }
... ...
@@ -1580,11 +1584,11 @@ button.close {
1580 1584
 
1581 1585
 /* bread */
1582 1586
 .breadcrumb {
1583
-  padding: 8px 15px;
1584 1587
   margin: 0 0 20px;
1585 1588
   list-style: none;
1586 1589
   background-color: #f5f5f5;
1587 1590
   border-radius: 4px;
1591
+  font-size:18px;
1588 1592
 }
1589 1593
 
1590 1594
 .breadcrumb > li {
+29 -28
templates/include/header.html.ep
... ...
@@ -62,7 +62,7 @@
62 62
   <div class="project-header">
63 63
     <div class="container" style="overflow:hidden">
64 64
       <div class="project-header-left">
65
-        <ul class="breadcrumb" style="margin:0;background:none;padding-left:0;font-size:16px;">
65
+        <ul class="breadcrumb" style="margin:0;background:none;padding-left:0;font-size:18px;">
66 66
           <li><a href="<%= url_for('/') %>"><i class="icon-home"></i></a></li>
67 67
           /
68 68
           <li><a href="<%= url_for("/$user") %>"><%= $user %></a></li>
... ...
@@ -88,9 +88,6 @@
88 88
       <div class="project-header-right">
89 89
         <div class="project-header-right-container">
90 90
           % if (defined $project) {
91
-            <div class="project-header-btn-container">
92
-              <a class="btn" href="<%= url_for("/$user/$project/network") %>" >Network</a>
93
-            </div>
94 91
             <div class="project-header-btn-container">
95 92
               % if ($logined && $current_user ne $user ) {
96 93
                 <a href="<%= url_for("/$user/$project/fork") %>" class="btn">Fork</a>
... ...
@@ -98,36 +95,40 @@
98 95
                 <button class="btn disabled" disabled>Fork</button>
99 96
               % }
100 97
             </div>
101
-            <div class="project-header-btn-container">
102
-              % if ($logined && $user eq session('user')) {
103
-                <a class="btn" href="<%= url_for("/$user/$project/settings") %>">Settings</a>
104
-              % } else {
105
-                <button class="btn disabled" disabled>Settings</button>
106
-              % }
107
-            </div>
108 98
           % }
109 99
         </div>
110 100
       </div>
111 101
     </div>
112
-    <div class="container">
113
-      <div class="project-tabs">
114
-        <div class="container">
115
-          <ul>
116
-            <li class="active">
117
-              <a href="<%= url_for("/$user/$project") %>">
118
-                <i class="icon-chevron-right"></i>
119
-                Code
120
-              </a>
121
-            </li>
122
-            <li>
123
-              <a href="#">
124
-                aaa
125
-              </a>
126
-            </li>
127
-          </ul>
102
+    % if (defined $project) {
103
+      <div class="container">
104
+        <div class="project-tabs">
105
+          <div class="container">
106
+            <ul>
107
+              <li class="active">
108
+                <a href="<%= url_for("/$user/$project") %>">
109
+                  <i class="icon-chevron-right"></i>
110
+                  Code
111
+                </a>
112
+              </li>
113
+              <li>
114
+                <a href="<%= url_for("/$user/$project/network") %>" >
115
+                  <i class="icon-align-center"></i>
116
+                  Graph
117
+                </a>
118
+              </li>
119
+              % if ($logined && $user eq session('user')) {
120
+                <li>
121
+                  <a href="<%= url_for("/$user/$project/settings") %>">
122
+                    <i class="icon-cog"></i>
123
+                    Settings
124
+                  </a>
125
+                </li>
126
+              % }
127
+            </ul>
128
+          </div>
128 129
         </div>
129 130
       </div>
130
-    </div>
131
+    % }
131 132
     <hr style="position:relative;background:#d8d8d8;height:1px;border:none">
132 133
   </div>
133 134
 % } else {