first commit
This commit is contained in:
3
_rejestracja/Admin/template/partial/Setup/ClearCache.tpl
Normal file
3
_rejestracja/Admin/template/partial/Setup/ClearCache.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
<div style="padding: 50px;">
|
||||
Wyczyszczono zawarto¶æ cache.
|
||||
</div>
|
||||
35
_rejestracja/Admin/template/partial/Setup/Edit.tpl
Normal file
35
_rejestracja/Admin/template/partial/Setup/Edit.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{dropDownContainer title="Zmienne systemowe"}
|
||||
<form method="post" action="{url _value=setup}">
|
||||
<table align="center" class="adminTable" cellpadding="2" cellspacing="2" style="width: 500px;">
|
||||
<tr>
|
||||
<td>nazwa zmiennej</td>
|
||||
<td><input type="text" value="{if $objVariable}{$objVariable.variable}{/if}" name="variable" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>wartość zmiennej</td>
|
||||
<td><input type="text" value="{if $objVariable}{$objVariable.value}{/if}" name="value" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>opis (opcjonalnie)</td>
|
||||
<td><input type="text" value="{if $objVariable}{$objVariable.description}{/if}" name="description" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="submit" value="Zapisz" name="addVariable" class="button buttonZapisz" />
|
||||
<input type="button" value="Anuluj" name="cancel" class="button buttonAnuluj" onclick="document.location.href='{url _value=setup}' " />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
</div><!-- /paddedContent -->
|
||||
</div><!-- /panelRightBody -->
|
||||
<div class="panelRightBottom">
|
||||
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="variableId" value="" />
|
||||
</form>
|
||||
30
_rejestracja/Admin/template/partial/Setup/Index.tpl
Normal file
30
_rejestracja/Admin/template/partial/Setup/Index.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{dropDownContainer title="Zmienne systemowe"}
|
||||
<table align="center" class="datagrid" cellpadding="4" cellspacing="1" style="width: 500px;">
|
||||
<th>Lp.</th>
|
||||
<th>zmienna</th>
|
||||
<th>wartość</th>
|
||||
<th>opis</th>
|
||||
<th class="light"><a href="{url setup=new}">dodaj</a></th>
|
||||
|
||||
|
||||
{assign var=x value=1}
|
||||
{foreach from=$arrayVariables key=k item=ArrayItem name=array}
|
||||
{assign var=tVariable value=$ArrayItem.variable}
|
||||
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
|
||||
<td>{$smarty.foreach.array.index+1}</td>
|
||||
<td>{$ArrayItem.variable}</td>
|
||||
<td>{$ArrayItem.value}</td>
|
||||
<td>{$ArrayItem.description}</td>
|
||||
<td><a href="{url setup=edit variable=$tVariable}">edytuj</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
</div><!-- /paddedContent -->
|
||||
</div><!-- /panelRightBody -->
|
||||
<div class="panelRightBottom"></div>
|
||||
@@ -0,0 +1,55 @@
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
|
||||
<div class="panelContentTop"><h2><a href="#" class="long">Manual Path Installer</a></h2></div>
|
||||
<div class="panelContentBody">
|
||||
<form name="comment" action="{url setup=ManualPathInstaller}" method="post">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Module:</td><td><input type="text" name="module" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Controller:</td><td><input type="text" name="controller" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Method:</td><td><input type="text" name="method" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Param*:</td><td><input type="text" name="param" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MatchUri:</td><td><input type="text" name="matchUri" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ActionSet*:</td><td><textarea name="actionSet"></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
* - lista parametrów dla akcji głownej w postaci Zmienna1:Wartość1,Zmienna2:Wartość2
|
||||
<br /><br />
|
||||
** - lista akcji do wykonania razem z modułem w postaci Modul1:Kontroler1:metoda1,Modul2:Kontroler2:metoda2
|
||||
<br />
|
||||
<br />
|
||||
<input type="submit" class="button buttonZapisz" value="" name=""/>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<div class="panelContentBottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panelRightBottom">
|
||||
<div class="panelButtons">
|
||||
{*
|
||||
<form method="post" action="">
|
||||
<input type="submit" class="button buttonAnuluj" value="" name=""/>
|
||||
|
||||
<input type="submit" class="button buttonPodglad" value="" name=""/>
|
||||
<input type="submit" class="button buttonZapisz" value="" name=""/>
|
||||
<input type="submit" class="button120 buttonZapiszIPublikuj" value="" name=""/>
|
||||
</form>
|
||||
*}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<div class="panelRight">
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
|
||||
<div class="panelContentTop"><h2><a href="#" class="long">Manual Path Installer</a></h2></div>
|
||||
<div class="panelContentBody">
|
||||
<table>
|
||||
{foreach from=$modulesList item=module}
|
||||
<tr><td>{$module}</td><td><a href="{url setup=PackageInstaller package=$module}">instaluj</a></td></tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="panelContentBottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panelRightBottom">
|
||||
<div class="panelButtons">
|
||||
{*
|
||||
<form method="post" action="">
|
||||
<input type="submit" class="button buttonAnuluj" value="" name=""/>
|
||||
|
||||
<input type="submit" class="button buttonPodglad" value="" name=""/>
|
||||
<input type="submit" class="button buttonZapisz" value="" name=""/>
|
||||
<input type="submit" class="button120 buttonZapiszIPublikuj" value="" name=""/>
|
||||
</form>
|
||||
*}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
6
_rejestracja/Admin/template/partial/Setup/Sync.tpl
Normal file
6
_rejestracja/Admin/template/partial/Setup/Sync.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<div style="padding: 50px;">
|
||||
<div style="background-color: red; border: 1px solid grey; border-right: 2px solid black; border-bottom: 2px solid black; width: 200px; height: 50px; font-size: 16px; text-align: center; color: black; font-weight: bold; cursor: pointer;" onclick="document.location.href='{url value=setup,SyncAppCode}';">Synchronizuj kod aplikacji</div>
|
||||
</div>
|
||||
<div style="padding: 50px;">
|
||||
{$actionReturn}
|
||||
</div>
|
||||
Reference in New Issue
Block a user