Commit 52ef23ea authored by root's avatar root

the commit message is now done in a text area

parent 23c574f4
...@@ -297,6 +297,10 @@ input[type="radio"], input[type="checkbox"]{ ...@@ -297,6 +297,10 @@ input[type="radio"], input[type="checkbox"]{
margin-bottom:10px; margin-bottom:10px;
} }
#commitmsg {
width:95%;
}
.message { .message {
color:#FF5500; color:#FF5500;
line-height:21px; line-height:21px;
......
...@@ -167,7 +167,7 @@ $(document).ready(function () { ...@@ -167,7 +167,7 @@ $(document).ready(function () {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: $SCRIPT_ROOT + '/pushProjectFiles', url: $SCRIPT_ROOT + '/pushProjectFiles',
data: {project: $("input#workdir").val() + "/" + project}; data: {project: $("input#workdir").val() + "/" + project},
success: function(data) { success: function(data) {
if (data.code === 1) { if (data.code === 1) {
if (data.result !== "") { if (data.result !== "") {
...@@ -184,7 +184,7 @@ $(document).ready(function () { ...@@ -184,7 +184,7 @@ $(document).ready(function () {
} }
}); });
return false; return false;
)}; });
/* /*
$("#pullbranch").click(function (){ $("#pullbranch").click(function (){
if (send){ if (send){
......
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
<h2>Commit All your changes (On active branch)</h2> <h2>Commit All your changes (On active branch)</h2>
<div style="margin-left:15px;"> <div style="margin-left:15px;">
<label for='commitmsg'>Commit message: </label> <label for='commitmsg'>Commit message: </label>
<input type="text" name="commitmsg" id="commitmsg" size='40' value="Enter message..." /> <textarea name="commitmsg" id="commitmsg" cols="40" rows="3">
</textarea>
<input type="submit" name="commit" id ="commit" value="Commit" class="button"/> <input type="submit" name="commit" id ="commit" value="Commit" class="button"/>
<img class="waitting" id="imgwaitting" src="{{ url_for('static', filename='images/waiting.gif') }}" alt="" /> <img class="waitting" id="imgwaitting" src="{{ url_for('static', filename='images/waiting.gif') }}" alt="" />
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment