[Pkg-mozext-commits] [wot] 58/226: Feedback Loop's html form is moved to svn/API directory

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit b89f28955fc01d086189705559876b7af6ba6a9d
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Tue Dec 25 14:53:34 2012 +0200

    Feedback Loop's html form is moved to svn/API directory
---
 extra/feedback/assets/close-button-secondary.png | Bin 3511 -> 0 bytes
 extra/feedback/assets/close-button.png           | Bin 3533 -> 0 bytes
 extra/feedback/assets/logo.png                   | Bin 1706 -> 0 bytes
 extra/feedback/assets/slide-sep.png              | Bin 2949 -> 0 bytes
 extra/feedback/assets/slider-handle.png          | Bin 4005 -> 0 bytes
 extra/feedback/assets/submit-button.png          | Bin 11440 -> 0 bytes
 extra/feedback/surveys.html                      |  69 ----
 extra/feedback/surveys.widgets.css               | 390 -----------------------
 extra/feedback/surveys_test.html                 |   9 -
 extra/feedback/surveys_test.js                   |  34 --
 10 files changed, 502 deletions(-)

diff --git a/extra/feedback/assets/close-button-secondary.png b/extra/feedback/assets/close-button-secondary.png
deleted file mode 100644
index f61b7e2..0000000
Binary files a/extra/feedback/assets/close-button-secondary.png and /dev/null differ
diff --git a/extra/feedback/assets/close-button.png b/extra/feedback/assets/close-button.png
deleted file mode 100644
index 1f869fa..0000000
Binary files a/extra/feedback/assets/close-button.png and /dev/null differ
diff --git a/extra/feedback/assets/logo.png b/extra/feedback/assets/logo.png
deleted file mode 100644
index aba32ed..0000000
Binary files a/extra/feedback/assets/logo.png and /dev/null differ
diff --git a/extra/feedback/assets/slide-sep.png b/extra/feedback/assets/slide-sep.png
deleted file mode 100644
index d728fa1..0000000
Binary files a/extra/feedback/assets/slide-sep.png and /dev/null differ
diff --git a/extra/feedback/assets/slider-handle.png b/extra/feedback/assets/slider-handle.png
deleted file mode 100644
index 0d44f45..0000000
Binary files a/extra/feedback/assets/slider-handle.png and /dev/null differ
diff --git a/extra/feedback/assets/submit-button.png b/extra/feedback/assets/submit-button.png
deleted file mode 100644
index c32583d..0000000
Binary files a/extra/feedback/assets/submit-button.png and /dev/null differ
diff --git a/extra/feedback/surveys.html b/extra/feedback/surveys.html
deleted file mode 100644
index 64515b9..0000000
--- a/extra/feedback/surveys.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<html>
-    <head>
-        <title>Web Of Trust Feedback Loop</title>
-        <link rel="stylesheet" href="/feedback/surveys.widgets.css" type="text/css"/>
-    </head>
-    <body>
-        <div class="surveys-window">
-            <div class="top-section">
-
-                <div id="tab-question" class="tabs">
-                    <div class="wot-logo"></div>
-                    <div class="close-button"></div>
-                    <div class="surveys-question"></div>
-                    <div class="surveys-answer">
-                        <div class="surveys-slider">
-                            <div class="surveys-slider-bounds">
-                                <div class="surveys-slider-left-bound"></div>
-                                <div class="surveys-slider-right-bound"></div>
-                            </div>
-                            <div class="ticks-container">
-                                <div class="zero-tick">
-                                    <div class="zero-tick-mark"></div>
-                                </div>
-                            </div>
-                            <div id="slider"></div>
-                        </div>
-                        <div class="surveys-slider-label-wrapper">
-                            <div class="surveys-slider-label"></div>
-                        </div>
-                    </div>
-                    <div class="surveys-submit">Submit</div>
-                    <div class="surveys-optout">
-                        <span class="pseudo-link">Hide forever</span>
-                    </div>
-                    <div class="surveys-whatsthis">
-                        <span class="pseudo-link">What's this?</span>
-                    </div>
-                </div>
-
-            <div id="tab-final" class="tabs">
-                <div class="wot-logo"></div>
-                <div class="thank-you-text">Thank you!</div>
-            </div>
-
-        </div>
-
-            <div class="bottom-section">
-                <div class="close-button-secondary"></div>
-
-                <div id="btab-optout">
-                    <div class="text-optout-confirm">
-                        If you prefer not to be asked questions, click "yes".
-                    </div>
-                    <div class="optout-buttons">
-                        <div class="button-yes">yes</div>
-                        <div class="button-no">No</div>
-                    </div>
-                </div>
-
-                <div id="btab-whatsthis">
-                    <a href="http://www.mywot.com?utm_source=addon&utm_content=whatisthis" target="_blank">Web of Trust (WOT)</a> is working to promote safety and quality across the web for millions of users.
-                        You can help by submitting your opinions whenever you see this prompt.
-                </div>
-
-            </div>
-        </div>
-    </body>
-</html>
diff --git a/extra/feedback/surveys.widgets.css b/extra/feedback/surveys.widgets.css
deleted file mode 100644
index 0ba7221..0000000
--- a/extra/feedback/surveys.widgets.css
+++ /dev/null
@@ -1,390 +0,0 @@
-body {
-    margin: 0;
-    padding: 0;
-    -webkit-user-select: none;
-}
-
-.surveys-window {
-    position: relative;
-    margin: 10px;
-    border: 1px solid silver;
-    font-family: arial, sans-serif;
-    font-size: 11pt;
-    box-shadow: 0px 0px 10px rgba(27, 27, 27, 0.8);
-}
-
-.top-section {
-    width: 340px;
-    padding: 20px 15px;
-    border-bottom: 1px solid silver;
-    background: #ffffff;
-}
-
-.bottom-section {
-    display: none;
-    padding: 1em 1em 1.2em;
-    background-color: #edf0f5;
-    box-shadow: inset 0 1px 1px rgba(152, 157, 169, 0.7);
-    font-size: 9pt; /* diff than Chrome */
-    color: #656565;
-    position: relative;
-}
-
-/* Top Section */
-
-#tab-question {
-    display: block;
-}
-
-#tab-final {
-    display: none;
-    font-size: 110%;
-}
-
-.wot-logo {
-    position: absolute;
-    top: 10px;
-    left: 10px;
-    width: 42px;
-    height: 17px;
-    background-image: url(/feedback/assets/logo.png);
-    background-repeat: no-repeat;
-}
-
-.close-button {
-    position: absolute;
-    top: 10px;
-    right: 10px;
-    width: 19px;
-    height: 19px;
-    background-image: url(/feedback/assets/close-button.png);
-    background-position: 0 0;
-    cursor: pointer;
-}
-
-.close-button:hover {
-    background-position: 0 -19px;
-}
-
-.surveys-question {
-    margin: 1em 0em 1em 0;
-    font-size: 13pt;
-    text-align: center;
-    -webkit-user-select: text;
-}
-
-.surveys-question .domainname {
-    font-weight: bold;
-}
-
-.surveys-answer {
-    margin: 2.5em auto 0em;
-}
-
-.surveys-slider {
-    position: relative;
-}
-
-.slider-tick {
-    width: 5px;
-    height: 13px;
-    position: relative;
-    top: 0;
-    left: 0;
-    border-right: 1px solid silver;
-    float: left;
-    background-image: -moz-linear-gradient(90deg, #d8dde5 0%, #e4e9f1 38%, #bbc0cb 100%);
-    cursor: pointer;
-}
-
-.slider-tick.selected {
-    background-image: -moz-linear-gradient(90deg, #70a8ba 0%, #a3d7ec 38%, #70a8ba 100%);
-    border-color: #70a8ba;
-}
-
-.slider-tick.hovered {
-    background-image: -moz-linear-gradient(90deg, #70a8ba 0%, #a3d7ec 38%, #70a8ba 100%);
-}
-
-.zero-tick {
-    position: relative;
-    float: left;
-}
-
-.zero-tick-mark {
-    width:4px;
-    height: 4px;
-    margin: 4px auto;
-    border: 1px solid #c6cbd6;
-    border-radius: 5px;
-    background-image: -moz-linear-gradient(90deg, #d8dde5 0%, #c6cbd6 100%);
-}
-
-.zero-tick.selected .zero-tick-mark {
-    background-image: -moz-linear-gradient(90deg, #70a8ba 0%, #a3d7ec 38%, #70a8ba 100%);
-}
-
-.zero-tick.hovered .zero-tick-mark {
-    background-image: -moz-linear-gradient(90deg, #70a8ba 0%, #a3d7ec 38%, #70a8ba 100%);
-}
-
-.slider-tick:nth-child(2) {
-    border-top-left-radius: 8px;
-    border-bottom-left-radius: 8px;
-}
-
-.slider-tick:last-child {
-    border-top-right-radius: 8px;
-    border-bottom-right-radius: 8px;
-}
-
-.ticks-container {
-    /*border: 1px solid silver;*/
-    /*border-radius: 2px;*/
-    position: absolute;
-    height: 13px;
-    margin-bottom: 6px;
-}
-
-#slider {
-    height: 2px;
-    max-width: 80%;
-    top: 18px;
-    margin: auto;
-    border: none;
-    background-color: #c5cbd9;
-    box-shadow: 0 0 2px #7f8693;
-    cursor: pointer;
-}
-
-.surveys-slider-label-wrapper {
-    height: 1.5em;
-    margin: 30px auto auto;
-    text-align: center;
-}
-
-.surveys-slider-label {
-    text-align: center;
-    color: #bebebe;
-    display: inline-block;
-    font-size: 90%;
-}
-
-.surveys-slider-label.selected {
-    color: #444444;
-}
-
-.surveys-slider-label:before,
-.surveys-slider-label:after {
-    position: relative;
-    width: 7px;
-    height: 3px;
-    content: "";
-    display: block;
-    top: 0.7em;
-}
-
-.surveys-slider-label.isset:before,
-.surveys-slider-label.isset:after {
-    background-image: -moz-linear-gradient(90deg, #70a8ba 0%, #a3d7ec 38%, #70a8ba 100%);
-}
-
-.surveys-slider-label:before {
-    padding-left: 10px;
-    left: -1.9em;   /* diff than Chrome */
-}
-
-.surveys-slider-label:after {
-    padding-right: 10px;
-    left: 0.6em; /* diff than Chrome */
-    float: right;
-    top: 0.5em; /* diff than Chrome */
-}
-
-.surveys-submit {
-    width: 101px;
-    height: 30px;
-    margin: 0.5em auto 0.1em;
-    padding-top: 0.6em;
-    padding-bottom: 0.1em;  /* :active shift compensator */
-    text-align: center;
-    background-image: url(/feedback/assets/submit-button.png);
-    background-position: 0 -111px;
-    font-size: 92%;
-    color: #888;
-    text-shadow: 1px 1px 2px silver;
-}
-
-.surveys-submit.enabled {
-    background-position: 0 0px;
-    color: #3E4B3E;
-    cursor: pointer;
-}
-
-.surveys-submit.enabled:hover {
-    background-position: 0 -37px;
-}
-
-.surveys-submit.enabled:active {
-    padding-top: 0.7em;
-    padding-bottom: 0;
-    background-position: 0 -74px;
-}
-
-.surveys-whatsthis,
-.surveys-optout {
-    color: #a7a7a7;
-    font-size: 80%;
-}
-
-.surveys-whatsthis {
-    float: right;
-    top: -1em;
-    position: relative;
-}
-
-.pseudo-link {
-    border-bottom: 1px dashed silver;
-    cursor: pointer;
-}
-
-.pseudo-link:hover {
-    border-bottom: 1px dashed silver;
-    color: #5d5d5d;
-}
-
-/* From jquery.ui.slider.css */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-/* overriding styles of Jquery UI components */
-.ui-widget-content,
-.ui-state-default,
-.ui-widget-content .ui-state-default {
-    background-image: none;
-    border: none;
-    background-color: transparent;
-}
-
-
-#slider .ui-slider-handle {
-    width: 26px;
-    height: 29px;
-    background-image: url(/feedback/assets/slider-handle.png);
-    background-repeat: no-repeat;
-    top: -11px;
-    margin-left: -13px;
-}
-
-#slider .ui-slider-handle.ui-state-focus {
-    border: none;
-    outline: none;
-}
-
-.surveys-slider-bounds {
-    position: relative;
-}
-
-.surveys-slider-right-bound,
-.surveys-slider-left-bound {
-    position: absolute;
-    top: -1.9em;
-    font-size: 80%;
-    color: gray;
-}
-
-.surveys-slider-left-bound {
-    left: 4px;
-}
-
-.surveys-slider-right-bound {
-    right: 4px;
-}
-
-/* Tab Final */
-
-.thank-you-text {
-    text-align: center;
-}
-
-/* Bottom Section -- */
-
-.close-button-secondary {
-    width: 11px;
-    height: 11px;
-    position: absolute;
-    right: 10px;
-    top: 10px;
-    background-image: url(/feedback/assets/close-button-secondary.png);
-    background-position: 0 0;
-}
-
-.close-button-secondary:hover {
-    background-position: 0 -12px;
-}
-
-/* -- tab OptOut */
-
-#btab-optout {
-    display: none;
-}
-
-.text-optout-confirm {
-    display: inline-block;
-    max-width: 210px;
-    float: left;
-    padding-right: 1em; /* diff than Chrome */
-
-}
-
-.optout-buttons {
-    display: inline-block;
-}
-
-.button-yes,
-.button-no {
-    border: 1px solid silver;
-    display: inline-block;
-    padding: 0.3em 1em;
-    text-align: center;
-    border-radius: 2px;
-    cursor: pointer;
-    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.47);
-}
-
-.button-yes:hover,
-.button-no:hover {
-    background-image: -moz-linear-gradient(top, #e5fad1 0%, #b2e186 39%, #83bc4a 83%, #83BC4A);
-}
-
-.button-yes {
-    margin-right: 1em;
-    background-color: silver;
-    color: #787f8c;
-    border-color: #b5bcca;
-    background-image: -moz-linear-gradient(top, #edf1f8 0%, #e7ebf5 6%, #d9dee9 48%, #b3b9c7);
-    box-shadow: 0px 1px 1px #787f8c;
-}
-
-.button-no {
-    border-color: #84bf42;
-    background-image: -moz-linear-gradient(top, #ade279 0%, #67a62b);
-}
-
-#btab-whatsthis {
-    display: none;
-    padding-top: 0.5em;
-}
-
-#btab-whatsthis a,
-#btab-whatsthis a:visited,
-#btab-whatsthis a:link {
-    color: #4848F1;
-}
diff --git a/extra/feedback/surveys_test.html b/extra/feedback/surveys_test.html
deleted file mode 100644
index f19d037..0000000
--- a/extra/feedback/surveys_test.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>WOT Surveys page test</title>
-</head>
-<body style="background-color: #f5f5f5; background-image: url('http://st.gdefon.ru/wallpapers_original/wallpapers/74533_cvety_foto_oboi_2560x1600_(www.GdeFon.ru).jpg')">
-    <script src="surveys_test.js"></script>
-</body>
-</html>
diff --git a/extra/feedback/surveys_test.js b/extra/feedback/surveys_test.js
deleted file mode 100644
index 8684079..0000000
--- a/extra/feedback/surveys_test.js
+++ /dev/null
@@ -1,34 +0,0 @@
-
-var question = {
-	target: "test.me.mywot.com",
-	decodedtarget: "test.me.name.mywot.com",
-	question: {
-		id: 9999,
-		text: "Overall, how satisfied are you with %site%?",
-		choices: [
-			{"value":0, "text":"Extremely dissatisfied"},
-			{"value":1, "text":"Moderately dissatisfied"},
-			{"value":2, "text":"Slightly dissatisfied"},
-			{"value":3, "text":"Neither satisfied nor dissatisfied"},
-			{"value":4, "text":"Slightly satisfied"},
-			{"value":5, "text":"Moderately satisfied"},
-			{"value":6, "text":"Extremely satisfied"}
-		]
-	}
-};
-
-var encoded = btoa(JSON.stringify(question));
-
-var iframe = document.createElement("iframe");
-
-iframe.setAttribute("id", "wot_surveys_wrapper");
-iframe.setAttribute("scrolling", "no");
-iframe.setAttribute("style", "position: fixed; top: 10px; left: 10px;width: 392px; height: 350px; z-index: 2147483647; border: none;");
-
-iframe.setAttribute("name", encoded);
-
-iframe.setAttribute("src", "./surveys.html");
-
-var body = document.getElementsByTagName("body")[0];
-
-body.appendChild(iframe);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list