Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 86dba2f

Browse files
committed
added a simple navigation menu
1 parent b0b820c commit 86dba2f

File tree

4 files changed

+66
-53
lines changed

4 files changed

+66
-53
lines changed

_includes/pages_list

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% for node in pages_list %}
2+
{% if group == null or group == node.group %}
3+
{% if page.url == node.url %}
4+
<li class="active"><a href="{{node.url}}" class="active">{{node.title}}</a></li>
5+
{% else %}
6+
<li><a href="{{node.url}}">{{node.title}}</a></li>
7+
{% endif %}
8+
{% endif %}
9+
{% endfor %}
10+
{% assign pages_list = nil %}
11+
{% assign group = nil %}

_layouts/default.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,15 @@
2020
<h1>{{ site.name }}</h1>
2121
<a href="https://github.com/macgitver" class="button"><small>View project on</small>GitHub</a>
2222
</div>
23+
<div id="navigation">
24+
<ul id="nav-list">
25+
{% assign pages_list = site.pages %}
26+
{% assign group = 'navigation' %}
27+
{% include pages_list %}
28+
</ul>
29+
</div>
2330
</header>
24-
31+
2532
<div id="content-wrapper">
2633
<div class="inner clearfix">
2734
<section id="main-content">

css/stylesheet.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,39 @@ header h2 {
8989
letter-spacing: 0;
9090
}
9191

92+
div#navigation {
93+
background-color: rgba(64,64,64,0.25);
94+
margin: 0;
95+
padding: 0;
96+
}
97+
ul#nav-list {
98+
margin: 0;
99+
padding: 3px;
100+
padding-left: 10px;
101+
border-top: 1px dotted black;
102+
border-bottom: 1px dotted black;
103+
}
104+
ul#nav-list li {
105+
display: inline;
106+
list-style: none;
107+
margin: 0;
108+
padding: 0;
109+
padding-right: 5px;
110+
color: #fff;
111+
}
112+
ul#nav-list a:visited {
113+
color: #fff;
114+
}
115+
ul#nav-list a:focus {
116+
color: #ff0;
117+
}
118+
ul#nav-list a:hover {
119+
color: #ff0;
120+
}
121+
ul#nav-list a:active {
122+
color: #dd0;
123+
}
124+
92125
.inner {
93126
position: relative;
94127
width: 940px;

index.md

Lines changed: 14 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,22 @@
11
---
2-
title: The MacGitver Project
2+
title: Home
33
layout: default
4+
group: navigation
45
---
6+
# Welcome to the MacGitver Website
7+
Here you will find all online resources available for the MacGitver project in one place.
58

6-
# About the MacGitver project
7-
More experienced users of the Git version control system know, that it is a very powerful and useful system. But -- the learning curve is still high for newcomers. And even experienced users always have to lookup command options to accomplish more complex versioning tasks.
9+
# Get a glimpse
10+
To see what's about to be created here, we provide some screenshots.
811

9-
The lack of a good user interface (at least) for all major plattforms makes the user experience even worse.
12+
Say hello to MacGitver:
13+
![Welcome screen of MacGitver](images/screenshots/mgv_welcome_screen.png "MacGitver's welcome screen")
1014

11-
## Let's fix that!
12-
MacGitver makes Git easier for newcomers and takes some of the burden, having to learn hundreds of Git options, hacking them into a terminal to simply setup a working repository.
13-
At the same time, professional users are able to accomplish more sophisticated tasks like when a team member accidently messed up a repository.
15+
The *history view* shows an overview about your repositories and their history:
16+
![History view of MacGitver](images/screenshots/mgv_repo_history_view.png "MacGitver showing repositories and their history")
1417

15-
## Some internal details and project history
16-
Development of MacGitver started in 2011 and is actually the result of two separate projects that have been driven by the same motivation:
17-
*Create a freely available user interface to control Git in a comfortable way.*
18+
This is, how your working directory appears in MacGitver:
19+
![Working-Tree view of MacGitver](images/screenshots/mgv_repo_wd_index_view.png "MacGitver's working directory view")
1820

19-
The developers of both projects decided to merge their begun work into one of the two projects. Thus, the other project, called *MsPiggit*, is no longer maintained and only lies there for reference.
20-
21-
To make the system perform fast and support at least the major desktop plattforms as good as possible, Qt and C/C++ were the first choice as a solid base.
22-
23-
## So, what is it?
24-
Well, in short, the goal is to make you feel like being at home, relaxing on the couch, while managing complex versioning tasks of a your project(s) at work.
25-
26-
# What to expect from MacGitver? - (The Features)
27-
MacGitver is still under heavy development and lots of features are not completed. If you are a developer and like to contribute to the project, feel free to contact one of the developers.
28-
29-
## Basic Git tasks
30-
31-
### Git Configuration
32-
* Graphical editor for system, user and repository Git configuratio
33-
34-
### Repositories
35-
* Create a new repository
36-
* Clone an existing repository (Not completely supported yet!)
37-
* The working directory appears empty and has to be checked out manually. (i.e. `git checkout master`).
38-
* Not all protocols are supported yet (especially SSL).
39-
* Open an existing local repository (and its submodules!) and display the full history.
40-
* Display submodules and switch between the repositories
41-
* Display the status of the working directory and the stage area.
42-
43-
### Branches (locally)
44-
* Create a branch
45-
* Checkout a branch (branch will not be activated yet!)
46-
* Rename a branch
47-
48-
### Difference Viewer
49-
Compare current commit with ...
50-
51-
* ... working directory
52-
* ... parent
53-
* ... all parents (important for merge commits)
54-
* ... a branch
55-
56-
### Working Directory and Stage Area
57-
* Display working directory and Stage Area (aka the Index)
58-
* Highlight changed files in working directory
59-
* Display file differences
60-
* Create a commit (with a message)
21+
This one is for the Lubuntu people among us:
22+
![MacGitver in Lubuntu](images/screenshots/lubuntu/mgv_repo_history_view.png "MacGitver, running on Lubuntu")

0 commit comments

Comments
 (0)