0
1
Fork 0

Responsive, version Alpha

This commit is contained in:
Juan Ferrer Toribio 2015-01-31 02:05:12 +01:00
parent c4f8995478
commit 8ab8de6276
180 changed files with 1973 additions and 1080 deletions

View File

@ -3,6 +3,7 @@
namespace Vn\Hedera;
require_once (__DIR__.'/../php-vn-web/configure.php');
require_once (__DIR__.'/../vn-image/configure.php');
set_include_path
(

View File

@ -1,8 +1,8 @@
Package: hedera-web
Version: 1.0-19
Version: 1.0-24
Architecture: all
Maintainer: Juan Ferrer Toribio <juan@verdnatura.es>
Depends: apache2, php5-mysql
Depends: apache2, php5-mysql, php-vn-web
Section: misc
Priority: optional
Description: Verdnatura's web page

View File

@ -0,0 +1,24 @@
<?php
require_once ('vn/hedera/web.php');
use Vn\Lib\Locale;
use Vn\Hedera\Web;
Web::init ();
Web::login ();
header ('Content-Type: text/xml; charset=UTF-8');
if (isset ($_GET['form']) && Vn\Hedera\checkFilePath ($_GET['form'], 'forms'))
$form = $_GET['form'];
else
$form = $conf['defaultForm'];
$formPath = "forms/$form";
Locale::addPath ($formPath);
include ("$formPath/html.php");
Web::deinit ();
?>

View File

@ -0,0 +1,37 @@
<div id="account">
<div class="box">
<vn-group>
<db-form id="user-form">
<db-model id="user-model">
SELECT id, u.name, password, email, mail, c.user_id
FROM user_view u
LEFT JOIN customer_view c
ON u.id = c.user_id
</db-model>
</db-form>
</vn-group>
<h1 class="title"><?php i('Configuration') ?></h1>
<div class="form">
<div class="form-group">
<label for="user-id"><?php i('UserNumber') ?></label>
<htk-label column="id" form="user-form"/>
</div>
<div class="form-group">
<label for="user-name"><?php i('UserName') ?></label>
<htk-entry column="name" form="user-form"/>
</div>
<div class="form-group">
<label for="user-pass"><?php i('Password') ?></label>
<htk-password id="password"/>
</div>
<div class="form-group">
<label for="email"><?php i('Email') ?></label>
<htk-entry column="email" form="user-form"></htk-entry>
</div>
<div class="form-group">
<label for="mail"><?php i('BillingByEmail') ?></label>
<htk-check column="mail" form="user-form"/>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,34 @@
#account
{
margin: 1em;
}
#account .box
{
max-width: 40em;
padding: 2em;
}
#account div.form
{
margin: 0 auto;
max-width: 25em;
}
div.form-group
{
padding: 0.4em;
}
div.form-group label
{
display: block;
margin-bottom: 0.5em;
}
div.form-group input[type=text],
div.form-group input[type=password]
{
margin: 0;
width: 100%;
}
div.form-group input[type=password]
{
margin-bottom: 0.5em;
}

View File

@ -0,0 +1,13 @@
<div id="cpanel">
<div class="box">
<htk-grid>
<db-model>
SELECT image, name, description, link FROM link
ORDER BY name
</db-model>
<htk-column-image directory="link" subdir="full" column="image"/>
<htk-column-link title="Module" column="name" target="_blank" id="column-link"/>
<htk-column-text title="Description" column="description"/>
</htk-grid>
</div>
</div>

View File

@ -0,0 +1,14 @@
#cpanel
{
margin: 1em;
}
#cpanel .box
{
max-width: 60em;
padding: 2em;
}
#cpanel tbody tr
{
height: 3.5em;
}

View File

@ -0,0 +1,15 @@
<div id="packages">
<div class="box">
<h1 class="title"><?php i('ListByAgency') ?></h1>
<htk-grid>
<db-model property="model">
CALL vn2008.agencia_volume ()
</db-model>
<htk-column-button image="image/show.svg" tip="ShowByProvince" column="agency_id" id="column-show"/>
<htk-column-text title="Agency" column="Agencia"/>
<htk-column-spin title="Exps" column="expediciones"/>
<htk-column-spin title="Bundles" column="Bultos"/>
<htk-column-spin title="Prevision" column="Faltan"/>
</htk-grid>
</div>
</div>

View File

@ -1,5 +1,5 @@
Vn.Agencies = new Class
Vn.Packages = new Class
({
Extends: Vn.Module
@ -10,7 +10,10 @@ Vn.Agencies = new Class
,onShowClick: function (column, agencyId)
{
this.get ('agency-id').value = agencyId;
this.hash.set ({
'form': 'agencies/provinces',
'agency': agencyId
});
}
});

View File

@ -0,0 +1,14 @@
#packages
{
margin: 1em;
}
#packages .box
{
max-width: 50em;
margin: 0 auto;
padding: 2em;
}
#packages table.grid
{
position: relative
}

View File

@ -0,0 +1,21 @@
<div id="provinces">
<div class="box">
<vn-param id="agency">
<vn-hash-link key="agency"/>
</vn-param>
<h1 class="title"><?php i('ByProvince') ?></h1>
<vn-param id="agency-id"/>
<htk-grid empty-message="SelectAgency">
<db-model>
CALL vn2008.desglose_volume (#agency)
<sql-batch property="batch">
<item name="agency" param="agency"/>
</sql-batch>
</db-model>
<htk-column-text title="Province" column="Provincia"/>
<htk-column-spin title="Expeditions" column="expediciones"/>
<htk-column-spin title="Bundles" column="Bultos"/>
<htk-column-spin title="Left" column="Prevision"/>
</htk-grid>
</div>
</div>

View File

@ -0,0 +1,8 @@
Vn.Provinces = new Class
({
Extends: Vn.Module
,activate: function () {}
});

View File

@ -0,0 +1,14 @@
#provinces
{
margin: 1em;
}
#provinces .box
{
max-width: 50em;
margin: 0 auto;
padding: 2em;
}
#provinces table.grid
{
position: relative
}

View File

@ -0,0 +1,85 @@
<div id="about">
<div class="box">
<div>
<h1 class="title"><?=s('QualityAndVariety')?></h1>
<p><?=s('MaximumFreshness')?></p>
<h3><?=s('SquareMeters')?></h3>
<img src="forms/cms/about/image/store.png" alt="store"/>
<h3><?=s('AboutRealms')?></h3>
<p><?=s('AboutLocation')?></p>
<img src="forms/cms/about/image/trailer.png" alt="trailer"/>
<p>
<img src="forms/cms/about/image/dealer.png" alt="dealer"/>
<?=s('PurchaseThroughWeb')?>
</p>
<img src="forms/cms/about/image/palletizing.png" alt="palletizing"/>
</div>
<div>
<h1 class="title"><?=s('WhatMakeUsDifferent')?></h1>
<p><?=s('DesignVariety')?></p>
<img src="forms/cms/about/image/differentiates_us.png" alt="differentiates_us"/>
<p><?=s('AdaptToYourNeeds')?></p>
<h3><?=s('TheBestQuality')?></h3>
</div>
<div>
<h1 class="title"><?=s('AtYourService')?></h1>
<h2><?=s('BuyersAndTraders')?></h2>
<img src="forms/cms/about/image/commercial.png" alt="commercial"/>
</div>
<div>
<h1 class="title"><?=s('Training')?></h1>
<p><?=s('GoodTraining')?></p>
<img src="forms/cms/about/image/training.png" alt="training"/>
<p><?=s('SpecialTrainingPrices')?></p>
<img src="forms/cms/about/image/courses.png" alt="courses"/>
<h2><?=s('YoutubeChannel')?></h2>
<img src="forms/cms/about/image/youtube.png" alt="youtube"/>
</div>
<div>
<h1 class="title"><?=s('HowWeWork')?></h1>
<p><?=s('AalsmeerAuction')?></p>
<img src="forms/cms/about/image/auction.png" alt="auction"/>
<p><?=s('BeforeAuction')?></p>
<img src="forms/cms/about/image/producers.png" alt="producers"/>
<p><?=s('DirectlyFromProviders')?></p>
<p><?=s('GoodsDischarge')?></p>
<img src="forms/cms/about/image/goods_transport.png" alt="goods_transport"/>
<h2>
<?=s('FirstQualityControl')?>
<img src="forms/cms/about/image/glass.png" alt="glass"/>
</h2>
<img src="forms/cms/about/image/goods_receive.png" alt="goods_receive"/>
<p><?=s('GoodsTravel')?></p>
<img src="forms/cms/about/image/2_control.png" alt="2_control"/>
<p><?=s('GoodsReception')?></p>
<h2>
<?=s('SecondQualityControl')?>
<img src="forms/cms/about/image/glass.png" alt="glass"/>
</h2>
<p><?=s('CustomerOrders')?></p>
<img src="forms/cms/about/image/web.png" alt="web"/>
<p><?=s('AfterOrder')?></p>
<img src="forms/cms/about/image/4_control.png" alt="4_control"/>
<h2>
<?=s('ThirdQualityControl')?>
<img src="forms/cms/about/image/glass.png" alt="glass"/>
</h2>
<p><?=s('BuyerControl')?></p>
<h2>
<?=s('FourthQualityControl')?>
<img src="forms/cms/about/image/glass.png" alt="glass"/>
</h2>
<p><?=s('EmbeddedSection')?></p>
<img src="forms/cms/about/image/fit.png" alt="fit"/>
<p><?=s('AfterEmbedAgency')?></p>
<img src="forms/cms/about/image/agencies.png" alt="agencies"/>
<p><?=s('FreshnessGuaranteed')?></p>
</div>
<div>
<p class="summary">
<?=s('AboutSummary')?>
<img src="image/logo.png" alt="logo_small"/>
</p>
</div>
</div>
</div>

View File

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

View File

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 298 KiB

View File

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

Before

Width:  |  Height:  |  Size: 285 KiB

After

Width:  |  Height:  |  Size: 285 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 192 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

View File

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 129 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 297 KiB

After

Width:  |  Height:  |  Size: 297 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

View File

@ -1,60 +1,56 @@
#about
{
position: relative;
max-width: 50em;
display: block;
margin: 0px auto;
margin: 1em;
}
#about h1
#about .box
{
text-align: center;
font-size: 20px;
font-weight: normal;
margin: 20px 0px;
background-color: #F91;
border: #D70 solid 1px;
border-radius: 2px;
max-width: 50em;
margin: 0 auto;
padding: 2em;
}
#about h2
{
text-align: center;
font-size: 15px;
margin: 15px;
font-size: 1.2em;
font-weight: normal;
margin: 1em;
}
#about h3
{
text-align: center;
font-size: 16px;
font-size: 1.2em;
font-weight: normal;
margin: 1em;
color: #4A1;
margin: 15px;
}
#about p
{
width: 90%;
font-size: 15px;
display: block;
margin: 20px auto;
margin: 1em auto;
}
#about p.summary
{
width: 370px;
max-width: 30em;
text-align: center;
font-weight: bold;
background-color: #FF8;
padding: 30px;
border: #DD6 solid 1px;
border-radius: 2px;
margin: 40px auto;
padding: 1.5em;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #AAA;
margin: 0 auto;
margin-top: 2em;
}
/* Images */
#about img
{
max-width: 90%;
text-align: center;
padding: 15px;
padding: 1em;
display: block;
margin: 0px auto;
margin: 0 auto;
}
#about img[alt="producers"],
#about img[alt="4_control"],
@ -70,13 +66,13 @@
#about img[alt="glass"]
{
display: inline;
padding: 0px;
padding-left: 10px;
padding: 0;
padding-left: 0.9em;
vertical-align: middle;
}
#about img[alt="logo_small"]
{
padding: 0px;
padding-top: 30px;
padding-top: 2.5em;
}

View File

@ -14,8 +14,8 @@ Vn.Contact = new Class
,refreshCaptcha: function ()
{
var url = 'modules/contact/captcha.php';
Vn.get ('captcha').src = url +'?'+ new Date ().getTime ();
var url = 'forms/cms/contact/captcha.php';
Vn.get ('captcha-img').src = url +'?'+ new Date ().getTime ();
}
,onSubmit: function ()

View File

@ -0,0 +1,58 @@
<div id="contact">
<div class="box">
<h1 class="title">
<?=s('IWantCustomer')?>
</h1>
<p>
<?=s('FillFormData')?>
</p>
<p>
<?=s('OrCallUs')?>
</p>
<form action="modules/contact/send-data.php" method="post" id="contact-form">
<div class="form-group">
<label><?=s('Name:')?></label>
<input type="text" name="name"/>
</div>
<div class="form-group">
<label><?=s('Surname:')?></label>
<input type="text" name="surname"/>
</div>
<div class="form-group">
<label><?=s('EMail:')?></label>
<input type="text" name="email"/>
</div>
<div class="form-group">
<label><?=s('Message:')?></label>
<textarea name="message"/>
</div>
<div class="form-group">
<label><?=s('Address:')?></label>
<input type="text" name="address"/>
</div>
<div class="form-group">
<label><?=s('PC:')?></label>
<input type="text" name="pc"/>
</div>
<div class="form-group">
<label><?=s('City:')?></label>
<input type="text" name="city"/>
</div>
<div class="form-group">
<label><?=s('Phone:')?></label>
<input type="text" name="phone"/>
</div>
<div class="form-group" id="captcha">
<label><?=s('Anti-Spam:')?></label>
<img alt="Captcha" id="captcha-img"/>
<input type="text" name="captcha"/>
</div>
<p>
<?=s('AllFieldsMandatory')?>
</p>
<button class="vn">
<?=s('Send')?>
</button>
</form>
</div>
</div>

View File

@ -0,0 +1,67 @@
#contact
{
margin: 1em;
}
#contact .box
{
max-width: 40em;
padding: 2em;
}
#contact p
{
position: relative;
text-align: center;
max-width: 25em;
margin: 1em auto;
}
#contact form
{
margin: 0 auto;
max-width: 25em;
}
#contact form p
{
margin: 1em auto;
display: block;
margin-top: 2em;
}
div.form-group
{
padding: 0.4em;
}
#contact form label
{
display: block;
margin-bottom: 0.5em;
}
#contact input,
#contact textarea
{
margin: 0;
width: 100%;
}
#contact textarea
{
height: 5em;
}
#contact button
{
display: block;
margin: 0 auto;
margin-top: 1em;
padding: 0.6em;
}
/* Captcha */
#captcha img
{
vertical-align: middle;
}
#captcha input
{
margin-left: 1em;
max-width: 10em;
}

View File

@ -1,67 +1,53 @@
/* News panel */
#last-news
#home
{
background-color: #EEE;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: auto;
padding: 1em;
}
.news-column
{
max-width: 550px;
max-width: 40em;
margin: 0 auto;
}
.new
{
margin: 10px;
padding: 20px;
padding: 2em;
background-color: white;
color: #222;
border: none;
border-radius: 1px;
box-shadow: 0 2px 2px #CCC;
}
#news-right .new
{
margin-left: 0;
margin-bottom: 1em;
}
/* New */
.new h2
{
font-size: 17px;
color: #000;
font-size: 1.3em;
color: black;
font-weight: bold;
}
.new-info
{
font-size: 12px;
font-size: 0.9em;
color: #444;
text-align: right;
margin-top: 4px;
margin-bottom: 4px;
margin: 0.8em 0;
}
.new-text
{
margin-top: 25px;
margin-top: 2em;
}
.new-text li
{
margin: 6px 0;
margin: 0.4em 0;
}
.new img
{
display: block;
margin: auto;
max-width: 320px;
width: 90%;
max-height: 320px;
padding: 15px;
max-width: 92%;
padding-top: 1em;
}
/* Survey */
@ -69,14 +55,14 @@
#survey
{
position: absolute;
right: 0px;
width: 170px;
top: 0px;
right: 0;
width: 6em;
top: 0;
}
#question, #survey-votes
{
text-align: center;
margin: 12px;
margin: 1em;
}
#answers .radio
{

View File

@ -5,10 +5,15 @@ Vn.Location = new Class
({
Extends: Vn.Module
,locations: null
,activate: function ()
{
this.gui.loaderPush ();
var sql = 'SELECT lat, lng, title, address, postcode, city, province, phone, language FROM location';
this.conn.execQuery (sql, this.onLocationsDone.bind (this));
if (!gmapsIsLoaded)
{
gmapsLoadedCallback = this.gmapsLoaded.bind (this);
@ -19,10 +24,23 @@ Vn.Location = new Class
this.gmapsLoaded ();
}
,onLocationsDone: function (resultSet)
{
this.locations = resultSet.fetchResult ();
this.allLoaded ();
}
,gmapsLoaded: function ()
{
this.gui.loaderPop ();
gmapsIsLoaded = true;
this.allLoaded ();
}
,allLoaded: function ()
{
if (!this.locations || !gmapsIsLoaded)
return;
var locations = [
{
@ -101,30 +119,40 @@ Vn.Location = new Class
var div = document.getElementById ('location');
var gmap = new google.maps.Map (div, options);
for (var i = 0; i < locations.length; i++)
this.createMarker (locations[i], gmap);
if (this.locations)
while (this.locations.next ())
this.createMarker (this.locations, gmap);
}
,createMarker: function (location, gmap)
{
var div = document.createElement ('div');
div.className = 'marker';
var h = document.createElement ('h3');
h.style.marginBottom = '8px';
h.appendChild (document.createTextNode (location.title));
h.appendChild (document.createTextNode (location.get ('title')));
div.appendChild (h);
for (i = 0; i < location.desc.length; i++)
{
var p = document.createElement ('p');
p.style.padding = '0px';
p.style.margin = '0px';
p.appendChild (document.createTextNode (location.desc[i]));
p.appendChild (document.createTextNode (location.get ('address')));
div.appendChild (p);
var p = document.createElement ('p');
p.appendChild (document.createTextNode (location.get ('postcode') +' '+ location.get ('city')));
div.appendChild (p);
var p = document.createElement ('p');
p.appendChild (document.createTextNode (location.get ('province')));
div.appendChild (p);
var p = document.createElement ('p');
p.appendChild (document.createTextNode (location.get ('phone')));
div.appendChild (p);
}
var lat = new google.maps.LatLng (
location.lat, location.lng);
location.get ('lat'),
location.get ('lng')
);
var marker = new google.maps.Marker ({
position: lat
@ -139,7 +167,8 @@ Vn.Location = new Class
google.maps.event.addListener (marker, 'click',
this.openInfoWindow.bind (this, infoWindow, gmap, marker));
if (Vn.Cookie.get ('hedera_lang') == location.lang)
if (Vn.Locale.language
&& Vn.Locale.language == location.get ('language'))
this.openInfoWindow (infoWindow, gmap, marker);
}

View File

@ -0,0 +1,16 @@
#location
{
position: relative;
height: 100%;
width: 100%;
}
div.marker h3
{
font-size: 1.3em;
}
div.marker p
{
padding: 0;
margin: 0;
}

View File

@ -0,0 +1,7 @@
<div id="why">
<div class="box">
<h1 class="title"><?php i('AboutCompany') ?></h1>
<ul><?php i('AboutWhy') ?></ul>
<img src="image/store.png" alt="Store photo"/>
</div>
</div>

View File

@ -0,0 +1,29 @@
#why
{
margin: 1em;
}
#why .box
{
max-width: 40em;
margin: 0 auto;
padding: 2em;
}
#why ul
{
list-style-type: none;
padding: 0 1em;
padding-bottom: 1em;
max-width: 36em;
margin: 0 auto;
}
#why li
{
padding: 0.5em 0;
}
#why img
{
display: block;
margin: 0 auto;
max-width: 95%;
}

View File

@ -1,4 +1,5 @@
<div id="orders">
<div class="box">
<div class="info">
<img src="image/order.png" alt=""/>
<?=s('StartedOrdersDesc')?>
@ -72,3 +73,4 @@
<input type="hidden" name="Ds_Merchant_UrlKO"/>
</form>
</div>
</div>

View File

@ -18,15 +18,15 @@ Vn.Orders = new Class
// Ends the transaction
var transaction = Vn.Cookie.get ('hedera_transaction');
var tpvStatus = this.hash.get ('tpv_status');
if (transaction)
if (tpvStatus)
{
var batch = new Sql.Batch ();
batch.addValue ('transaction', transaction);
batch.addValue ('type', this.hash.get ('type'));
batch.addValue ('transaction', this.hash.get ('tpv_order'));
batch.addValue ('status', tpvStatus);
var query = 'CALL transaction_end (#transaction, #type)';
var query = 'CALL transaction_end (#transaction, #status)';
this.conn.execQuery (query,
this.onTransactionEnd.bind (this), batch);
@ -36,13 +36,13 @@ Vn.Orders = new Class
,onStartClick: function ()
{
Vn.Cookie.unset ('order');
this.hash.set ({'module': 'order'});
this.hash.set ({'form': 'ecomerce/order'});
}
,onContinueClick: function (column, orderId)
{
this.hash.set ({
'module': 'order',
'form': 'ecomerce/order',
'order': orderId
});
}
@ -50,7 +50,7 @@ Vn.Orders = new Class
,onShowClick: function (column, ticketId)
{
this.hash.set ({
'module': 'ticket',
'form': 'ecomerce/ticket',
'ticket': ticketId
});
}
@ -94,7 +94,6 @@ Vn.Orders = new Class
var model = this.get ('tickets');
var company = model.get (row, 'company_id');
var total = model.get (row, 'total');
this.pay (total, total, company);
}
@ -122,12 +121,28 @@ Vn.Orders = new Class
alert (_('AmountError'))
}
,getTpvUrl: function (status, order)
{
var path = location.protocol +'//'+ location.host;
path += location.port ? ':'+ location.port : '';
path += location.pathname;
path += location.search ? location.search : '';
path += this.hash.make ({
'tpv_status': status,
'tpv_order': order
}, true);
return path;
}
,onTransactionStart: function (resultSet)
{
var res = resultSet.fetchResult ();
if (res && res.next ())
{
var transactionId = res.get ('ds_order');
var form = Vn.get ('tpv-form');
var formMap =
{
@ -139,8 +154,6 @@ Vn.Orders = new Class
,'Ds_Merchant_Terminal': 'terminal'
,'Ds_Merchant_MerchantURL': 'merchant_url'
,'Ds_Merchant_MerchantSignature': 'signature'
,'Ds_Merchant_UrlOK': 'url_ok'
,'Ds_Merchant_UrlKO': 'url_ko'
};
form.action = res.get ('url');
@ -148,7 +161,8 @@ Vn.Orders = new Class
for (var name in formMap)
form[name].value = res.get (formMap[name]);
Vn.Cookie.set ('hedera_transaction', res.get ('ds_order'));
form['Ds_Merchant_UrlOK'].value = this.getTpvUrl ('ok', transactionId);
form['Ds_Merchant_UrlKO'].value = this.getTpvUrl ('ko', transactionId);
// Showing TPV on the same window
@ -160,7 +174,6 @@ Vn.Orders = new Class
,onTransactionEnd: function ()
{
Vn.Cookie.unset ('hedera_transaction');
this.get ('tickets').refresh ();
}
});

View File

@ -1,11 +1,15 @@
#start-order,
#debt
#orders
{
float: right;
padding: 1em;
}
#orders .box
{
max-width: 80em;
}
#orders .info
{
margin: 15px;
margin-bottom: 1em;
padding: 5px;
background-color: #FFC;
border: 1px solid #CC9;
@ -16,10 +20,16 @@
vertical-align: middle;
margin: 8px;
}
#orders td.hide
{
display: none;
}
#start-order,
#debt
{
float: right;
}
/* Balance */

View File

@ -46,7 +46,7 @@ Vn.New = new Class
,onCancelClick: function ()
{
this.hash.set ({'module': 'news'});
this.hash.set ({'form': 'news/news'});
}
,onAcceptClick: function ()

View File

@ -3,15 +3,14 @@
<button id="add-new"><?php i('AddNew') ?></button>
<htk-grid>
<db-model id="news-model">
SELECT n.id, n.date_time, c.Cliente, priority,
CONCAT(LEFT(n.title, 50), '...') title
SELECT n.id, c.Cliente, priority,
CONCAT(LEFT(n.title, 30), '...') title
FROM news n
JOIN vn2008.Clientes c ON n.user_id = c.Id_Cliente
ORDER BY priority, n.date_time DESC
</db-model>
<htk-column-button column="id" tip="EditNew" image="image/edit.png" id="edit-new"/>
<htk-column-image column="id" directory="news" subdir="30x30" show-full="true" editable="true"/>
<htk-column-date title="Date" column="date_time"/>
<htk-column-text title="Author" column="Cliente"/>
<htk-column-text title="Title" column="title"/>
<htk-column-spin title="Priority" column="priority"/>

View File

@ -12,7 +12,7 @@ Vn.News = new Class
,editNew: function (newId)
{
this.hash.set ({
'module': 'new'
'form': 'news/new'
,'new': newId
});
}

View File

@ -1,4 +1,19 @@
/* Responsive */
@media screen
{
* { font-size: 10pt; }
}
@media screen and (max-device-width: 1100px) and (min-resolution: 100dpi)
{
* { font-size: 18pt; }
}
@media screen and (max-device-width: 750px) and (min-resolution: 100dpi)
{
* { font-size: 26pt; }
}
/* Global */
@font-face {
@ -15,7 +30,7 @@ button,
input,
textarea
{
font-size: 13px;
font-size: 1em;
font-family: 'Open Sans', 'Verdana', 'Sans';
}
iframe
@ -25,12 +40,12 @@ iframe
fieldset,
div
{
margin: 0px;
margin: 0;
}
form
{
padding: 0px;
margin: 0px;
padding: 0;
margin: 0;
}
table
{
@ -59,28 +74,23 @@ a img:hover
}
h1, h2, h3, h4, h5, h6
{
margin: 0px;
padding: 2px;
margin: 0;
padding: 0.2em;
}
h1
{
font-size: 22px;
font-size: 1.5em;
}
h2
{
font-size: 20px;
font-size: 1.3em;
}
p
{
margin: 0px;
margin: 0;
margin-top: 16px;
margin-bottom: 16px;
}
div.clear
{
clear: both;
}
/* Inputs */
@ -89,22 +99,22 @@ textarea,
button
{
border: 1px solid #CCD;
margin: 2px;
padding: 4px;
margin: 0.3em;
padding: 0.4em;
border-radius: 2px;
/* box-shadow: 0px 2px 2px #AAA; */
}
textarea
{
height: 40px;
width: 200px;
height: 3.5em;
width: 20em;
}
input[type=submit],
input[type=button],
button
{
background-color: #EEF;
padding: 4px;
padding: 0.4em;
}
input[type=text]:focus,
input[type=password]:focus,
@ -120,6 +130,72 @@ button:hover
cursor: pointer;
background-color: #DDE;
}
input[type=checkbox]
{
width: 0.8em;
height: 0.8em;
}
button.vn
{
border: none;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #DDD;
background-color: #AD4;
}
button.vn:hover
{
background-color: #9C3;
cursor: pointer;
}
/* Float */
div.clear
{
clear: both;
}
/* Title */
h1.title
{
text-align: center;
font-size: 1.5em;
font-weight: normal;
padding: 0.2em;
margin: 0;
margin-bottom: 1em;
background-color: #F91;
border-radius: 2px;
box-shadow: 0 0.1em 0.1em #DDD;
}
/* Box */
div.box
{
background-color: white;
margin: 0 auto;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #CCC;
padding: 1em;
}
/* Form */
table.form
{
border-collapse: separate;
border-spacing: 4px;
}
table.form td.label
{
text-align: right;
}
table.form tr
{
height: 35px;
}
/* Grid */
@ -129,21 +205,18 @@ table.grid
margin: auto;
border-collapse: collapse;
text-align: center;
margin-bottom: 15px;
margin-bottom: 1.5em;
}
table.grid thead tr,
table.grid tfoot tr
{
/* background-color: #C0CCB3;
background: url(image/gradient.png) repeat-x scroll 0;
*/
background-color: #EEF;
border: 1px solid #CCD;
color: black;
font-weight: bold;
vertical-align: middle;
text-align: center;
height: 30px;
height: 3em;
}
table.grid thead th
{
@ -155,7 +228,7 @@ table.grid thead th:hover
}
table.grid tr
{
height: 35px;
height: 3.5em;
}
table.grid tfoot a,
table.grid thead a
@ -168,39 +241,43 @@ table.grid tr.pair-row
}
td.grid-message
{
height: 80px;
height: 7.5em;
}
td.grid-message img
{
vertical-align: middle;
padding: 10px;
padding: 1em;
}
table.grid tbody td
{
padding-right: 8px;
padding-left: 8px;
padding-right: 0.8em;
padding-left: 0.8em;
}
input.cell-spin
{
width: 25px;
width: 2.5em;
text-align: right;
}
button.cell-button
{
margin: 6px;
margin: 0.5em;
border: none;
background-color: transparent;
}
button.cell-button img
{
height: 1.5em;
}
/* Calendar */
.calendar
{
width: 220px;
width: 20em;
background-color: white;
border: 1px solid #CCD;
border-radius: 2px;
box-shadow: 0px 2px 2px #AAA;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #AAA;
}
.calendar table
{
@ -214,7 +291,7 @@ button.cell-button
font-weight: normal;
vertical-align: middle;
text-align: center;
height: 30px;
height: 3em;
}
.calendar thead tr
{
@ -230,12 +307,12 @@ button.cell-button
}
.calendar tr
{
height: 22px;
height: 2em;
}
.calendar tbody td
{
text-align: right;
padding-right: 6px;
padding-right: 0.5em;
}
.calendar td.highlight,
.calendar td:hover,
@ -249,8 +326,8 @@ button.cell-button
.date-chooser button
{
margin: 0px;
margin-right: 8px;
margin: 0;
margin-right: 80.8em;
}
/* Full image */
@ -274,7 +351,7 @@ div.image-loader
}
div.image-loader img
{
padding: 10px;
padding: 1em;
}
/* Image editor */
@ -287,14 +364,14 @@ div.image-editor
{
background-color: white;
border: 1px solid #999;
border-radius: 2px;
padding: 12px;
width: 400px;
border-radius: 0.1em;
padding: 1.2em;
width: 35em;
}
div.image-editor h3
{
text-align: center;
padding-bottom: 10px;
padding-bottom: 1em;
}
div.image-editor iframe
{
@ -302,30 +379,13 @@ div.image-editor iframe
}
div.image-editor button
{
margin-left: 5px;
margin-right: 5px;
margin-left: 0.5em;
margin-right: 0.5em;
}
div.image-editor img
{
visibility: hidden;
vertical-align: middle;
padding-right: 10px;
padding-right: 1em;
}
/* Form */
table.form
{
border-collapse: separate;
border-spacing: 4px;
}
table.form td.label
{
text-align: right;
}
table.form tr
{
height: 35px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
width="226.229px"
height="31.038px"
viewBox="0 0 226.229 31.038"
enable-background="new 0 0 226.229 31.038"
xml:space="preserve"
id="svg2"
inkscape:version="0.48.5 r10040"
sodipodi:docname="verdnatura.svg"><metadata
id="metadata61"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs59" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1014"
id="namedview57"
showgrid="false"
inkscape:zoom="4.0755163"
inkscape:cx="139.05819"
inkscape:cy="16.509992"
inkscape:window-x="1920"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><g
id="Background" /><g
id="Guides" /><g
id="g9"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="M 10.417,30.321 0,0 h 8.233 l 4.26,15.582 0.349,1.276 c 0.521,1.866 0.918,3.431 1.191,4.693 0.15,-0.618 0.335,-1.345 0.555,-2.182 0.219,-0.837 0.528,-1.935 0.925,-3.293 L 19.981,0 h 8.19 l -10.5,30.321 h -7.254 z"
id="path11"
inkscape:connector-curvature="0"
style="fill-rule:evenodd;fill:#ffffff" /></g><g
id="g13"><path
clip-rule="evenodd"
d="m 139.809,19.787 c -0.665,0.357 -1.748,0.686 -3.25,0.988 -0.727,0.137 -1.283,0.254 -1.667,0.35 -0.95,0.247 -1.661,0.563 -2.134,0.947 -0.472,0.384 -0.799,0.899 -0.979,1.544 -0.223,0.796 -0.155,1.438 0.204,1.925 0.359,0.488 0.945,0.731 1.757,0.731 1.252,0 2.375,-0.36 3.369,-1.081 0.994,-0.721 1.653,-1.665 1.98,-2.831 l 0.72,-2.573 z m 5.106,10.534 h -7.458 c 0.017,-0.356 0.048,-0.726 0.094,-1.11 l 0.159,-1.192 c -1.318,1.026 -2.627,1.786 -3.927,2.279 -1.299,0.493 -2.643,0.739 -4.031,0.739 -2.158,0 -3.7,-0.593 -4.625,-1.779 -0.925,-1.187 -1.106,-2.788 -0.542,-4.804 0.519,-1.851 1.431,-3.356 2.737,-4.515 1.307,-1.159 3.021,-1.972 5.142,-2.438 1.169,-0.247 2.641,-0.515 4.413,-0.803 2.646,-0.412 4.082,-1.016 4.304,-1.812 l 0.151,-0.539 c 0.182,-0.65 0.076,-1.145 -0.317,-1.483 -0.393,-0.339 -1.071,-0.508 -2.033,-0.508 -1.045,0 -1.934,0.214 -2.666,0.643 -0.731,0.428 -1.289,1.058 -1.673,1.887 h -6.748 c 1.065,-2.53 2.64,-4.413 4.723,-5.65 2.083,-1.237 4.724,-1.856 7.923,-1.856 1.991,0 3.602,0.241 4.833,0.722 1.231,0.481 2.095,1.209 2.59,2.185 0.339,0.701 0.483,1.536 0.432,2.504 -0.052,0.969 -0.377,2.525 -0.978,4.669 l -2.375,8.483 c -0.284,1.014 -0.416,1.812 -0.396,2.395 0.02,0.583 0.188,0.962 0.503,1.141 l -0.235,0.842 z"
id="path15"
style="fill:#8ed300;fill-opacity:1;fill-rule:evenodd"
inkscape:connector-curvature="0" /></g><g
id="g17"><path
clip-rule="evenodd"
d="m 185.7,30.321 6.27,-22.393 h 7.049 l -1.097,3.918 c 1.213,-1.537 2.502,-2.659 3.867,-3.366 1.365,-0.707 2.951,-1.074 4.758,-1.101 l -2.03,7.25 c -0.304,-0.042 -0.608,-0.072 -0.912,-0.093 -0.303,-0.02 -0.592,-0.03 -0.867,-0.03 -1.126,0 -2.104,0.168 -2.932,0.504 -0.829,0.336 -1.561,0.854 -2.197,1.555 -0.406,0.467 -0.789,1.136 -1.149,2.007 -0.361,0.872 -0.814,2.282 -1.359,4.232 l -2.104,7.516 H 185.7 z"
id="path19"
style="fill:#8ed300;fill-opacity:1;fill-rule:evenodd"
inkscape:connector-curvature="0" /></g><g
id="g21"><path
clip-rule="evenodd"
d="m 217.631,19.787 c -0.664,0.357 -1.748,0.686 -3.25,0.988 -0.727,0.137 -1.282,0.254 -1.667,0.35 -0.95,0.247 -1.661,0.563 -2.134,0.947 -0.472,0.384 -0.799,0.899 -0.979,1.544 -0.223,0.796 -0.155,1.438 0.205,1.925 0.359,0.488 0.945,0.731 1.757,0.731 1.252,0 2.375,-0.36 3.369,-1.081 0.994,-0.721 1.654,-1.665 1.98,-2.831 l 0.719,-2.573 z m 5.106,10.534 h -7.458 c 0.017,-0.356 0.048,-0.726 0.094,-1.11 l 0.159,-1.192 c -1.318,1.026 -2.627,1.786 -3.927,2.279 -1.299,0.493 -2.643,0.739 -4.031,0.739 -2.158,0 -3.7,-0.593 -4.625,-1.779 -0.926,-1.187 -1.106,-2.788 -0.542,-4.804 0.519,-1.851 1.431,-3.356 2.737,-4.515 1.306,-1.159 3.02,-1.972 5.142,-2.438 1.169,-0.247 2.641,-0.515 4.413,-0.803 2.647,-0.412 4.082,-1.016 4.304,-1.812 l 0.151,-0.539 c 0.182,-0.65 0.077,-1.145 -0.317,-1.483 -0.393,-0.339 -1.071,-0.508 -2.033,-0.508 -1.045,0 -1.934,0.214 -2.666,0.643 -0.731,0.428 -1.289,1.058 -1.672,1.887 h -6.748 c 1.065,-2.53 2.64,-4.413 4.723,-5.65 2.083,-1.237 4.724,-1.856 7.923,-1.856 1.99,0 3.601,0.241 4.833,0.722 1.232,0.481 2.095,1.209 2.591,2.185 0.339,0.701 0.483,1.536 0.431,2.504 -0.051,0.969 -0.377,2.525 -0.978,4.669 l -2.375,8.483 c -0.284,1.014 -0.416,1.812 -0.396,2.395 0.02,0.583 0.188,0.962 0.503,1.141 l -0.236,0.842 z"
id="path23"
style="fill:#8ed300;fill-opacity:1;fill-rule:evenodd"
inkscape:connector-curvature="0" /></g><g
id="g25"><path
clip-rule="evenodd"
d="m 188.386,7.928 -6.269,22.393 h -7.174 l 0.864,-3.085 c -1.227,1.246 -2.476,2.163 -3.746,2.751 -1.27,0.588 -2.625,0.882 -4.067,0.882 -2.471,0 -4.154,-0.634 -5.048,-1.901 -0.895,-1.268 -0.993,-3.149 -0.294,-5.644 l 4.31,-15.396 h 7.338 l -3.508,12.53 c -0.516,1.842 -0.641,3.109 -0.375,3.803 0.266,0.694 0.967,1.041 2.105,1.041 1.275,0 2.323,-0.422 3.142,-1.267 0.819,-0.845 1.497,-2.223 2.031,-4.133 l 3.353,-11.974 h 7.338 z"
id="path27"
style="fill:#8ed300;fill-opacity:1;fill-rule:evenodd"
inkscape:connector-curvature="0" /></g><g
id="g29"><path
clip-rule="evenodd"
d="m 149.937,12.356 1.239,-4.428 h 2.995 l 1.771,-6.326 h 7.338 l -1.771,6.326 h 3.753 l -1.24,4.428 h -3.753 l -2.716,9.702 c -0.416,1.483 -0.498,2.465 -0.247,2.946 0.25,0.48 0.905,0.721 1.964,0.721 l 0.549,-0.011 0.39,-0.031 -1.31,4.678 c -0.811,0.148 -1.596,0.263 -2.354,0.344 -0.758,0.081 -1.48,0.122 -2.167,0.122 -2.543,0 -4.108,-0.621 -4.695,-1.863 -0.587,-1.242 -0.313,-3.887 0.82,-7.936 l 2.428,-8.672 h -2.994 z"
id="path31"
style="fill:#8ed300;fill-opacity:1;fill-rule:evenodd"
inkscape:connector-curvature="0" /></g><g
id="g33"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="m 73.875,18.896 c -0.561,2.004 -0.616,3.537 -0.167,4.601 0.449,1.064 1.375,1.595 2.774,1.595 1.399,0 2.605,-0.524 3.62,-1.574 1.015,-1.05 1.806,-2.59 2.375,-4.622 0.526,-1.879 0.556,-3.334 0.09,-4.363 -0.466,-1.029 -1.393,-1.543 -2.778,-1.543 -1.304,0 -2.487,0.528 -3.551,1.585 -1.064,1.057 -1.852,2.496 -2.363,4.321 z M 96.513,0 88.024,30.321 h -7.337 l 0.824,-2.944 c -1.166,1.22 -2.369,2.121 -3.61,2.703 -1.241,0.582 -2.583,0.874 -4.025,0.874 -2.802,0 -4.772,-1.081 -5.912,-3.243 -1.139,-2.162 -1.218,-4.993 -0.238,-8.493 0.988,-3.528 2.668,-6.404 5.042,-8.627 2.374,-2.224 4.927,-3.336 7.661,-3.336 1.47,0 2.695,0.296 3.676,0.887 0.981,0.591 1.681,1.465 2.099,2.62 L 89.217,0 h 7.296 z"
id="path35"
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-rule:evenodd" /><g
id="g37"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="m 73.875,18.896 c -0.561,2.004 -0.616,3.537 -0.167,4.601 0.449,1.064 1.375,1.595 2.774,1.595 1.399,0 2.605,-0.524 3.62,-1.574 1.015,-1.05 1.806,-2.59 2.375,-4.622 0.526,-1.879 0.556,-3.334 0.09,-4.363 -0.466,-1.029 -1.393,-1.543 -2.778,-1.543 -1.304,0 -2.487,0.528 -3.551,1.585 -1.064,1.057 -1.852,2.496 -2.363,4.321 z M 96.513,0 88.024,30.321 h -7.337 l 0.824,-2.944 c -1.166,1.22 -2.369,2.121 -3.61,2.703 -1.241,0.582 -2.583,0.874 -4.025,0.874 -2.802,0 -4.772,-1.081 -5.912,-3.243 -1.139,-2.162 -1.218,-4.993 -0.238,-8.493 0.988,-3.528 2.668,-6.404 5.042,-8.627 2.374,-2.224 4.927,-3.336 7.661,-3.336 1.47,0 2.695,0.296 3.676,0.887 0.981,0.591 1.681,1.465 2.099,2.62 L 89.217,0 h 7.296 z"
id="path39"
inkscape:connector-curvature="0"
style="fill-rule:evenodd;fill:#ffffff" /></g></g><g
id="g41"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="M 46.488,30.321 52.757,7.928 h 7.049 l -1.098,3.918 C 59.921,10.309 61.21,9.187 62.576,8.48 63.942,7.773 68.591,7.406 70.398,7.379 l -2.03,7.25 c -0.304,-0.042 -0.608,-0.072 -0.911,-0.093 -0.304,-0.02 -0.592,-0.03 -0.867,-0.03 -1.126,0 -5.167,0.168 -5.997,0.504 -0.829,0.336 -1.561,0.854 -2.196,1.555 -0.406,0.467 -0.789,1.136 -1.149,2.007 -0.361,0.872 -0.814,2.282 -1.36,4.232 l -2.104,7.516 h -7.296 z"
id="path43"
inkscape:connector-curvature="0"
style="fill-rule:evenodd;fill:#ffffff" /></g><g
id="g45"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="m 32.673,16.742 8.351,-0.021 c 0.375,-1.436 0.308,-2.558 -0.201,-3.365 -0.509,-0.807 -1.402,-1.211 -2.68,-1.211 -1.209,0 -2.285,0.397 -3.229,1.19 -0.944,0.793 -1.69,1.93 -2.241,3.407 z m 6.144,6.536 h 7.043 c -1.347,2.456 -3.172,4.356 -5.477,5.7 -2.305,1.345 -4.885,2.017 -7.74,2.017 -3.473,0 -5.923,-1.054 -7.351,-3.161 -1.427,-2.107 -1.632,-4.98 -0.613,-8.618 1.038,-3.707 2.875,-6.641 5.512,-8.803 2.637,-2.163 5.678,-3.244 9.123,-3.244 3.555,0 6.04,1.099 7.456,3.298 1.417,2.198 1.582,5.234 0.498,9.109 l -0.239,0.814 -0.167,0.484 H 31.721 c -0.441,1.575 -0.438,2.777 0.01,3.606 0.448,0.829 1.332,1.244 2.65,1.244 0.975,0 1.836,-0.206 2.583,-0.617 0.747,-0.411 1.366,-1.021 1.853,-1.829 z"
id="path47"
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-rule:evenodd" /><g
id="g49"
style="fill:#ffffff"><path
clip-rule="evenodd"
d="m 32.673,16.742 8.351,-0.021 c 0.375,-1.436 0.308,-2.558 -0.201,-3.365 -0.509,-0.807 -1.402,-1.211 -2.68,-1.211 -1.209,0 -2.285,0.397 -3.229,1.19 -0.944,0.793 -1.69,1.93 -2.241,3.407 z m 6.144,6.536 h 7.043 c -1.347,2.456 -3.172,4.356 -5.477,5.7 -2.305,1.345 -4.885,2.017 -7.74,2.017 -3.473,0 -5.923,-1.054 -7.351,-3.161 -1.427,-2.107 -1.632,-4.98 -0.613,-8.618 1.038,-3.707 2.875,-6.641 5.512,-8.803 2.637,-2.163 5.678,-3.244 9.123,-3.244 3.555,0 6.04,1.099 7.456,3.298 1.417,2.198 1.582,5.234 0.498,9.109 l -0.239,0.814 -0.167,0.484 H 31.721 c -0.441,1.575 -0.438,2.777 0.01,3.606 0.448,0.829 1.332,1.244 2.65,1.244 0.975,0 1.836,-0.206 2.583,-0.617 0.747,-0.411 1.366,-1.021 1.853,-1.829 z"
id="path51"
inkscape:connector-curvature="0"
style="fill-rule:evenodd;fill:#ffffff" /></g></g><g
id="g53"><path
d="m 112.881,30.643 -6.404,-18.639 -6.455,18.639 h -7.254 l 9.565,-30.321 h 8.19 l 4.434,15.582 0.35,1.276 c 0.521,1.866 0.917,3.431 1.191,4.693 l 0.555,-2.182 c 0.219,-0.837 0.528,-1.935 0.925,-3.293 l 4.468,-16.076 h 8.19 l -10.501,30.321 h -7.254 z"
id="path55"
style="fill:#8ed300;fill-opacity:1"
inkscape:connector-curvature="0" /></g></svg>

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,166 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
width="226.229px"
height="31.038px"
viewBox="0 0 226.229 31.038"
enable-background="new 0 0 226.229 31.038"
xml:space="preserve"
id="svg2"
inkscape:version="0.48.1 r9760"
sodipodi:docname="logo.svg"><metadata
id="metadata61"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs59" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="710"
id="namedview57"
showgrid="false"
inkscape:zoom="4.0755163"
inkscape:cx="138.56745"
inkscape:cy="16.509992"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<g
id="Background">
</g>
<g
id="Guides">
</g>
<g
id="Foreground">
<g
id="g7">
<g
id="g9">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M10.417,30.321L0,0h8.233l4.26,15.582l0.349,1.276 c0.521,1.866,0.918,3.431,1.191,4.693c0.15-0.618,0.335-1.345,0.555-2.182c0.219-0.837,0.528-1.935,0.925-3.293L19.981,0h8.19 L17.671,30.321H10.417z"
id="path11" />
</g>
<g
id="g13">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#A0CE67"
d="M139.809,19.787c-0.665,0.357-1.748,0.686-3.25,0.988 c-0.727,0.137-1.283,0.254-1.667,0.35c-0.95,0.247-1.661,0.563-2.134,0.947c-0.472,0.384-0.799,0.899-0.979,1.544 c-0.223,0.796-0.155,1.438,0.204,1.925c0.359,0.488,0.945,0.731,1.757,0.731c1.252,0,2.375-0.36,3.369-1.081 c0.994-0.721,1.653-1.665,1.98-2.831L139.809,19.787z M144.915,30.321h-7.458c0.017-0.356,0.048-0.726,0.094-1.11l0.159-1.192 c-1.318,1.026-2.627,1.786-3.927,2.279c-1.299,0.493-2.643,0.739-4.031,0.739c-2.158,0-3.7-0.593-4.625-1.779 c-0.925-1.187-1.106-2.788-0.542-4.804c0.519-1.851,1.431-3.356,2.737-4.515c1.307-1.159,3.021-1.972,5.142-2.438 c1.169-0.247,2.641-0.515,4.413-0.803c2.646-0.412,4.082-1.016,4.304-1.812l0.151-0.539c0.182-0.65,0.076-1.145-0.317-1.483 c-0.393-0.339-1.071-0.508-2.033-0.508c-1.045,0-1.934,0.214-2.666,0.643c-0.731,0.428-1.289,1.058-1.673,1.887h-6.748 c1.065-2.53,2.64-4.413,4.723-5.65s4.724-1.856,7.923-1.856c1.991,0,3.602,0.241,4.833,0.722s2.095,1.209,2.59,2.185 c0.339,0.701,0.483,1.536,0.432,2.504c-0.052,0.969-0.377,2.525-0.978,4.669l-2.375,8.483c-0.284,1.014-0.416,1.812-0.396,2.395 s0.188,0.962,0.503,1.141L144.915,30.321z"
id="path15"
style="fill:#8ed300;fill-opacity:1" />
</g>
<g
id="g17">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#A0CE67"
d="M185.7,30.321l6.27-22.393h7.049l-1.097,3.918 c1.213-1.537,2.502-2.659,3.867-3.366c1.365-0.707,2.951-1.074,4.758-1.101l-2.03,7.25c-0.304-0.042-0.608-0.072-0.912-0.093 c-0.303-0.02-0.592-0.03-0.867-0.03c-1.126,0-2.104,0.168-2.932,0.504c-0.829,0.336-1.561,0.854-2.197,1.555 c-0.406,0.467-0.789,1.136-1.149,2.007c-0.361,0.872-0.814,2.282-1.359,4.232l-2.104,7.516H185.7z"
id="path19"
style="fill:#8ed300;fill-opacity:1" />
</g>
<g
id="g21">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#A0CE67"
d="M217.631,19.787c-0.664,0.357-1.748,0.686-3.25,0.988 c-0.727,0.137-1.282,0.254-1.667,0.35c-0.95,0.247-1.661,0.563-2.134,0.947c-0.472,0.384-0.799,0.899-0.979,1.544 c-0.223,0.796-0.155,1.438,0.205,1.925c0.359,0.488,0.945,0.731,1.757,0.731c1.252,0,2.375-0.36,3.369-1.081 c0.994-0.721,1.654-1.665,1.98-2.831L217.631,19.787z M222.737,30.321h-7.458c0.017-0.356,0.048-0.726,0.094-1.11l0.159-1.192 c-1.318,1.026-2.627,1.786-3.927,2.279c-1.299,0.493-2.643,0.739-4.031,0.739c-2.158,0-3.7-0.593-4.625-1.779 c-0.926-1.187-1.106-2.788-0.542-4.804c0.519-1.851,1.431-3.356,2.737-4.515c1.306-1.159,3.02-1.972,5.142-2.438 c1.169-0.247,2.641-0.515,4.413-0.803c2.647-0.412,4.082-1.016,4.304-1.812l0.151-0.539c0.182-0.65,0.077-1.145-0.317-1.483 c-0.393-0.339-1.071-0.508-2.033-0.508c-1.045,0-1.934,0.214-2.666,0.643c-0.731,0.428-1.289,1.058-1.672,1.887h-6.748 c1.065-2.53,2.64-4.413,4.723-5.65s4.724-1.856,7.923-1.856c1.99,0,3.601,0.241,4.833,0.722s2.095,1.209,2.591,2.185 c0.339,0.701,0.483,1.536,0.431,2.504c-0.051,0.969-0.377,2.525-0.978,4.669l-2.375,8.483c-0.284,1.014-0.416,1.812-0.396,2.395 c0.02,0.583,0.188,0.962,0.503,1.141L222.737,30.321z"
id="path23"
style="fill:#8ed300;fill-opacity:1" />
</g>
<g
id="g25">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#A0CE67"
d="M188.386,7.928l-6.269,22.393h-7.174l0.864-3.085 c-1.227,1.246-2.476,2.163-3.746,2.751s-2.625,0.882-4.067,0.882c-2.471,0-4.154-0.634-5.048-1.901 c-0.895-1.268-0.993-3.149-0.294-5.644l4.31-15.396h7.338l-3.508,12.53c-0.516,1.842-0.641,3.109-0.375,3.803 s0.967,1.041,2.105,1.041c1.275,0,2.323-0.422,3.142-1.267c0.819-0.845,1.497-2.223,2.031-4.133l3.353-11.974H188.386z"
id="path27"
style="fill:#8ed300;fill-opacity:1" />
</g>
<g
id="g29">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#A0CE67"
d="M149.937,12.356l1.239-4.428h2.995l1.771-6.326h7.338 l-1.771,6.326h3.753l-1.24,4.428h-3.753l-2.716,9.702c-0.416,1.483-0.498,2.465-0.247,2.946c0.25,0.48,0.905,0.721,1.964,0.721 l0.549-0.011l0.39-0.031l-1.31,4.678c-0.811,0.148-1.596,0.263-2.354,0.344c-0.758,0.081-1.48,0.122-2.167,0.122 c-2.543,0-4.108-0.621-4.695-1.863c-0.587-1.242-0.313-3.887,0.82-7.936l2.428-8.672H149.937z"
id="path31"
style="fill:#8ed300;fill-opacity:1" />
</g>
<g
id="g33">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#FFFFFF"
d="M73.875,18.896c-0.561,2.004-0.616,3.537-0.167,4.601 s1.375,1.595,2.774,1.595c1.399,0,2.605-0.524,3.62-1.574s1.806-2.59,2.375-4.622c0.526-1.879,0.556-3.334,0.09-4.363 c-0.466-1.029-1.393-1.543-2.778-1.543c-1.304,0-2.487,0.528-3.551,1.585S74.386,17.071,73.875,18.896z M96.513,0l-8.489,30.321 h-7.337l0.824-2.944c-1.166,1.22-2.369,2.121-3.61,2.703s-2.583,0.874-4.025,0.874c-2.802,0-4.772-1.081-5.912-3.243 c-1.139-2.162-1.218-4.993-0.238-8.493c0.988-3.528,2.668-6.404,5.042-8.627c2.374-2.224,4.927-3.336,7.661-3.336 c1.47,0,2.695,0.296,3.676,0.887c0.981,0.591,1.681,1.465,2.099,2.62L89.217,0H96.513z"
id="path35" />
<g
id="g37">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M73.875,18.896c-0.561,2.004-0.616,3.537-0.167,4.601s1.375,1.595,2.774,1.595 c1.399,0,2.605-0.524,3.62-1.574s1.806-2.59,2.375-4.622c0.526-1.879,0.556-3.334,0.09-4.363 c-0.466-1.029-1.393-1.543-2.778-1.543c-1.304,0-2.487,0.528-3.551,1.585S74.386,17.071,73.875,18.896z M96.513,0l-8.489,30.321 h-7.337l0.824-2.944c-1.166,1.22-2.369,2.121-3.61,2.703s-2.583,0.874-4.025,0.874c-2.802,0-4.772-1.081-5.912-3.243 c-1.139-2.162-1.218-4.993-0.238-8.493c0.988-3.528,2.668-6.404,5.042-8.627c2.374-2.224,4.927-3.336,7.661-3.336 c1.47,0,2.695,0.296,3.676,0.887c0.981,0.591,1.681,1.465,2.099,2.62L89.217,0H96.513z"
id="path39" />
</g>
</g>
<g
id="g41">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M46.488,30.321l6.269-22.393h7.049l-1.098,3.918 c1.213-1.537,2.502-2.659,3.868-3.366s6.015-1.074,7.822-1.101l-2.03,7.25c-0.304-0.042-0.608-0.072-0.911-0.093 c-0.304-0.02-0.592-0.03-0.867-0.03c-1.126,0-5.167,0.168-5.997,0.504c-0.829,0.336-1.561,0.854-2.196,1.555 c-0.406,0.467-0.789,1.136-1.149,2.007c-0.361,0.872-0.814,2.282-1.36,4.232l-2.104,7.516H46.488z"
id="path43" />
</g>
<g
id="g45">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#FFFFFF"
d="M32.673,16.742l8.351-0.021 c0.375-1.436,0.308-2.558-0.201-3.365s-1.402-1.211-2.68-1.211c-1.209,0-2.285,0.397-3.229,1.19S33.224,15.265,32.673,16.742z M38.817,23.278h7.043c-1.347,2.456-3.172,4.356-5.477,5.7c-2.305,1.345-4.885,2.017-7.74,2.017 c-3.473,0-5.923-1.054-7.351-3.161c-1.427-2.107-1.632-4.98-0.613-8.618c1.038-3.707,2.875-6.641,5.512-8.803 c2.637-2.163,5.678-3.244,9.123-3.244c3.555,0,6.04,1.099,7.456,3.298c1.417,2.198,1.582,5.234,0.498,9.109l-0.239,0.814 l-0.167,0.484H31.721c-0.441,1.575-0.438,2.777,0.01,3.606c0.448,0.829,1.332,1.244,2.65,1.244c0.975,0,1.836-0.206,2.583-0.617 S38.33,24.086,38.817,23.278z"
id="path47" />
<g
id="g49">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M32.673,16.742l8.351-0.021c0.375-1.436,0.308-2.558-0.201-3.365 s-1.402-1.211-2.68-1.211c-1.209,0-2.285,0.397-3.229,1.19S33.224,15.265,32.673,16.742z M38.817,23.278h7.043 c-1.347,2.456-3.172,4.356-5.477,5.7c-2.305,1.345-4.885,2.017-7.74,2.017c-3.473,0-5.923-1.054-7.351-3.161 c-1.427-2.107-1.632-4.98-0.613-8.618c1.038-3.707,2.875-6.641,5.512-8.803c2.637-2.163,5.678-3.244,9.123-3.244 c3.555,0,6.04,1.099,7.456,3.298c1.417,2.198,1.582,5.234,0.498,9.109l-0.239,0.814l-0.167,0.484H31.721 c-0.441,1.575-0.438,2.777,0.01,3.606c0.448,0.829,1.332,1.244,2.65,1.244c0.975,0,1.836-0.206,2.583-0.617 S38.33,24.086,38.817,23.278z"
id="path51" />
</g>
</g>
<g
id="g53">
<path
fill="#A0CE67"
d="M112.881,30.643l-6.404-18.639l-6.455,18.639h-7.254l9.565-30.321h8.19l4.434,15.582l0.35,1.276 c0.521,1.866,0.917,3.431,1.191,4.693l0.555-2.182c0.219-0.837,0.528-1.935,0.925-3.293l4.468-16.076h8.19l-10.501,30.321 H112.881z"
id="path55"
style="fill:#8ed300;fill-opacity:1" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -0,0 +1,161 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="menu.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.48.5 r10040"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-nodes="false"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer12"
inkscape:cx="4.8598245"
inkscape:cy="8.2412188"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="false"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1014"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="1920"
inkscape:window-y="27"
inkscape:zoom="57.698681">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="180px"
originy="732.00001px"
snapvisiblegridlinesonly="true"
spacingx="1px"
spacingy="1px"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-61.0002,-949.00001)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-61.0002,-949.00001)">
<rect
height="2.0002136"
id="rect7356"
inkscape:label="a"
style="color:#bebebe;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
width="9.9996014"
x="64.000397"
y="951.99982" />
<rect
height="2.0002136"
id="rect7358"
inkscape:label="a"
style="color:#bebebe;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
width="9.9996014"
x="64.000397"
y="955.99982" />
<rect
height="2.0002136"
id="rect7360"
inkscape:label="a"
style="color:#bebebe;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
width="9.9996014"
x="64.000397"
y="959.99982" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg7384"
sodipodi:docname="show.svg"
version="1.1"
inkscape:version="0.48.5 r10040"
height="16"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:cy="6.1661"
pagecolor="#555753"
borderopacity="1"
showborder="false"
inkscape:bbox-paths="false"
guidetolerance="10"
inkscape:object-paths="true"
inkscape:window-width="1296"
showguides="true"
inkscape:object-nodes="true"
inkscape:snap-bbox="true"
inkscape:pageshadow="2"
inkscape:guide-bbox="true"
inkscape:snap-nodes="false"
bordercolor="#666666"
objecttolerance="10"
id="namedview88"
showgrid="true"
inkscape:window-maximized="0"
inkscape:window-x="68"
inkscape:snap-global="true"
inkscape:window-y="27"
gridtolerance="10"
inkscape:window-height="701"
inkscape:snap-to-guides="true"
inkscape:current-layer="layer12"
inkscape:snap-bbox-midpoints="false"
inkscape:zoom="65.25"
inkscape:cx="6.9833509"
inkscape:snap-grids="true"
inkscape:pageopacity="1">
<inkscape:grid
spacingx="1px"
spacingy="1px"
id="grid4866"
empspacing="2"
enabled="true"
type="xygrid"
snapvisiblegridlinesonly="true"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:label="status"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer9"
style="display:inline" />
<g
inkscape:label="devices"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer10" />
<g
inkscape:label="apps"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer11" />
<g
inkscape:label="actions"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer12">
<path
inkscape:connector-curvature="0"
d="m 146.50761,646.99554 c -3.02886,0 -5.51073,2.47905 -5.51073,5.50447 0,3.02541 2.48187,5.50446 5.51073,5.50446 3.02885,0 5.51072,-2.47905 5.51072,-5.50446 0,-3.02542 -2.48187,-5.50447 -5.51072,-5.50447 z m 0,2.00893 c 1.94735,0 3.49951,1.55039 3.49951,3.49554 0,1.94514 -1.55216,3.49553 -3.49951,3.49553 -1.94736,0 -3.49952,-1.55039 -3.49952,-3.49553 0,-1.94515 1.55216,-3.49554 3.49952,-3.49554 z"
id="path27918"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#333333;fill-opacity:1;stroke:none;stroke-width:1.55467153000000002;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;font-family:Sans;-inkscape-font-specification:Sans" />
<path
inkscape:connector-curvature="0"
d="m 149.8125,655 a 1.0001,1.0001 0 0 0 -0.5,1.71875 l 4,4 a 1.0054782,1.0054782 0 1 0 1.40625,-1.4375 l -4,-4 A 1.0001,1.0001 0 0 0 149.8125,655 z"
id="path27941"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#333333;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;font-family:Sans;-inkscape-font-specification:Sans" />
</g>
<g
inkscape:label="places"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer13" />
<g
inkscape:label="mimetypes"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer14" />
<g
inkscape:label="emblems"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="layer15"
style="display:inline" />
<g
inkscape:label="categories"
transform="translate(-140.0002,-645.96875)"
inkscape:groupmode="layer"
id="g4953"
style="display:inline" />
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -11,7 +11,7 @@ Web::init ();
if ($conf['https'] && (!isset ($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != 'on'))
{
header ('Location: https://'.$_SERVER['SERVER_NAME']);
header ("Location: https://${_SERVER['SERVER_NAME']}${_SERVER['REQUEST_URI']}");
exit (0);
}
@ -21,7 +21,7 @@ if (!Web::$sysConn->isOpen ())
exit (0);
}
// Getting the page
// Getting the requested page
if (isset ($_GET['page']) && Vn\Hedera\checkToken ($_GET['page']))
$page = $_GET['page'];
@ -56,7 +56,7 @@ if (!isset ($_SESSION['skipBrowser']) && $page != 'update-browser')
$_SESSION['skipBrowser'] = TRUE;
}
// Loading the page
// Loading the requested page
$basePath = 'pages/'. $page;

View File

@ -125,7 +125,7 @@ Htk.Calendar = new Class
{
if (year)
this.year = year;
if (month)
if (!isNaN (month))
this.month = month;
this.refresh ();

View File

@ -21,7 +21,7 @@ Htk.ImageEditor = new Class
var form = document.createElement ('form');
form.method = 'post';
form.action = 'ajax.php?action=image';
form.action = 'rest.php?action=image';
form.target = 'image-editor';
form.enctype = 'multipart/form-data';
form.addEventListener ('submit', this.formSubmit.bind (this));
@ -119,18 +119,17 @@ Htk.ImageEditor = new Class
{
this.submitButton.disabled = false;
this.loader.style.visibility = 'hidden';
var text = iframe.contentDocument.body.textContent;
if (!text)
return;
if (text != 1)
{
alert (text);
return;
}
try {
var responseText = iframe.contentDocument.body.textContent;
var response = eval ('('+ responseText +')');
if (response.data)
this.signalEmit ('file-uploaded', this.nameInput.value);
else
alert (response.error.message +' ('+ response.error.code +')');
}
catch (e) {}
}
,nameChanged: function ()

View File

@ -12,7 +12,7 @@ Vn.Locale =
if (!this.language)
{
var language = navigator.language.substr (0, 2);
this.language = language ? language : 'en';
this.language = language ? language : 'es';
}
var file = 'locale/'+ this.language +'/'+ path +'.json'

View File

@ -8,6 +8,7 @@ var Vn =
,cssIncludes: {}
,customTags: {}
,head: document.getElementsByTagName ('head')[0]
,isMobileCached: null
/**
* Includes a new CSS stylesheet in the current document, if the stylesheet
@ -124,6 +125,21 @@ var Vn =
includeData.callbacks = null;
}
,isMobile: function ()
{
if (this.isMobileCached === null)
this.isMobileCached =
navigator.userAgent.match (/Android/i)
|| navigator.userAgent.match (/webOS/i)
|| navigator.userAgent.match (/iPhone/i)
|| navigator.userAgent.match (/iPad/i)
|| navigator.userAgent.match (/iPod/i)
|| navigator.userAgent.match (/BlackBerry/i)
|| navigator.userAgent.match (/Windows Phone/i);
return this.isMobileCached;
}
,get: function (id)
{
return document.getElementById (id);

View File

@ -7,5 +7,5 @@
,"Password": "Contrasenya:"
,"Email": "Correu electrònic:"
,"Billing": "Facturació"
,"BillingByEmail": "Enviar factures per correu electrònic"
,"BillingByEmail": "Enviar factures per correu electrònic:"
}

View File

@ -0,0 +1,9 @@
{
"ListByAgency": "Paquets per agència"
,"ShowByProvince": "Mostrar desglose per província"
,"Agency": "Agència"
,"Exps": "Exps."
,"Bundles": "Paquets"
,"Prevision": "Prev."
}

Some files were not shown because too many files have changed in this diff Show More