CommitView: Allow changing of context size

This adds a slider in the commit view with
which the user can change the context size.

This is useful for example if the hunks are too
big; by changing the context size, a hunk can be
split and then the changes can be committed.
This commit is contained in:
Pieter de Bie
2009-01-19 21:37:37 +00:00
parent 8c34fc9d84
commit 9c4c2a347b
7 changed files with 74 additions and 11 deletions
+6 -1
View File
@@ -13,7 +13,12 @@
</head>
<body>
<h1 id='title'><span id="status">Nothing to commit</span></h1>
<h1 id='title'>
<input type="range" min="1" max="8" value="3" id="contextSize">
<span id="contextTitle">Context:</span>
<span id="status">Nothing to commit</span>
</h1>
<div id="notification" style="display:none">
<img src="../../images/spinner.gif" alt="Spinner" id="spinner"></img>