kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added dronedb icon
rodzic
0a4779edc9
commit
e8ca6f38c1
|
@ -30,13 +30,13 @@ class Plugin(PluginBase):
|
|||
super().__init__(*args, **kwargs)
|
||||
|
||||
def main_menu(self):
|
||||
return [Menu("DroneDB", self.public_url(""), "fas fa-cloud fa-fw")]
|
||||
return [Menu("DroneDB", self.public_url(""), "ddb-icon fa-fw")]
|
||||
|
||||
def include_js_files(self):
|
||||
return ["load_buttons.js"]
|
||||
|
||||
def include_css_files(self):
|
||||
return ["build/ImportView.css"]
|
||||
return ["build/ImportView.css", "style.css"]
|
||||
|
||||
def build_jsx_components(self):
|
||||
return ["ImportView.jsx", "ShareButton.jsx"]
|
||||
|
|
|
@ -11,7 +11,7 @@ const STATE_DONE = 3;
|
|||
|
||||
const ICON_CLASS_MAPPER = [
|
||||
// Idle
|
||||
'fas fa-cloud fa-fw',
|
||||
'ddb-icon fa-fw',
|
||||
// Running
|
||||
'fa fa-circle-notch fa-spin fa-fw',
|
||||
// Error
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
padding: 20px;
|
||||
}
|
||||
|
||||
.basic-single {
|
||||
|
||||
}
|
||||
|
||||
.select-row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
|
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2022 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="ddb" horiz-adv-x="1000" >
|
||||
<font-face font-family="ddb" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="ddb-icon" unicode="" d="M73 167c-32 0-58-26-58-59v-139c0-32 26-58 58-58h1090c33 0 58 26 58 58v139c0 33-25 59-58 59h-1090z m178-64c35 0 64-28 64-63 0-36-29-64-64-64-35 0-63 28-63 64 0 0 0 0 0 0 0 33 28 63 63 63 0 0 0 0 0 0z m374 0c35 0 64-28 64-63 0 0 0 0 0 0 0-36-29-64-64-64 0 0 0 0 0 0-35 0-63 28-63 64 0 0 0 0 0 0 0 33 28 63 63 63 0 0 0 0 0 0z m359 0c35 0 63-28 63-63 0 0 0 0 0 0 0-36-28-64-63-64 0 0 0 0 0 0-35 0-64 28-64 64 0 0 0 0 0 0 0 33 29 63 64 63 0 0 0 0 0 0z m-910 375c-33 0-59-26-59-58v-139c0-33 26-59 59-59h1089c33 0 59 26 59 59v139c0 32-26 58-59 58h-1089z m178-65c35 0 63-28 63-63 0-35-28-64-63-64-36 0-64 29-64 64 0 0 0 0 0 0 0 35 28 63 64 63 0 0 0 0 0 0z m374 0c35 0 63-28 63-63 0 0 0 0 0 0 0-35-28-64-63-64 0 0 0 0 0 0-36 0-64 29-64 64 0 0 0 0 0 0 0 35 28 63 64 63 0 0 0 0 0 0z m358 0c35 0 64-28 64-63 0 0 0 0 0 0 0-35-29-64-64-64 0 0 0 0 0 0-35 0-64 29-64 64 0 0 0 0 0 0 0 35 29 63 64 63 0 0 0 0 0 0z m-910 377c-33 0-59-26-59-59v-139c0-32 26-58 59-58h1089c33 0 59 26 59 58v139c0 33-26 59-59 59h-1089z m178-65c35 0 63-29 63-64 0-35-28-63-63-63-36 0-64 28-64 63 0 0 0 0 0 0 0 35 28 64 64 64 0 0 0 0 0 0z m374 0c35 0 63-29 63-64 0 0 0 0 0 0 0-35-28-63-63-63 0 0 0 0 0 0-36 0-64 28-64 63 0 0 0 0 0 0 0 35 28 64 64 64 0 0 0 0 0 0z m358 0c35 0 64-29 64-64 0 0 0 0 0 0 0-35-29-63-64-63 0 0 0 0 0 0-35 0-64 28-64 63 0 0 0 0 0 0 0 35 29 64 64 64 0 0 0 0 0 0z" horiz-adv-x="1236" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 1.9 KiB |
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,43 @@
|
|||
@font-face {
|
||||
font-family: 'ddbfont';
|
||||
src: url('fonts/ddb.eot?16744445');
|
||||
src: url('fonts/ddb.eot?16744445#iefix') format('embedded-opentype'),
|
||||
url('fonts/ddb.woff2?16744445') format('woff2'),
|
||||
url('fonts/ddb.woff?16744445') format('woff'),
|
||||
url('fonts/ddb.ttf?16744445') format('truetype'),
|
||||
url('fonts/ddb.svg?16744445#ddb') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.ddb-icon:before {
|
||||
font-family: "ddbfont";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: never;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
|
||||
|
||||
content: '\e803';
|
||||
}
|
||||
|
||||
|
Ładowanie…
Reference in New Issue