diff --git a/media/css/load.css b/media/css/load.css new file mode 100644 index 0000000000000000000000000000000000000000..caca2ba7e8fc81655802c449fe5da4f9163a72ef --- /dev/null +++ b/media/css/load.css @@ -0,0 +1,23 @@ +.button-load { + width: 37px; + height: 37px; + margin: 0; + padding:0; + border: 0; + background-image: url(http://i.imgur.com/8BgaE65.png); + text-indent: -1000em; + cursor: pointer; + cursor: hand;} +#loading {/*display:none;*/ + background-image: url(http://i.imgur.com/n5JjOM9.gif); + width: 37px; + height: 37px; + margin: 0; + padding:0; + border: 0; + text-indent: -1000em; + cursor: pointer; + cursor: hand; +} + +/*url(вЂhttp://i.imgur.com/8BgaE65.png’) no-repeat center top;*/ diff --git a/~dev_rating/application/views/base.twig b/~dev_rating/application/views/base.twig index 097569f8b4ec5ceb18762643cb630b3535a84703..ee5b5ae17958a6ce397d55f279209a3bc6844087 100644 --- a/~dev_rating/application/views/base.twig +++ b/~dev_rating/application/views/base.twig @@ -41,6 +41,7 @@ <link href='https://fonts.googleapis.com/css?family=PT+Sans&subset=cyrillic-ext,latin' rel='stylesheet' type='text/css'> {{ HTML.style('static/css/common.css')|raw }} + {{ HTML.style('static/css/load.css')|raw }} {# HTML.style('static/css/messages.css') DEPRECATED: diff --git a/~dev_rating/application/views/popup/support.twig b/~dev_rating/application/views/popup/support.twig index 178f4c31acb74986b8057925c152320ff513453c..58ba1c28aa646976a4e41a09a24730d494327b5c 100644 --- a/~dev_rating/application/views/popup/support.twig +++ b/~dev_rating/application/views/popup/support.twig @@ -20,7 +20,9 @@ <textarea id="message" class="defaultForm FullWidth marginBetween" placeholder="Сообщение"></textarea> <form enctype="multipart/form-data" action="{{ URL.site("handler/uploader/imageupload") }}" method="POST" name="loadPicture" id="loadPicture" target="hiddenframe"> - <input id="imageFile" name="imageFile" type="file"> + <input class="button-load" id="imageFile" name="imageFile" type="file"> + <img src="http://i.imgur.com/n5JjOM9.gif"> + <div id="errormes"></div> </form> <iframe id="hiddenframe" name="hiddenframe" style="width:0px; height:0px; border:0px"></iframe>