Skip to content

Commit

Permalink
fulmo: Initial check-ins.
Browse files Browse the repository at this point in the history
  • Loading branch information
jun66j5 committed Aug 8, 2011
0 parents commit ad2e62f
Show file tree
Hide file tree
Showing 95 changed files with 8,914 additions and 0 deletions.
25 changes: 25 additions & 0 deletions COPYING
@@ -0,0 +1,25 @@
Copyright (C) 2011, OpenGroove, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
8 changes: 8 additions & 0 deletions build-chrome.cmd
@@ -0,0 +1,8 @@
@echo off
setlocal
set D=%~dp0
REM set CHROME=C:\usr\apps\GoogleChrome\12.0.742.122\chrome.exe
REM set CHROME_OPTS=--user-data-dir=C:\usr\apps\GoogleChrome\12.0.742.122\profile
if not exist "%CHROME%" set CHROME=chrome.exe
"%CHROME%" %CHROME_OPTS% --pack-extension="%D%chrome" --pack-extension-key="%D%fulmo.pem"
endlocal
8 changes: 8 additions & 0 deletions build-firefox.sh
@@ -0,0 +1,8 @@
#! /bin/sh
set -e
dir="${0/*}"
[ -z "$dir" ] && dir="$PWD"
cd "$dir/firefox"
output=../fulmo-firefox.xpi
rm -f -- "$output" || :
zip -r "$output" $(find -L . -type f \! -path '*/.svn/*')
18 changes: 18 additions & 0 deletions chrome/background.html
@@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ja" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>background page</title>
<script type="text/javascript" src="scripts/libs/sjcl.js" ></script>
<script type="text/javascript" src="scripts/settings-manager.js" ></script>
<script type="text/javascript" src="scripts/background.js"></script>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body><canvas id="cv" /></body>
</html>
23 changes: 23 additions & 0 deletions chrome/css/jquery.multiselect.css
@@ -0,0 +1,23 @@
.ui-multiselect { padding:2px 0 2px 4px; text-align:left }
.ui-multiselect span.ui-icon { float:right }
.ui-multiselect-single input { position:absolute !important; top: auto !important; left:-9999px; }
.ui-multiselect-single label { padding:5px !important }

.ui-multiselect-header { margin-bottom:3px; padding:3px 0 3px 4px }
.ui-multiselect-header ul { font-size:0.9em }
.ui-multiselect-header ul li { float:left; padding:0 10px 0 0 }
.ui-multiselect-header a { text-decoration:none }
.ui-multiselect-header a:hover { text-decoration:underline }
.ui-multiselect-header span.ui-icon { float:left }
.ui-multiselect-header li.ui-multiselect-close { float:right; text-align:right; padding-right:0 }

.ui-multiselect-menu { display:none; padding:3px; position:absolute; z-index:10000 }
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:scroll }
.ui-multiselect-checkboxes label { cursor:default; display:block; border:1px solid transparent; padding:3px 1px }
.ui-multiselect-checkboxes label input { position:relative; top:1px }
.ui-multiselect-checkboxes li { clear:both; font-size:0.9em; padding-right:3px }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label { text-align:center; font-weight:bold; border-bottom:1px solid }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a { display:block; padding:3px; margin:1px 0; text-decoration:none }

/* remove label borders in IE6 because IE6 does not support transparency */
* html .ui-multiselect-checkboxes label { border:none }
241 changes: 241 additions & 0 deletions chrome/css/main.css
@@ -0,0 +1,241 @@
* {
font-family: "Arial", "san-serif", "メイリオ", "MS Pゴシック","Osaka","verdana","palatino";
font-size: 12px;
}

html {
margin: 4px;
padding: 4px;
}

body {
background: #ffffff;
font-size: 12px;
color: #333;
margin: 0;
padding: 0;
}

form {
}

#screenshot-sender-header {
height: 32px;
}

#screenshot-sender-main-body-filed {
}

#screenshot-sender-main-body-filed p {
margin: 0;
padding: 4px 16px 0 4px;
}

.ui-multiselect {
margin: 4px 0 0 0;
}

#screenshot-sender-main-body-filed p {
position:relative;
}

.screenshot-sender-main-item-label {
position: absolute;
z-index: 1;
top: 8px;
left: 10px;
color: #cccccc;
font-size: 14px;
font-weight: normal;
}

#screenshot-sender-main-body-filed input {
position: relative;
z-index: 3;
border-radius: 8px;
-moz-border-radius: 8px;
padding: 4px;
border: 1px solid #ccc;
display: block;
width: 100%;
background: transparent;
}

#screenshot-sender-main-body-filed textarea {
position: relative;
z-index: 3;
border-radius: 8px;
-moz-border-radius: 8px;
padding: 4px;
border: 1px solid #ccc;
width: 100%;
height: 160px;
background: transparent;
}

#image-wrap {
text-align: center;
}

.screenshot-sender-property {
display: block;
margin: 0 0 0 108px;
}

.screenshot-sender-property label {
display: inline-block;
float-left;
}

#screenshot-sender-property-sumarry {
width: 352px;
}

#screenshot-sender-application-image {
float: left;
vertical-align: 0px;
}

h1 {
float: left;
margin: 0;
padding: 4px 8px 0 8px;
height: 32px;
font-size: 20px;
}

h2 {
margin: 0;
padding: 8px 0 4px 0;
border-bottom: dashed 1px #ccc;
font-size: 12px;
}

#screenshot-sender-main-image-filed {
position: absolute;
top: 8px;
left: 100%;
margin: 0 0 0 -270px;
z-index: 100;
width: 240px;
/* height: 16px; /**/
height: 136px; /**/
float: right;
background: #999;
padding: 8px;
border-radius: 4px;
-moz-border-radius: 4px;
overflow: hidden;
}

#screenshot-sender-main-image-filed p {
padding: 0;
margin: 0 0 12px 0;
}

#screenshot-sender-main-image-filed p span {
color: #ffffff;
padding-left: 20px;
background: no-repeat;
text-decoration: underline;
cursor: pointer;
}

#screenshot-sender-main-property-filed {
clear: both;
}

#screenshot-sender-main-image {
-moz-box-shadow: 2px 2px 10px #000;
-webkit-box-shadow: 2px 2px 10px #000;
}

#property-block {
margin: 12px 0 0 0 ;
padding: 0 0 12px 0;
}

#property-block li {
list-style: none;
float: left;
width: 276px;
min-height: 22px;
padding: 2px;
}

#property-block input {
border: 1px #ccc solid;
}

#property-block select {
border: 1px #ccc solid;
}

.screenshot-sender-properties-label {
float: left;
font-weight: bold;
display: inline-block;
width: 100px;
vertical-align: top;
text-align: right;
padding: 2px 4px 2px 2px;
font-weight: bold;
}

.screenshot-sender-radio-label {
font-weight: normal;
}
.property-items {
}

#screenshot-sender-property-loading {
clear: both;
text-align: center;
}

#screenshot-sender-property-block-footer {
border-bottom: dashed 1px #ccc;
height: 12px;
clear: both;
}

#footer {
position: fixed;
margin: -50px 0 0 0;
padding: 12px 0 0 0;
text-align: center;
top: 100%;
left: 0;
width: 100%;
height: 38px;
background: #fff;
}

#screenshot-sender-main-submit-wrapeer {
padding: 0;
position: absolute;
text-align: center;
width: 100%;
}

#screenshot-sender-account-dialog {
display: none;
}

#screenshot-sender-property-reporter-wrapper {
display: none;
}

#screenshot-sender-open-ticket-wrapper {
position: relative;
z-index: 10;
margin: 0 8px 0 auto;
display: block;
width: 200px;
text-align: right;
}

#screenshot-sender-login-field label span, #screenshot-sender-login-field span.label {
display: inline-block;
width: 100px;
}
64 changes: 64 additions & 0 deletions chrome/css/popup.css
@@ -0,0 +1,64 @@
* {
font-family: "Arial", "san-serif", "メイリオ", "MS Pゴシック","Osaka","verdana","palatino";
}

body {
font-size: 12px;
margin: 0;
padding: 0;
}

ul {
margin: 0;
padding: 0;
}

li {
list-style: none;
border: 1px solid #ffffff;
}

li a {
display: block;
padding: 6px 16px 0px 40px;
background: no-repeat 16px 6px;
text-decoration: none;
color: #333;
white-space: nowrap;
height: 20px;
}

li:hover {
background: url(../images/menu_bg.png) repeat-x 0 0;
border: 1px solid #cccccc;
border-radius: 4px;
-moz-border-radius: 4px;
}

li.sparator:hover {
border: 1px solid #ffffff;
background: #ffffff;
}

li a:hover {
}

#send-all-document-button {
background-image: url(../images/get_document.png);
}

#send-inner-window-button {
background-image: url(../images/get_window.png);
}

#send-selected-field-button {
background-image: url(../images/get_selected_area.png);
}

#send-without-image-button {
background-image: url(../images/create_ticket.png);
}

#settings-button {
background-image: url(../images/settings.png);
}

0 comments on commit ad2e62f

Please sign in to comment.