Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon Firmware Selector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon Firmware Selector
Commits
9685d0a1
Commit
9685d0a1
authored
5 years ago
by
Julian Labus
Committed by
David Bauer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
app: add info links with flash instructions
parent
6d11112c
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
app.css
+10
-3
10 additions, 3 deletions
app.css
app.js
+33
-0
33 additions, 0 deletions
app.js
config_template.js
+8
-1
8 additions, 1 deletion
config_template.js
devices.js
+15
-0
15 additions, 0 deletions
devices.js
index.html
+8
-0
8 additions, 0 deletions
index.html
with
74 additions
and
4 deletions
app.css
+
10
−
3
View file @
9685d0a1
...
@@ -186,7 +186,8 @@ h1, h2, h3, h4, h5, h6 {
...
@@ -186,7 +186,8 @@ h1, h2, h3, h4, h5, h6 {
color
:
#009ee0
;
color
:
#009ee0
;
}
}
#wizard
#branch-pane
.btn
{
#wizard
#branch-pane
.btn
,
#wizard
#type-pane
.btn
{
background-color
:
#009ee0
;
background-color
:
#009ee0
;
}
}
...
@@ -194,8 +195,13 @@ h1, h2, h3, h4, h5, h6 {
...
@@ -194,8 +195,13 @@ h1, h2, h3, h4, h5, h6 {
box-shadow
:
0
0
0.5em
#005ea0
inset
;
box-shadow
:
0
0
0.5em
#005ea0
inset
;
}
}
#wizard
#type-pane
.show-deviceinfo-warning
button
.deviceinfo
{
box-shadow
:
0
0
0.5em
#005ea0
inset
;
}
#wizard
#branch-pane
.warning-experimental
,
#wizard
#branch-pane
.warning-experimental
,
#wizard
#model-pane
.warning-notrecommended
{
#wizard
#model-pane
.warning-notrecommended
,
#wizard
#type-pane
.warning-deviceinfo
{
display
:
none
;
display
:
none
;
margin
:
1em
0
;
margin
:
1em
0
;
padding
:
1em
;
padding
:
1em
;
...
@@ -204,7 +210,8 @@ h1, h2, h3, h4, h5, h6 {
...
@@ -204,7 +210,8 @@ h1, h2, h3, h4, h5, h6 {
}
}
#wizard
#branch-pane
.show-experimental-warning
.warning-experimental
,
#wizard
#branch-pane
.show-experimental-warning
.warning-experimental
,
#wizard
#model-pane
.show-notrecommended-warning
.warning-notrecommended
{
#wizard
#model-pane
.show-notrecommended-warning
.warning-notrecommended
,
#wizard
#type-pane
.show-deviceinfo-warning
.warning-deviceinfo
{
display
:
block
;
display
:
block
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app.js
+
33
−
0
View file @
9685d0a1
...
@@ -819,6 +819,39 @@ var firmwarewizard = function() {
...
@@ -819,6 +819,39 @@ var firmwarewizard = function() {
scrollDown
();
scrollDown
();
}
}
var
deviceinfo
=
$
(
'
#deviceinfo
'
);
var
url
=
''
;
deviceinfo
.
innerHTML
=
''
;
if
(
devices_info
[
currentVendor
]
!==
undefined
&&
devices_info
[
currentVendor
][
currentModel
]
!==
undefined
)
{
url
=
devices_info
[
currentVendor
][
currentModel
];
}
if
(
config
.
devices_info
!==
undefined
&&
config
.
devices_info
[
currentVendor
]
!==
undefined
&&
config
.
devices_info
[
currentVendor
][
currentModel
]
)
{
url
=
config
.
devices_info
[
currentVendor
][
currentModel
];
}
if
(
url
!==
''
)
{
setClass
(
$
(
'
#type-pane
'
),
'
show-deviceinfo-warning
'
,
true
);
var
a
=
document
.
createElement
(
'
a
'
);
a
.
href
=
url
;
a
.
className
=
'
btn
'
;
a
.
target
=
'
_blank
'
;
a
.
innerText
=
'
Anleitung
'
;
deviceinfo
.
appendChild
(
a
);
}
else
{
setClass
(
$
(
'
#type-pane
'
),
'
show-deviceinfo-warning
'
,
false
);
}
var
typeselect
=
$
(
'
#typeselect
'
);
var
typeselect
=
$
(
'
#typeselect
'
);
typeselect
.
innerHTML
=
''
;
typeselect
.
innerHTML
=
''
;
...
...
This diff is collapsed.
Click to expand it.
config_template.js
+
8
−
1
View file @
9685d0a1
...
@@ -52,5 +52,12 @@ var config = {
...
@@ -52,5 +52,12 @@ var config = {
// path to preview pictures directory
// path to preview pictures directory
preview_pictures
:
'
pictures/
'
,
preview_pictures
:
'
pictures/
'
,
// link to changelog
// link to changelog
changelog
:
'
CHANGELOG.html
'
changelog
:
'
CHANGELOG.html
'
,
// links for instructions like flashing of certain devices (optional)
// overwrites values from devices_info in devices.js
devices_info
:
{
'
AVM
'
:
{
"
FRITZ!Box 4040
"
:
"
https://fritz-tools.readthedocs.io
"
}
}
};
};
This diff is collapsed.
Click to expand it.
devices.js
+
15
−
0
View file @
9685d0a1
...
@@ -380,3 +380,18 @@ var vendormodels = {
...
@@ -380,3 +380,18 @@ var vendormodels = {
"
8_32
"
:
devices_8_32
,
"
8_32
"
:
devices_8_32
,
"
16_32
"
:
devices_16_32
,
"
16_32
"
:
devices_16_32
,
}
}
var
devices_info
=
{
"
AVM
"
:
{
"
FRITZ!Box 4020
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 4040
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7312
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7320
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7330
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7330 SL
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7360
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!Box 7360 SL
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!WLAN Repeater 300E
"
:
"
https://fritzfla.sh
"
,
"
FRITZ!WLAN Repeater 450E
"
:
"
https://fritzfla.sh
"
}
}
This diff is collapsed.
Click to expand it.
index.html
+
8
−
0
View file @
9685d0a1
...
@@ -66,6 +66,14 @@
...
@@ -66,6 +66,14 @@
Einige Geräte benötigen spezielle Images, welche über den Bootloader
Einige Geräte benötigen spezielle Images, welche über den Bootloader
des Herstellers eingespielt werden.
des Herstellers eingespielt werden.
</p>
</p>
<div
class=
"warning-deviceinfo"
>
<b>
Vorsicht!
</b>
Für dieses Gerät gibt es eine extra Anleitung.
Dies kann zum Beispiel bedeuten, dass die Installation nicht über die
Weboberfläche des Geräts möglich ist. Bitte besuche zuerst die folgende
Seite und lies dir alle Informationen gut durch bevor du mit dem
Flashen der Firmware beginnst.
<div
id=
"deviceinfo"
></div>
</div>
<radiogroup
id=
"typeselect"
class=
"radiogroup"
></radiogroup>
<radiogroup
id=
"typeselect"
class=
"radiogroup"
></radiogroup>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment