Skip to content

Commit 9e490cc

Browse files
author
ando
authored
Merge pull request #45 from iamando/develop
feature: impliment ui and add into , outro
2 parents 983c4c3 + 748a411 commit 9e490cc

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

media/main.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,14 @@ body {
44
}
55

66
select#commit-type {
7+
margin-top: 30px;
78
margin-bottom: 10px;
89
}
10+
11+
textarea#commit-input {
12+
margin-bottom: 15px;
13+
}
14+
15+
button#commit-button {
16+
margin-bottom: 15px;
17+
}

src/providers/source-control.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,12 @@ class SourceControlProvider implements vscode.WebviewViewProvider {
7373
<title>Source Control</title>
7474
</head>
7575
<body>
76-
<div>
76+
<span class="intro">Welcome to Commitizen Code</span>
77+
<br>
78+
<br>
79+
<span class="link">This is the VSCode Extension for the Commitizen CLI, you can found it <a href="https://www.npmjs.com/package/commitizen-cli">here</a></span>
80+
81+
<div class="input-container">
7782
<select id="commit-type" name="commit-type">
7883
<option value="feature">Feature</option>
7984
<option value="bugfix">Bugfix</option>
@@ -90,6 +95,8 @@ class SourceControlProvider implements vscode.WebviewViewProvider {
9095
9196
<button id="commit-button">Commit</button>
9297
98+
<span class="outro">Start your commit journey from now.</span>
99+
93100
<script nonce="${nonce}" src="${scriptUri}"></script>
94101
</body>
95102
</html>`

0 commit comments

Comments
 (0)