Repository navigation
Expand file tree
/
Copy pathgit-settings-dialog.html
More file actions
109 lines (107 loc) · 5.45 KB
/
Copy pathgit-settings-dialog.html
File metadata and controls
109 lines (107 loc) · 5.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<div id="git-settings-dialog" class="git modal">
<div class="modal-header">
<h1 class="dialog-title">{{Strings.GIT_SETTINGS_TITLE}}</h1>
</div>
<div class="modal-body" style="max-height: fit-content;">
<div>
<label for="git-settings-enableGit">
<input id="git-settings-enableGit" type="checkbox" settingsProperty="enableGit" />
{{Strings.ENABLE_GIT}} <i title="{{Strings.REQUIRES_APP_RESTART_SETTING}}" class="settings-info-i fa-solid fa-circle-info"></i>
</label>
</div>
<div class="git-settings-content {{#gitDisabled}}forced-inVisible{{/gitDisabled}}">
<!-- #features -->
<div>
<div>
<label for="git-settings-stripWhitespaceFromCommits">
<input id="git-settings-stripWhitespaceFromCommits" type="checkbox" settingsProperty="stripWhitespaceFromCommits" />
{{Strings.STRIP_WHITESPACE_FROM_COMMITS}}
</label>
</div>
<div>
<label for="git-settings-addEndlineToTheEndOfFile">
<input id="git-settings-addEndlineToTheEndOfFile" type="checkbox" settingsProperty="addEndlineToTheEndOfFile" />
{{Strings.ADD_ENDLINE_TO_THE_END_OF_FILE}}
</label>
</div>
</div>
<div>
<div>
<label for="git-settings-removeByteOrderMark">
<input id="git-settings-removeByteOrderMark" type="checkbox" settingsProperty="removeByteOrderMark" />
{{Strings.REMOVE_BOM}}
</label>
</div>
<div>
<label for="git-settings-normalizeLineEndings">
<input id="git-settings-normalizeLineEndings" type="checkbox" settingsProperty="normalizeLineEndings" />
{{Strings.NORMALIZE_LINE_ENDINGS}}
</label>
</div>
</div>
<div>
<div>
<label for="git-settings-useGitGutter">
<input id="git-settings-useGitGutter" type="checkbox" settingsProperty="useGitGutter" />
{{Strings.USE_GIT_GUTTER}} <i title="{{Strings.REQUIRES_APP_RESTART_SETTING}}" class="settings-info-i fa-solid fa-circle-info"></i>
</label>
</div>
<div>
<label for="git-settings-markModifiedInTree">
<input id="git-settings-markModifiedInTree" type="checkbox" settingsProperty="markModifiedInTree" />
{{Strings.MARK_MODIFIED_FILES_IN_TREE}} <i title="{{Strings.REQUIRES_APP_RESTART_SETTING}}" class="settings-info-i fa-solid fa-circle-info"></i>
</label>
</div>
</div>
<div>
<div>
<label for="git-settings-useVerboseDiff">
<input id="git-settings-useVerboseDiff" type="checkbox" settingsProperty="useVerboseDiff" />
{{Strings.USE_VERBOSE_DIFF}}
</label>
</div>
<div>
<label for="git-settings-useDifftool">
<input id="git-settings-useDifftool" type="checkbox" settingsProperty="useDifftool" />
{{Strings.USE_DIFFTOOL}}
</label>
</div>
</div>
<div>
<div>
<label for="git-settings-clearWhitespaceOnSave">
<input id="git-settings-clearWhitespaceOnSave" type="checkbox" settingsProperty="clearWhitespaceOnSave" />
{{Strings.CLEAR_WHITESPACE_ON_FILE_SAVE}}
</label>
</div>
</div>
<!-- /features -->
<!-- #gitConfig -->
<h4>{{Strings.SYSTEM_CONFIGURATION}}</h4>
<div class="row-fluid">
{{#gitNotFound}}
<div class="alert alert-warning">
{{Strings.GIT_NOT_FOUND_MESSAGE}}
</div>
{{/gitNotFound}}
<label for="git-settings-gitPath">
{{Strings.PATH_TO_GIT_EXECUTABLE}}:
{{#gitNotFound}}
<i title="{{Strings.REQUIRES_APP_RESTART_SETTING}}" class="settings-info-i fa-solid fa-circle-info"></i>
{{/gitNotFound}}
</label>
<input id="git-settings-gitPath" type="text" settingsProperty="gitPath" autocomplete="off" spellcheck="false"/>
</div>
<div class="row-fluid">
<label for="git-settings-gitTimeout">{{Strings.DEFAULT_GIT_TIMEOUT}}:</label>
<input id="git-settings-gitTimeout" type="number" settingsProperty="gitTimeout" />
</div>
<!-- /gitConfig -->
</div>
</div>
<div class="modal-footer">
<button data-button-id="defaults" class="dialog-button btn left" >{{Strings.BUTTON_DEFAULTS}}</button>
<button data-button-id="cancel" class="dialog-button btn cancel btn-80" >{{Strings.BUTTON_CANCEL}}</button>
<button data-button-id="ok" class="dialog-button btn primary btn-80">{{Strings.BUTTON_SAVE}}</button>
</div>
</div>