Commit 0859d54 1 parent 30514e7 commit 0859d54 Copy full SHA for 0859d54
File tree 5 files changed +27
-4
lines changed
5 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"index" : " Inicio" ,
3
3
"aboutme" : " Sobre mi" ,
4
- "calmanager " : " CalManager " ,
4
+ "manager " : " Web Manager " ,
5
5
"kick" : " Kick" ,
6
6
"twitch" : " Twitch" ,
7
7
"youtube" : " Youtube"
Original file line number Diff line number Diff line change 7
7
<a href =" ?view=index" >
8
8
<h1 class =" text-left text-2xl font-bold text-blue-400" >AlexDevUwU</h1 >
9
9
</a >
10
- <% if (view !== ' index' ) { % >
10
+ <% if (view !== ' index' && view !== ' manager ' ) { % >
11
11
< a href= " ?view=index" id= " back-button" class = " text-white bg-blue-700 hover:bg-blue-800 font-bold py-1 px-2 rounded hidden" >
12
12
Volver al inicio
13
13
< / a>
14
14
< % } %>
15
+ <% if (view === ' manager' ) { % >
16
+ < a href= " ?view=manager" id= " back-button" class = " text-white bg-blue-700 hover:bg-blue-800 font-bold py-1 px-2 rounded hidden" >
17
+ Volver al manager
18
+ < / a>
19
+ < % } %>
15
20
</header >
16
21
17
22
<% - include (` partials/${ view} .ejs` ) %>
Original file line number Diff line number Diff line change
1
+ <% if (data .type ) { % >
2
+ < %- include (` manager/${ data .type } .ejs` ) % >
3
+ < % } else { % >
4
+ < main class = " container mx-auto mt-10 flex-grow px-8 sm:px-24 lg:px-64 hidden" >
5
+ < section class = " mx-auto mt-10 max-w-4xl text-left" >
6
+ < div class = " bg-gray-800 rounded-lg overflow-hidden shadow-lg" >
7
+ < div class = " p-6" >
8
+ < h3 class = " mb-4 text-2xl font-bold text-white" > Selecciona el ámbito a gestionar< / h3>
9
+ < div class = " flex space-x-4" >
10
+ < a href= " ?view=manager&type=calendar" class = " inline-block px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600" > Calendario< / a>
11
+ < a href= " ?view=manager&type=linkcutter" class = " inline-block px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600" > Link Cutter< / a>
12
+ < / div>
13
+ < / div>
14
+ < / div>
15
+ < / section>
16
+ < / main>
17
+ < %- include (` scripts.ejs` ) % >
18
+ < % } %>
Original file line number Diff line number Diff line change 85
85
</div >
86
86
</section >
87
87
88
- <% - include (` scripts.ejs` ) %>
88
+ <% - include (` ../ scripts.ejs` ) %>
89
89
</main >
You can’t perform that action at this time.
0 commit comments