Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Amadeus
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
bakaclub
Amadeus
Validations
23c203b1
Vérifiée
Valider
23c203b1
rédigé
4 years ago
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Try to filder searches
parent
c78069d6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!3
Dev kubat
Modifications
3
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
instance/index.html
+15
-2
15 ajouts, 2 suppressions
instance/index.html
instance/main.js
+6
-5
6 ajouts, 5 suppressions
instance/main.js
style/css/instance.css
+28
-0
28 ajouts, 0 suppression
style/css/instance.css
avec
49 ajouts
et
7 suppressions
instance/index.html
+
15
−
2
Voir le fichier @
23c203b1
...
...
@@ -3,8 +3,9 @@
<head>
<meta
charset=
"UTF-8"
/>
<title>
Lektor App
</title>
<!-- https://electronjs.org/docs/tutorial/security#csp-meta-tag -->
<script
src=
"../style/jquery/jquery-3.5.1.js"
></script>
<script>
window
.
$
=
window
.
jQuery
=
require
(
'
../style/jquery/jquery-3.5.1.js
'
);
</script>
<script
src=
"../style/bootstrap-4.5.2-dist/js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
...
...
@@ -21,6 +22,18 @@
display
:
none
;
}
</style>
<script>
$
(
document
).
ready
(()
=>
{
$
(
'
#filterInput
'
).
on
(
'
keyup
'
,
()
=>
{
var
value
=
$
(
this
).
val
().
toLowerCase
();
$
(
'
#panelLeft *
'
).
filter
(()
=>
{
$
(
this
).
toggle
(
$
(
this
).
text
().
toLowerCase
().
indexOf
(
value
)
>
-
1
);
});
});
});
</script>
</head>
<body>
<div
id=
"mainFrame"
class=
"container-fluid"
>
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
instance/main.js
+
6
−
5
Voir le fichier @
23c203b1
...
...
@@ -88,9 +88,10 @@ function createButtonList(list) {
document
.
getElementById
(
'
buttonPanelListLeft
'
).
innerHTML
=
`
${
renderHtmlLeft
}${
renderHtmlSLeft
}
<h5 class="text-capitalize font-weight-bold text-center p-2 mr-auto ml-auto bd-highlight align-middle"
style="-webkit-user-select: none; -webkit-app-region: drag;">
lektor-app admin iterface</h5>
<div class="p-1 bd-highlight mb-1 w-75 mr-auto ml-auto">
<input id="filterInput" type="text" class="form-control filterInput"
placeholder="Filter...">
</div>
${
renderHtmlRight
}
`
;
}
...
...
@@ -99,7 +100,7 @@ ipcRenderer.on('reload-db-responce', (event, arg) => {
var
karaList
=
''
;
logger
.
debug
(
`Web page got reload-db`
);
arg
.
forEach
(
kara
=>
{
karaList
+=
`<div class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3
border border-info
karaCard">
karaList
+=
`<div class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard">
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
language
}
</b></span>
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
cat
}
</b></span>
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
type
}
</b></span>
...
...
@@ -120,7 +121,7 @@ ipcRenderer.on('reload-queue-responce', (event, arg) => {
var
karaList
=
''
;
logger
.
debug
(
`Web page got reload-queue`
);
arg
.
forEach
(
kara
=>
{
karaList
+=
`<div class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3
border border-info
karaCard">
karaList
+=
`<div class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard">
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
language
}
</b></span>
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
cat
}
</b></span>
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>
${
kara
.
type
}
</b></span>
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
style/css/instance.css
+
28
−
0
Voir le fichier @
23c203b1
...
...
@@ -21,6 +21,32 @@ button {
-webkit-transition
:
none
;
}
textarea
:focus
,
input
[
type
=
"text"
]
:focus
,
input
[
type
=
"password"
]
:focus
,
input
[
type
=
"datetime"
]
:focus
,
input
[
type
=
"datetime-local"
]
:focus
,
input
[
type
=
"date"
]
:focus
,
input
[
type
=
"month"
]
:focus
,
input
[
type
=
"time"
]
:focus
,
input
[
type
=
"week"
]
:focus
,
input
[
type
=
"number"
]
:focus
,
input
[
type
=
"email"
]
:focus
,
input
[
type
=
"url"
]
:focus
,
input
[
type
=
"search"
]
:focus
,
input
[
type
=
"tel"
]
:focus
,
input
[
type
=
"color"
]
:focus
,
.uneditable-input
:focus
{
outline
:
none
!important
;
box-shadow
:
none
!important
;
border-color
:
transparent
!important
;
}
#filterInput
{
background-color
:
#2b3e50
!important
;
color
:
white
;
}
#mainFrame
{
height
:
100%
;
display
:
flex
;
...
...
@@ -44,8 +70,10 @@ button {
width
:
100%
;
margin-left
:
0px
;
margin-right
:
0px
;
margin-top
:
0px
!important
;
flex-grow
:
1
;
overflow
:
hidden
;
border-top
:
0px
!important
;
padding
:
0px
!important
;
}
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter