Commit 708c416b authored by Łukasz Nowak's avatar Łukasz Nowak

Reset input styles.

They shall be same as rest of website.
parent d9339c96
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22217690.16</string> </value>
<value> <string>ts22218301.94</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -161,13 +161,12 @@ function softwareReleaseController(query, page) {\n
search_div.addClass(\'software_release_search\');\n
var input = $(\'<input type="text">\');\n
input.attr(\'id\', "software_release_query");\n
input.addClass("software_release_input");\n
input.val(query);\n
$(\'form\').submit(searchSoftwareReleaseList);\n
search_div.append(input)\n
\n
var search = $(\'<button>\');\n
search.addClass(\'software_release_input\');\n
search.addClass(\'nolabel validate\');\n
search.append($(\'<span>\').html(\'Search\'));\n
search_div.append(search)\n
software_release_container = $(\'<div>\');\n
......@@ -213,7 +212,6 @@ function drawRequest(data) {\n
js_container.append(title_q);\n
title_a = $(\'<input type="text">\');\n
title_a.attr(\'id\', \'software_instance_title\');\n
title_a.addClass(\'software_release_input\');\n
title_q.append(title_a);\n
\n
xml_q = $(\'<div>\');\n
......@@ -222,7 +220,6 @@ function drawRequest(data) {\n
xml_a = $(\'<textarea>\');\n
xml_a.attr(\'id\', \'software_instance_xml\');\n
xml_a.html(\'<?xml version="1.0" encoding="utf-8"?>\\n<instance>\\n<parameter id="nbd_ip">2a01:e35:2e27:460:e2cb:4eff:fed9:48dc</parameter>\\n<parameter id="nbd_port">1024</parameter>\\n</instance>"\')\n
xml_a.addClass(\'software_release_input\');\n
xml_q.append(xml_a)\n
\n
computer_q = $(\'<div>\');\n
......@@ -230,7 +227,6 @@ function drawRequest(data) {\n
js_container.append(computer_q);\n
computer_a = $(\'<select>\');\n
computer_a.attr({\'name\': \'computer\', \'id\': \'computer\'});\n
computer_a.addClass(\'software_release_input\');\n
computer_q.append(computer_a)\n
$.getJSON(vifib[\'site_url\'] + "/ERP5Site_getComputerListAsJSON", function(data) {\n
option = $(\'<option>\');\n
......@@ -254,7 +250,7 @@ function drawRequest(data) {\n
js_container.append(summary);\n
request = $(\'<button>\');\n
request.append($(\'<span>\').html(\'Request\'));\n
request.addClass(\'software_release_input\');\n
\n
request.click(processRequest);\n
js_container.append(request);\n
}\n
......@@ -286,7 +282,7 @@ function hashController ()\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8394</int> </value>
<value> <int>8160</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -159,10 +159,10 @@ a img{border : 0 none;cursor : pointer;}\n
}\n
\n
/* Buttons */\n
input.validate, a.validate, input.cancel,#dialog_submit_button,#dialog_cancel_button,.login_button input{\n
button.validate, input.validate, a.validate, input.cancel,#dialog_submit_button,#dialog_cancel_button,.login_button input{\n
border:none;font-size:11px;padding:0px 10px 0px 40px;\n
font-weight:bold;height:30px;-moz-border-radius:10px;cursor:pointer;}\n
input.validate, a.validate, #dialog_submit_button,.login_button input{\n
button.validate, input.validate, a.validate, #dialog_submit_button,.login_button input{\n
background:url(<tal:block tal:replace="images_path"/>button_validate_bg.png) repeat-x top left;color:#bae2e9}\n
input.cancel,#dialog_cancel_button{\n
background:url(<tal:block tal:replace="images_path"/>button_cancel_bg.png) repeat-x top left;color:#eba4a4}\n
......@@ -218,34 +218,6 @@ ul.software_release_navigation, li.software_release_navigation {display: inline;
li.software_release_navigation:before {content: "\\0020 \\0020 \\0020 \\00BB \\0020";}\n
a.software_release_navigation {text-decoration: none; color: #fc7c25; white-space:nowrap;}\n
\n
input.software_release_input {\n
height: 18px;\n
border: 1px solid #21494a;\n
margin-right: 4px;\n
}\n
button.software_release_input {\n
border: 0px;\n
height: 20px;\n
color: #ffffff;\n
font-size: 14px;\n
font-weight: normal;\n
cursor: pointer;\n
background-image: linear-gradient(top, #008080 30%, #1CB6B6 100%);\n
background-image: -o-linear-gradient(top, #008080 30%, #1CB6B6 100%);\n
background-image: -moz-linear-gradient(top, #008080 30%, #1CB6B6 100%);\n
background-image: -webkit-linear-gradient(top, #008080 30%, #1CB6B6 100%);\n
background-image: -ms-linear-gradient(top, #008080 30%, #1CB6B6 100%);\n
\n
background-image: -webkit-gradient(\n
\tlinear,\n
\tleft top,\n
\tleft bottom,\n
\tcolor-stop(0.3, #008080),\n
\tcolor-stop(1, #1CB6B6)\n
);\n
margin-left: 4px;\n
}\n
\n
div.software_release_search {text-align: right;}\n
\n
div.software_release_more {position:relative; width:100%; height: 26px;background-color: #008080;}\n
......
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