mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user